* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-size: 0.8rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.client-card {
    transition: all 0.3s ease;
    border: none;
    background: white;
    border-radius: 12px;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.client-icon {
    color: #0d6efd;
}

.scorecard-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.form-label {
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control, .form-select {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-control-sm {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

.table {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 0.6rem 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
    border: none;
}

.table td {
    padding: 0.5rem;
    vertical-align: middle;
    border-color: #dee2e6;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.score-cell {
    background-color: #e7f3ff;
    font-weight: 700;
    color: #0d6efd;
    font-size: 0.85rem;
}

.section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
}

.score-display {
    background: linear-gradient(135deg, #e7f3ff 0%, #d0e7ff 100%);
    border-left: 5px solid #0d6efd;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.15);
}

.result-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.result-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item strong {
    font-weight: 700;
}

.meets-expectations-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    display: inline-block;
}

.partially-meets-badge {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
    display: inline-block;
}

.does-not-meet-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    display: inline-block;
}

/* Keep old classes for backward compatibility */
.pass-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    display: inline-block;
}

.fail-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    display: inline-block;
}

.btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 117, 125, 0.4);
}

.btn-lg {
    padding: 0.8rem 2.5rem;
    font-size: 0.9rem;
}

input[type="number"] {
    max-width: 120px;
}

.comment-input {
    font-size: 0.75rem;
    min-height: 50px;
    resize: vertical;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

h5 {
    color: #495057;
    font-size: 1rem;
}

h6 {
    font-size: 0.85rem;
    color: #6c757d;
}

.display-4 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
}

.lead {
    font-size: 1rem;
    color: #6c757d;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.card-text {
    font-size: 0.85rem;
    color: #6c757d;
}

input[type="radio"] {
    margin-right: 0.4rem;
    cursor: pointer;
}

label {
    cursor: pointer;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.alert {
    border-radius: 8px;
    border: none;
    font-size: 0.8rem;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

@media print {
    .navbar, .btn {
        display: none;
    }

    body {
        font-size: 9pt;
        background: white;
    }

    .scorecard-container {
        box-shadow: none;
    }

    .section-header {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 768px) {
    .scorecard-container {
        padding: 1rem;
    }

    .table {
        font-size: 0.7rem;
    }

    .form-control-sm {
        font-size: 0.7rem;
    }
}

