/* =========================================================
   ADMIN RESULTS & REPORTS PAGE CSS
   assets/css/admin-results.css
   ========================================================= */

.results-admin-page,
.results-detail-admin-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 0 50px;
    box-sizing: border-box;
}

/* =========================================================
   HERO
   ========================================================= */

.results-admin-hero,
.results-detail-hero {
    position: relative;
    width: 100%;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 40px;
    margin-bottom: 24px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #07152f 0%, #0b2859 48%, #0d63d8 100%);
    border: 1px solid rgba(59, 130, 246, 0.20);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.results-admin-hero-content,
.results-detail-hero .hero-left {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
}

.results-admin-hero-content {
    flex-direction: column;
    align-items: flex-start;
}

.results-admin-eyebrow,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 9px;
    border-radius: 7px;
    background: rgba(37, 99, 235, 0.20);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1;
}

.results-admin-hero h2,
.results-detail-hero h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.results-admin-hero p,
.results-detail-hero p {
    margin: 8px 0 0;
    color: #93c5fd;
    font-size: 13px;
    line-height: 1.6;
}

.results-admin-hero-icon {
    font-size: 45px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
}

/* =========================================================
   BACK PILL
   ========================================================= */

.results-admin-back-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.results-admin-back-pill:hover {
    background: #eff6ff !important;
    border-color: #60a5fa !important;
    color: #2563eb !important;
    transform: translateX(-4px) !important;
}

/* =========================================================
   STATISTICS GRID
   ========================================================= */

.results-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.results-admin-stat-card {
    position: relative;
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 17px rgba(15, 23, 42, 0.045);
}

.results-admin-stat-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
}

.blue .results-admin-stat-icon { background: #eff6ff; border: 1px solid #dbeafe; color: #2563eb; }
.purple .results-admin-stat-icon { background: #f5f3ff; border: 1px solid #ddd6fe; color: #7c3aed; }
.orange .results-admin-stat-icon { background: #fff7ed; border: 1px solid #fed7aa; color: #ea580c; }
.green .results-admin-stat-icon { background: #ecfdf5; border: 1px solid #d1fae5; color: #059669; }

.results-admin-stat-info span { display: block; margin-bottom: 3px; color: #8994a5; font-size: 10px; font-weight: 800; letter-spacing: 0.8px; }
.results-admin-stat-info strong { display: block; color: #172033; font-size: 24px; font-weight: 800; line-height: 1.1; }
.results-admin-stat-info small { display: block; margin-top: 3px; color: #a0aaba; font-size: 10px; }

/* =========================================================
   MAIN CARD & TOOLBAR
   ========================================================= */

.results-admin-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 7px 24px rgba(15, 23, 42, 0.055);
}

.results-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f5;
    flex-wrap: wrap;
}

.results-admin-search {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.results-admin-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.results-admin-search input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #1e293b;
    font-family: inherit;
    font-size: 12.5px;
    outline: none;
    transition: all 0.2s ease;
}

.results-admin-search input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.results-admin-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-admin-filters select {
    height: 42px;
    padding: 0 14px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

.results-admin-reset-btn {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 9px;
    color: #be123c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.results-admin-reset-btn:hover {
    background: #ffe4e6;
}

/* =========================================================
   TABLE
   ========================================================= */

.results-admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.results-admin-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

.results-admin-table th {
    padding: 15px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-align: left;
    white-space: nowrap;
}

.results-admin-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f7;
    color: #334155;
    font-size: 13px;
    vertical-align: middle;
}

.results-admin-table tbody tr:hover {
    background: #f8fafc;
}

.col-num { width: 50px; text-align: center; }
.col-action { width: 120px; text-align: right; }

.results-participant-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participant-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.participant-info strong { display: block; color: #1e293b; font-size: 13px; font-weight: 700; }
.participant-info span { display: block; margin-top: 2px; color: #64748b; font-size: 11px; }

.results-code-badge {
    display: inline-flex;
    padding: 5px 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
}

.results-company-name {
    color: #334155;
    font-weight: 600;
}

.results-assessment-cell strong { display: block; color: #1e293b; font-size: 12.5px; font-weight: 700; }
.results-assessment-cell span { display: block; margin-top: 2px; color: #64748b; font-size: 11px; }

.results-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.results-status-pill.success { background: #ecfdf5; color: #047857; }
.results-status-pill.process { background: #fff7ed; color: #c2410c; }
.results-status-pill.pending { background: #f1f5f9; color: #64748b; }

.results-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.results-action-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

.results-admin-footer {
    padding: 15px 24px;
    border-top: 1px solid #edf1f5;
    color: #64748b;
    font-size: 12px;
}

/* =========================================================
   DETAIL PAGE SPECIFICS
   ========================================================= */

.results-participant-avatar-lg {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.results-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.results-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 7px 24px rgba(15, 23, 42, 0.055);
}

.results-detail-card .card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f5;
}

.results-detail-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.results-detail-card .card-icon.blue {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.results-detail-card .card-header span { display: block; color: #2563eb; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.results-detail-card .card-header h3 { margin: 2px 0 0; color: #1e293b; font-size: 17px; font-weight: 800; }

.results-detail-card .card-body {
    padding: 20px 24px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child { border-bottom: 0; }

.info-label { color: #64748b; font-size: 12px; font-weight: 600; }
.info-value { color: #1e293b; font-size: 13px; font-weight: 600; text-align: right; }
.info-value.code { font-family: monospace; background: #f1f5f9; padding: 4px 8px; border-radius: 6px; }
.info-value.desc { max-width: 250px; text-align: right; line-height: 1.5; font-size: 12px; color: #475569; }

.results-detail-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 7px 24px rgba(15, 23, 42, 0.055);
}

.results-detail-summary-card .summary-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.results-detail-summary-card .summary-icon {
    font-size: 24px;
}

.results-detail-summary-card .summary-header span { display: block; color: #2563eb; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.results-detail-summary-card .summary-header h3 { margin: 2px 0 0; color: #1e293b; font-size: 17px; font-weight: 800; }
.results-detail-summary-card .summary-header p { margin: 3px 0 0; color: #64748b; font-size: 12px; }

.results-report-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
}

.results-report-banner.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.results-report-banner.process { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.results-report-banner.pending { background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; }

.results-report-banner .banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: currentColor;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.results-report-banner .banner-text h4 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.results-report-banner .banner-text p { margin: 0; font-size: 12.5px; line-height: 1.6; }

/* =========================================================
   DARK MODE OVERRIDES
   ========================================================= */

html.theme-dark .results-admin-back-pill {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #38bdf8 !important;
}

html.theme-dark .results-admin-back-pill:hover {
    background: rgba(51, 65, 85, 0.9) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #ffffff !important;
}

html.theme-dark .results-admin-hero,
html.theme-dark .results-detail-hero {
    background: linear-gradient(135deg, #0b152c 0%, #132347 48%, #1d4ed8 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

html.theme-dark .results-admin-stat-card {
    background: #11192e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 5px 17px rgba(0, 0, 0, 0.3) !important;
}

html.theme-dark .results-admin-stat-info span { color: #94a3b8 !important; }
html.theme-dark .results-admin-stat-info strong { color: #f8fafc !important; }
html.theme-dark .results-admin-stat-info small { color: #64748b !important; }

html.theme-dark .results-admin-card,
html.theme-dark .results-detail-card,
html.theme-dark .results-detail-summary-card {
    background: #11192e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

html.theme-dark .results-admin-toolbar,
html.theme-dark .results-detail-card .card-header,
html.theme-dark .results-admin-footer {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html.theme-dark .results-admin-search input,
html.theme-dark .results-admin-filters select {
    background: #090e1a !important;
    border: 1px solid rgba(96, 165, 250, 0.35) !important;
    color: #ffffff !important;
}

html.theme-dark .results-admin-search input::placeholder {
    color: #94a3b8 !important;
}

html.theme-dark .results-admin-search input:focus,
html.theme-dark .results-admin-filters select:focus {
    background: #0d1527 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25) !important;
}

html.theme-dark .results-admin-table th {
    background: rgba(15, 23, 42, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

html.theme-dark .results-admin-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}

html.theme-dark .results-admin-table tbody tr:hover {
    background: rgba(30, 41, 59, 0.5) !important;
}

html.theme-dark .participant-avatar {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}

html.theme-dark .participant-info strong,
html.theme-dark .results-company-name,
html.theme-dark .results-assessment-cell strong,
html.theme-dark .info-value,
html.theme-dark .results-detail-card .card-header h3,
html.theme-dark .results-detail-summary-card .summary-header h3 {
    color: #f8fafc !important;
}

html.theme-dark .participant-info span,
html.theme-dark .results-assessment-cell span,
html.theme-dark .info-label,
html.theme-dark .results-admin-footer,
html.theme-dark .results-detail-summary-card .summary-header p {
    color: #cbd5e1 !important;
}

html.theme-dark .results-code-badge,
html.theme-dark .info-value.code {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #7dd3fc !important;
}

html.theme-dark .results-status-pill.success { background: rgba(16, 185, 129, 0.2) !important; color: #6ee7b7 !important; }
html.theme-dark .results-status-pill.process { background: rgba(245, 158, 11, 0.2) !important; color: #fcd34d !important; }
html.theme-dark .results-status-pill.pending { background: rgba(255, 255, 255, 0.08) !important; color: #cbd5e1 !important; }

html.theme-dark .results-action-btn {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}

html.theme-dark .results-action-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

html.theme-dark .info-row {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html.theme-dark .results-report-banner.success { background: rgba(16, 185, 129, 0.15) !important; border-color: rgba(16, 185, 129, 0.3) !important; color: #6ee7b7 !important; }
html.theme-dark .results-report-banner.process { background: rgba(245, 158, 11, 0.15) !important; border-color: rgba(245, 158, 11, 0.3) !important; color: #fcd34d !important; }
html.theme-dark .results-report-banner.pending { background: rgba(255, 255, 255, 0.06) !important; border-color: rgba(255, 255, 255, 0.12) !important; color: #cbd5e1 !important; }

/* =========================================================
   ACTION BAR & PRINT BUTTON
   ========================================================= */
.results-admin-detail-actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.results-admin-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid #34d399;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.results-admin-print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* =========================================================
   RECOMMENDATION BADGE HERO
   ========================================================= */
.recommendation-badge-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.recommendation-badge-hero.recommended {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.35) 100%);
    border-color: #34d399;
    color: #6ee7b7;
}

.recommendation-badge-hero .badge-icon {
    font-size: 20px;
    color: #fbbf24;
}

.recommendation-badge-hero .badge-text small {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #a7f3d0;
}

.recommendation-badge-hero .badge-text strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* =========================================================
   SECTION CARD & PSIKOGRAM COMPONENTS
   ========================================================= */
/* =========================================================
   SECTION CARD & PSIKOGRAM COMPONENTS
   ========================================================= */
.results-detail-section-card {
    background: #11192e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.section-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.section-card-icon.blue {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.35);
    color: #60a5fa;
}

.section-card-icon.green {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.section-card-header span {
    display: block;
    color: #60a5fa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.section-card-header h3 {
    margin: 2px 0 0;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 800;
}

.section-card-header p {
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 12.5px;
}

/* Competency Matrix */
.competency-matrix-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.competency-item {
    padding: 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.comp-title strong {
    font-size: 13.5px;
    color: #f8fafc;
    font-weight: 700;
}

.comp-category-tag {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 10.5px;
    font-weight: 700;
}

.comp-scores {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-scores .user-score {
    color: #38bdf8;
}

.comp-scores .user-score strong {
    color: #ffffff;
}

.comp-scores .bench-score {
    color: #94a3b8;
    font-weight: 600;
}

.comp-progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: visible;
}

.comp-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 60%, #10b981 100%);
    transition: width 0.6s ease;
}

.comp-benchmark-line {
    position: absolute;
    top: -4px;
    width: 3px;
    height: 18px;
    background: #f43f5e;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(244, 63, 94, 0.6);
    z-index: 5;
}

/* Psychological Aspects Grid */
.psych-aspects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.aspect-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
}

.aspect-header h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: #f8fafc;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.aspect-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aspect-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aspect-item span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.aspect-rating {
    font-size: 12.5px;
    font-weight: 700;
}

.aspect-rating.high { color: #34d399; }
.aspect-rating.medium { color: #60a5fa; }
.aspect-rating.low { color: #fbbf24; }

/* Summary & Psychologist Recommendation */
.psych-summary-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-box {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid;
}

.summary-box.strengths {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
}

.summary-box.strengths .box-title {
    color: #34d399;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.summary-box.improvement {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.summary-box.improvement .box-title {
    color: #fbbf24;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.summary-box.recommendation {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #bfdbfe;
}

.summary-box.recommendation .box-title {
    color: #60a5fa;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.summary-box.recommendation strong {
    color: #38bdf8;
}

.summary-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
}

.summary-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   RESPONSIVE SCREEN MEDIA QUERIES
   ========================================================= */

@media (max-width: 900px) {

    .results-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .results-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .psych-aspects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 650px) {

    /* Action Bar (Kembali & Cetak PDF) */
    .results-admin-detail-actionbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .results-admin-back-pill,
    .results-admin-print-btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Hero Navy Header Card */
    .results-detail-hero {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px 20px !important;
        min-height: auto !important;
        height: auto !important;
        gap: 16px !important;
    }

    .results-detail-hero .hero-left {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .results-participant-avatar-lg {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
        font-size: 20px !important;
        border-radius: 12px !important;
    }

    .hero-text {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .hero-eyebrow {
        font-size: 9px !important;
        padding: 5px 9px !important;
        letter-spacing: 0.8px !important;
    }

    .results-detail-hero h2 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .results-detail-hero p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
        margin-top: 6px !important;
    }

    .hero-status {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        margin-top: 4px !important;
    }

    .hero-status .results-status-pill,
    .hero-status .recommendation-badge-hero {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    .info-row {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .info-value,
    .info-value.desc {
        text-align: left !important;
        max-width: 100% !important;
    }

    .results-admin-hero {
        padding: 24px 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .results-admin-hero h2 {
        font-size: 22px !important;
    }

    .results-admin-hero p {
        font-size: 12px !important;
    }

    .results-admin-hero-icon {
        display: none !important;
    }

    .results-admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .results-admin-stat-card {
        min-height: 88px !important;
        padding: 12px 10px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

    .results-admin-stat-icon {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .results-admin-stat-info {
        min-width: 0 !important;
        flex: 1 !important;
    }

    .results-admin-stat-info span {
        font-size: 9px !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .results-admin-stat-info strong {
        font-size: 19px !important;
        line-height: 1.1 !important;
    }

    .results-admin-stat-info small {
        font-size: 9px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .results-admin-toolbar {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .results-admin-search {
        width: 100% !important;
        min-width: 0 !important;
    }

    .results-admin-filters {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .results-admin-filters select {
        flex: 1 !important;
        min-width: 130px !important;
    }

    .results-admin-reset-btn {
        flex-shrink: 0 !important;
    }

    .psych-aspects-grid {
        grid-template-columns: 1fr !important;
    }

    .results-report-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

}

@media (max-width: 420px) {

    .results-admin-stats {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .results-admin-stat-card {
        padding: 14px 14px !important;
    }

    .results-admin-stat-info span,
    .results-admin-stat-info small {
        white-space: normal !important;
    }

}

/* =========================================================
   PRINT MEDIA RULES (@media print)
   ========================================================= */
@media print {
    .no-print,
    .admin-sidebar,
    .admin-header,
    .results-admin-detail-actionbar {
        display: none !important;
    }

    body,
    .results-detail-admin-page {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .results-detail-hero,
    .results-detail-card,
    .results-detail-section-card,
    .aspect-card,
    .competency-item {
        background: #ffffff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        color: #000000 !important;
        break-inside: avoid;
    }

    .results-detail-hero h2,
    .section-card-header h3,
    .comp-title strong,
    .aspect-header h4,
    .info-value {
        color: #000000 !important;
    }
}

