/* =========================================================
   ASSESSMENT DETAIL
   ========================================================= */


/* =========================================================
   BASE
========================================================= */

.content-page {
    width: 100%;
    color: #172033;
}

.content-page *,
.content-page *::before,
.content-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   BACK LINK
========================================================= */

.assessment-back-link {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;

    color: #64748b;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition: .18s ease;
}

.assessment-back-link:hover {
    color: #2563eb;

    transform: translateX(-2px);
}


/* =========================================================
   HERO
   STYLE: BLUE / ASSESSMENT MANAGEMENT
========================================================= */

.content-page .assessment-detail-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 175px;

    margin-bottom: 20px;
    padding: 30px 32px;

    overflow: hidden;

   
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #07152f 0%,
            #0b2859 50%,
            #0d63d8 100%
        ) !important;
    box-shadow:
        0 10px 28px rgba(37, 99, 235, .16);
}


/* =========================================================
   HERO DECORATION
========================================================= */

.content-page .assessment-detail-hero::before {
    content: "";

    position: absolute;

    top: -115px;
    right: 85px;

    width: 235px;
    height: 235px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;

    pointer-events: none;
}

.content-page .assessment-detail-hero::after {
    content: "";

    position: absolute;

    right: -90px;
    bottom: -130px;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.content-page .assessment-detail-hero .hero-content {
    position: relative;
    z-index: 3;

    max-width: 650px;
}

.content-page .assessment-detail-hero .page-eyebrow {
    display: inline-flex;

    margin-bottom: 9px;
    padding: 6px 11px;

    border: 1px solid rgba(147, 197, 253, .35);
    border-radius: 6px;

    background: rgba(255, 255, 255, .12);

    color: #bfdbfe;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .1em;
}

.content-page .assessment-detail-hero h2 {
    margin: 0;

    color: #ffffff;

    font-size: 29px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -.025em;
}

.content-page .assessment-detail-hero p {
    margin: 8px 0 0;

    color: #dbeafe;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.content-page .assessment-detail-hero .welcome-decoration {
    position: relative;
    z-index: 3;

    width: 230px;
    height: 150px;

    flex-shrink: 0;

    pointer-events: none;
}


/* =========================================================
   CIRCLES
========================================================= */

.content-page .assessment-detail-hero .circle {
    position: absolute;

    border-radius: 50%;
}

.content-page .assessment-detail-hero .circle-one {
    top: 0;
    right: 22px;

    width: 125px;
    height: 125px;

    border: 18px solid rgba(255, 255, 255, .10);

    background: rgba(255, 255, 255, .035);
}

.content-page .assessment-detail-hero .circle-two {
    right: -5px;
    bottom: 0;

    width: 80px;
    height: 80px;

    border: 11px solid rgba(191, 219, 254, .13);

    background: rgba(255, 255, 255, .035);
}


/* =========================================================
   MINI CARD
========================================================= */

.content-page .assessment-detail-hero .mini-card {
    position: absolute;

    top: 48px;
    right: 48px;

    width: 125px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(191, 219, 254, .60);
    border-radius: 10px;

    background: rgba(255, 255, 255, .96);

    color: #2563eb;

    font-size: 10px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, .15);
}


/* =========================================================
   DETAIL CARD
========================================================= */

.content-page .detail-card {
    position: relative;

    margin-bottom: 18px;
    padding: 24px;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 4px 16px rgba(15, 23, 42, .035);
}

.content-page .detail-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #2563eb;
}


/* =========================================================
   DETAIL HEADER
========================================================= */

.content-page .detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 19px;
}

.content-page .detail-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: #2563eb;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .1em;
}

.content-page .detail-card-header h3 {
    margin: 0;

    color: #172033;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.25;
}


/* =========================================================
   STATUS
========================================================= */

.content-page .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 11px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}

.content-page .status-badge.pending {
    background: #fffbeb;

    color: #b45309;
}

.content-page .status-badge.success {
    background: #ecfdf5;

    color: #047857;
}

.content-page .status-badge.danger {
    background: #fef2f2;

    color: #b91c1c;
}


/* =========================================================
   DETAIL GRID
========================================================= */

.content-page .detail-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


/* =========================================================
   DETAIL ITEM
========================================================= */

.content-page .detail-item {
    min-height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 15px 16px;

    border: 1px solid #e5eaf1;
    border-radius: 10px;

    background: #f8fafc;

    transition: .18s ease;
}

.content-page .detail-item:hover {
    border-color: #bfdbfe;

    background: #fafdff;

    transform: translateY(-1px);
}

.content-page .detail-item span {
    display: block;

    margin-bottom: 7px;

    color: #94a3b8;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .03em;
}

.content-page .detail-item strong {
    color: #263248;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.45;
}

.content-page .date-separator {
    margin: 0 3px;

    color: #94a3b8;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.content-page .detail-description {
    margin-top: 14px;

    padding: 16px 18px;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    background: #ffffff;
}

.content-page .detail-description > span {
    display: block;

    margin-bottom: 7px;

    color: #64748b;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .06em;
}

.content-page .detail-description p {
    margin: 0;

    color: #475569;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   STATISTICS
========================================================= */

.content-page .stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 25px;
}


/* =========================================================
   STAT CARD
========================================================= */

.content-page .stat-card {
    position: relative;

    min-height: 120px;

    padding: 19px 20px;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 3px 13px rgba(15, 23, 42, .025);

    transition: .18s ease;
}

.content-page .stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(15, 23, 42, .055);
}

.content-page .stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: #2563eb;
}

.content-page .stat-card.stat-indigo::before {
    background: #6366f1;
}

.content-page .stat-card.stat-orange::before {
    background: #f59e0b;
}


/* =========================================================
   STAT CONTENT
========================================================= */

.content-page .stat-card-label {
    color: #64748b;

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .08em;
}

.content-page .stat-card-value {
    margin-top: 10px;
    margin-bottom: 6px;

    color: #172033;

    font-size: 24px;
    font-weight: 800;

    line-height: 1.1;
}

.content-page .stat-card.stat-indigo .stat-card-value {
    color: #4f5fc9;
}

.content-page .stat-card.stat-orange .stat-card-value {
    color: #b45309;
}

.content-page .stat-card-value.status-value {
    font-size: 18px;
}

.content-page .stat-card-description {
    color: #94a3b8;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   SECTION
========================================================= */

.content-page .section-heading {
    position: relative;

    margin: 4px 0 14px;

    padding-left: 14px;
}

.content-page .section-heading::before {
    content: "";

    position: absolute;

    top: 2px;
    bottom: 2px;
    left: 0;

    width: 3px;

    border-radius: 5px;

    background: #2563eb;
}

.content-page .section-heading h3 {
    margin: 0 0 4px;

    color: #172033;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.3;
}

.content-page .section-heading p {
    margin: 0;

    color: #94a3b8;

    font-size: 10px;

    line-height: 1.45;
}


/* =========================================================
   ACTION GRID
========================================================= */

.content-page .assessment-action-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 5px;
}


/* =========================================================
   ACTION CARD
========================================================= */

.content-page .assessment-action-card {
    position: relative;

    min-height: 108px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 19px;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 13px;

    background: #ffffff;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 3px 13px rgba(15, 23, 42, .025);

    transition: .18s ease;
}

.content-page .assessment-action-card:hover {
    border-color: #bfdbfe;

    background: #fbfdff;

    box-shadow:
        0 9px 22px rgba(37, 99, 235, .07);

    transform: translateY(-2px);
}


/* =========================================================
   ACTION ICON
========================================================= */

.content-page .assessment-action-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bfdbfe;
    border-radius: 10px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   ACTION CONTENT
========================================================= */

.content-page .assessment-action-content {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
}

.content-page .assessment-action-content strong {
    margin-bottom: 5px;

    color: #172033;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.3;
}

.content-page .assessment-action-content span {
    color: #64748b;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================================
   ACTION ARROW
========================================================= */

.content-page .assessment-action-arrow {
    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e2e8f0;
    border-radius: 7px;

    color: #94a3b8;

    font-size: 14px;

    transition: .18s ease;
}

.content-page .assessment-action-card:hover
.assessment-action-arrow {
    border-color: #bfdbfe;

    background: #eff6ff;

    color: #2563eb;

    transform: translateX(2px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.content-page .empty-state {
    padding: 42px 25px;

    text-align: center;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;
}

.content-page .empty-state h3 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 17px;
    font-weight: 800;
}

.content-page .empty-state p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .content-page .detail-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .content-page .assessment-detail-hero
    .welcome-decoration {
        width: 190px;
    }

}


@media (max-width: 800px) {

    .content-page .assessment-detail-hero {
        min-height: 165px;

        padding: 25px;
    }

    .content-page .assessment-detail-hero h2 {
        font-size: 25px;
    }

    .content-page .assessment-detail-hero
    .welcome-decoration {
        width: 150px;

        opacity: .8;
    }

    .content-page .assessment-action-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .content-page .assessment-detail-hero {
        min-height: 155px;

        padding: 22px;
    }

    .content-page .assessment-detail-hero h2 {
        font-size: 23px;
    }

    .content-page .assessment-detail-hero p {
        font-size: 11px;
    }

    .content-page .assessment-detail-hero
    .welcome-decoration {
        display: none;
    }

    .content-page .detail-card {
        padding: 19px;
    }

    .content-page .detail-card-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .content-page .detail-grid {
        grid-template-columns: 1fr;
    }

    .content-page .stats-grid {
        grid-template-columns: 1fr;
    }

    .content-page .assessment-action-grid {
        grid-template-columns: 1fr;
    }

}



.content-page .assessment-detail-hero::after {
    display: none !important;
    content: none !important;
}
/* ================================
   TEXT HERO ASSESSMENT DETAIL
================================ */

/* Tulisan kecil: ASSESSMENT MANAGEMENT */
.content-page .assessment-detail-hero .page-eyebrow {
    color: #93c5fd !important;
}

/* Judul: staff admin */
.content-page .assessment-detail-hero h2 {
    color: #ffffff !important;
}

/* Deskripsi di bawah staff admin */
.content-page .assessment-detail-hero p {
    color: #93c5fd  !important;
}


/* =========================================================
   DARK MODE OVERRIDES FOR ASSESSMENT DETAIL PAGE
   ========================================================= */

html.theme-dark .assessment-back-link,
html.theme-dark .content-page .assessment-back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #38bdf8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html.theme-dark .assessment-back-link:hover,
html.theme-dark .content-page .assessment-back-link:hover {
    background: rgba(51, 65, 85, 0.9) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2) !important;
    transform: translateX(-4px) !important;
}

html.theme-dark .content-page .assessment-detail-hero .mini-card {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #60a5fa !important;
}

html.theme-dark .content-page .detail-card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

html.theme-dark .content-page .detail-eyebrow {
    color: #818cf8 !important;
}

html.theme-dark .content-page .detail-card-header h3 {
    color: #ffffff !important;
}

html.theme-dark .content-page .detail-item {
    background: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .content-page .detail-item:hover {
    background: rgba(51, 65, 85, 0.7) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

html.theme-dark .content-page .detail-item span {
    color: #94a3b8 !important;
}

html.theme-dark .content-page .detail-item strong {
    color: #f1f5f9 !important;
}

html.theme-dark .content-page .detail-description {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .content-page .detail-description > span {
    color: #818cf8 !important;
}

html.theme-dark .content-page .detail-description p {
    color: #e2e8f0 !important;
}

html.theme-dark .content-page .stat-card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .content-page .stat-card-label {
    color: #94a3b8 !important;
}

html.theme-dark .content-page .stat-card-value {
    color: #f1f5f9 !important;
}

html.theme-dark .content-page .stat-card-description {
    color: #64748b !important;
}

html.theme-dark .content-page .section-heading h3 {
    color: #ffffff !important;
}

html.theme-dark .content-page .section-heading p {
    color: #94a3b8 !important;
}

html.theme-dark .content-page .assessment-action-card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .content-page .assessment-action-card:hover {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

html.theme-dark .content-page .assessment-action-icon {
    background: rgba(37, 99, 235, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #60a5fa !important;
}

html.theme-dark .content-page .assessment-action-content strong {
    color: #f1f5f9 !important;
}

html.theme-dark .content-page .assessment-action-content span {
    color: #94a3b8 !important;
}

html.theme-dark .content-page .assessment-action-arrow {
    background: rgba(30, 41, 59, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
}

html.theme-dark .content-page .status-badge.pending {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fcd34d !important;
}

html.theme-dark .content-page .status-badge.success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
}

html.theme-dark .content-page .status-badge.danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

html.theme-dark .content-page .empty-state {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .content-page .empty-state h3 {
    color: #ffffff !important;
}

html.theme-dark .content-page .empty-state p {
    color: #94a3b8 !important;
}


