/* Custom styles for Inbit Interview System */

/* Logo sizing */
.logo-container img {
    max-height: 60px;
}

/* Timer warning animation */
.timer-warning {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { color: red; }
    50% { color: darkred; }
    100% { color: red; }
}

/* Form styling */
textarea, input[type="text"], input[type="number"], input[type="password"] {
    transition: border-color 0.2s ease-in-out;
}

textarea:focus, input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Question styling */
.question-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.question-item:last-child {
    border-bottom: none;
}

/* Admin dashboard */
.dashboard-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Stats cards */
.stat-card {
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-card-electrician {
    background-color: #DBEAFE;
    border-left: 4px solid #3B82F6;
}

.stat-card-finisor {
    background-color: #ECFDF5;
    border-left: 4px solid #10B981;
}

.stat-card-instalator {
    background-color: #FEF3C7;
    border-left: 4px solid #F59E0B;
}

.stat-card-lacatus {
    background-color: #FEE2E2;
    border-left: 4px solid #EF4444;
}

.stat-card-sudor {
    background-color: #EDE9FE;
    border-left: 4px solid #8B5CF6;
}

/* Results visualization */
.score-indicator {
    height: 12px;
    border-radius: 6px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.score-value {
    height: 100%;
    border-radius: 6px;
}

.score-low {
    background-color: #EF4444;
}

.score-medium {
    background-color: #F59E0B;
}

.score-high {
    background-color: #10B981;
}

/* Modal animation */
.modal-container {
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    transition: transform 0.3s ease-in-out;
}

/* Print styles */
@media print {
    header, nav, footer, .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    h1 {
        font-size: 18pt;
        margin-bottom: 1cm;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    .page-break-after {
        page-break-after: always;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container img {
        max-height: 50px;
    }
    
    h1 {
        font-size: 1.2rem;
    }
}