* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    min-height: 100vh;
    color: #e5e7eb;
    overflow-x: hidden;
}

        .glass-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .glass-container:hover {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .header {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            padding: 1rem 2rem;
            position: relative;
            border-radius: 18px;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #60a5fa;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }

        .nav-link:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .main-content {
            padding: 2rem 0;
            max-width: 1280px;
            margin: 0 auto;
        }

        .page-header {
            margin-bottom: 2rem;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #60a5fa, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-subtitle {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
        }

        .assessment-controls {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .control-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .control-label {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
        }

        .form-input, .form-select {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0.75rem;
            color: white;
            font-size: 1rem;
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .btn {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border: none;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #6b7280, #374151);
        }

        .btn-export {
            background: linear-gradient(135deg, #059669, #047857);
        }

        .btn-danger {
            background: linear-gradient(135deg, #dc2626, #991b1b);
        }

        .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .summary-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s;
        }

        .summary-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .summary-value {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .summary-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        .summary-change {
            font-size: 0.8rem;
            margin-top: 0.25rem;
        }

        .positive { color: #10b981; }
        .negative { color: #ef4444; }
        .neutral { color: #fbbf24; }

        .assessment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .assessment-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all 0.3s;
        }

        .assessment-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-4px);
        }

        .assessment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .assessment-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: white;
        }

        .assessment-type {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .chart-container {
            height: 300px;
            margin: 1rem 0;
        }

        .tabs {
            display: flex;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 2rem;
        }

        .tab {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            padding: 1rem 2rem;
            cursor: pointer;
            transition: all 0.3s;
            border-bottom: 2px solid transparent;
        }

        .tab.active {
            color: white;
            border-bottom-color: #60a5fa;
        }

        .tab:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .candidates-table {
            width: 100%;
            border-collapse: collapse;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            overflow: hidden;
        }

        .candidates-table th {
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .candidates-table td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .candidates-table tr:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .score-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .score-excellent { background: rgba(16, 185, 129, 0.2); color: #10b981; }
        .score-good { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
        .score-average { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
        .score-poor { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

        .detailed-report {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
        }

        .report-section {
            margin-bottom: 2rem;
        }

        .report-section h4 {
            color: #60a5fa;
            margin-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 0.5rem;
        }

        .competency-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .competency-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: 8px;
        }

        .competency-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .competency-score {
            font-size: 1.5rem;
            font-weight: bold;
            color: #60a5fa;
        }

        .action-buttons {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 7rem 1rem 2rem;
            }

            .assessment-grid {
                grid-template-columns: 1fr;
            }

            .summary-cards {
                grid-template-columns: repeat(2, 1fr);
            }

            .nav-links {
                display: none;
            }
        }

/* Candidate report styles */
:root {
            --bg: #0b0f17;
            --card: #121826;
            --text: #eaf0ff;
            --muted: #a9b4c7;
            --line: #263045;
            --brand: #2b72ff;
            --brand-2: #7aa3ff;
            --ok: #21c87a;
            --warn: #ffcc66;
            --error: #ff5757;
            --purple: #8b5cf6;
            --orange: #f97316;
            --maxw: 1400px;
            --radius: 16px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
            background: transparent;
            color: var(--text);
            min-height: 100vh;
            line-height: 1.6;
        }

        .container {
            max-width: var(--maxw);
            margin: 0 auto;
            padding: 24px;
        }

        .glass-header {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .header-content h1 {
            margin: 0 0 8px 0;
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--text), var(--brand-2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-content p {
            margin: 0;
            color: var(--muted);
        }

        .btn {
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text);
            border: 1px solid var(--line);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--brand);
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }

        .candidate-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .candidate-name {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 12px;
        }

        .candidate-details {
            display: flex;
            gap: 16px;
            color: var(--muted);
            flex-wrap: wrap;
        }

        .score-display {
            text-align: right;
        }

        .overall-score {
            font-size: 3rem;
            font-weight: 800;
            color: var(--ok);
            line-height: 1;
            margin-bottom: 8px;
        }

        .score-label {
            color: var(--muted);
            font-size: 14px;
        }

        .candidate-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-label {
            color: var(--muted);
            font-weight: 500;
        }

        .info-value {
            color: var(--text);
            font-weight: 600;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            border-color: rgba(43, 114, 255, 0.4);
            box-shadow: 0 8px 25px rgba(43, 114, 255, 0.15);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: var(--ok);
        }

        .stat-label {
            color: var(--muted);
            font-size: 14px;
            font-weight: 500;
        }

        .report-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            margin-bottom: 32px;
        }

        .section-breakdown {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
        }

        .section-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 24px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .section-name {
            font-weight: 600;
            color: var(--text);
        }

        .section-score {
            color: var(--ok);
            font-weight: 700;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: var(--line);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 16px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--ok), var(--brand-2));
            transition: width 0.3s ease;
        }

        .responses {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .response-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
        }

        .response-question {
            color: var(--muted);
        }

        .response-points {
            color: var(--brand-2);
            font-weight: 600;
        }

        .assessment-summary {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .summary-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 24px;
        }

        .summary-title {
            font-weight: 600;
            color: var(--text);
            margin-bottom: 12px;
        }

        .summary-text {
            color: var(--muted);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .recommendations {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .recommendation-item {
            color: var(--muted);
            font-size: 14px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
        }

        .actions-section {
            margin-top: 24px;
        }

        .actions-title {
            font-weight: 600;
            color: var(--text);
            margin-bottom: 16px;
        }

        .actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn-sm {
            padding: 10px 16px;
            font-size: 14px;
            border-radius: 8px;
        }

        .btn-blue { background: rgba(59, 130, 246, 0.8); color: white; }
        .btn-blue:hover { background: rgba(59, 130, 246, 1); }

        .btn-red { background: rgba(239, 68, 68, 0.8); color: white; }
        .btn-red:hover { background: rgba(239, 68, 68, 1); }

        .btn-yellow { background: rgba(245, 158, 11, 0.8); color: white; }
        .btn-yellow:hover { background: rgba(245, 158, 11, 1); }

        .btn-green { background: rgba(34, 197, 94, 0.8); color: white; }
        .btn-green:hover { background: rgba(34, 197, 94, 1); }

        .btn-purple { background: rgba(139, 92, 246, 0.8); color: white; }
        .btn-purple:hover { background: rgba(139, 92, 246, 1); }

        .btn-teal { background: rgba(20, 184, 166, 0.8); color: white; }
        .btn-teal:hover { background: rgba(20, 184, 166, 1); }

        .message {
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 24px;
            border: 1px solid;
        }

        .message.success {
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
            color: var(--ok);
        }

        .message.error {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.3);
            color: var(--error);
        }

        .loading {
            text-align: center;
            padding: 80px 20px;
            color: var(--muted);
        }

        .spinner {
            width: 32px;
            height: 32px;
            border: 3px solid var(--line);
            border-top: 3px solid var(--brand);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 16px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .footer {
            text-align: center;
            color: var(--muted);
            font-size: 14px;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid var(--line);
        }

        @media (max-width: 1024px) {
            .report-grid {
                grid-template-columns: 1fr;
            }
        }

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

            .glass-header {
                flex-direction: column;
                align-items: stretch;
            }

            .candidate-header {
                flex-direction: column;
                align-items: stretch;
            }

            .score-display {
                text-align: center;
            }

            .candidate-details {
                flex-direction: column;
                gap: 8px;
            }

            .candidate-info {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }

            .actions {
                justify-content: center;
            }
        }
