/* =========================================================
   PAGE WRAPPER
========================================================= */

.content-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.content-page > .page-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 24px;
    padding: 26px 30px;

    min-height: 145px;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #0b1f3a 0%,
            #123968 48%,
            #2563eb 100%
        );

    color: #ffffff;

    box-shadow:
        0 10px 28px rgba(15, 39, 71, .13);
}


/* dekorasi header */

.content-page > .page-header::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -75px;
    top: -105px;

    border-radius: 50%;

    background:
        rgba(96, 165, 250, .13);

    pointer-events: none;
}


.content-page > .page-header::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: 150px;
    bottom: -85px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .045);

    pointer-events: none;
}


/* =========================================================
   HEADER TEXT
========================================================= */

.content-page > .page-header > div {
    position: relative;

    z-index: 2;
}


.content-page .page-eyebrow {
    margin-bottom: 7px;

    color: #60a5fa;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.content-page > .page-header h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -.6px;
}


.content-page > .page-header p {
    margin-top: 7px !important;
    margin-bottom: 0 !important;

    max-width: 580px;

    color: #d7e5f7 !important;

    font-size: 11px !important;

    line-height: 1.5;
}


/* =========================================================
   CREATE BUTTON
========================================================= */

.content-page > .page-header .btn-primary {
    position: relative;

    z-index: 3;

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 10px 16px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 9px;

    background: #ffffff;

    color: #17345f;

    font-size: 11px;
    font-weight: 750;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 5px 15px rgba(0,0,0,.12);

    transition:
        .2s ease;
}


.content-page > .page-header .btn-primary:hover {
    transform: translateY(-2px);

    background: #f8fbff;

    box-shadow:
        0 8px 20px rgba(0,0,0,.16);
}


/* =========================================================
   MAIN ASSESSMENT CARD
========================================================= */

.content-page > .content-card {

    position: relative;

    overflow: hidden;

    margin-bottom: 24px;

    border: 1px solid #dfe8f5;

    border-radius: 17px;

    background:
        linear-gradient(
            180deg,
            #f7faff 0%,
            #ffffff 15%,
            #ffffff 100%
        );

    box-shadow:
        0 7px 25px rgba(15, 39, 71, .055);
}


/* aksen biru bagian atas */

.content-page > .content-card::before {
    content: "";

    display: block;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #17345f,
            #2563eb,
            #60a5fa
        );
}


/* =========================================================
   CARD HEADER
========================================================= */

.content-page .card-header {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 25px;

    border-bottom: 1px solid #e5edf7;

    background:
        linear-gradient(
            135deg,
            #f0f6ff 0%,
            #f8fbff 55%,
            #ffffff 100%
        );
}


/* garis biru kecil di kiri */

.content-page .card-header::before {
    content: "";

    position: absolute;

    left: 25px;
    bottom: 0;

    width: 55px;
    height: 3px;

    border-radius: 4px 4px 0 0;

    background: #2563eb;
}


.content-page .card-header > div:first-child {
    min-width: 0;
}


.content-page .card-header h3 {

    margin: 0;

    color: #132d52;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.3;
}


.content-page .card-header p {

    margin: 6px 0 0;

    color: #7b8ba0;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================================
   TOTAL ASSESSMENT
========================================================= */

.total-box {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    padding: 8px 10px 8px 12px;

    border: 1px solid #d8e6f8;

    border-radius: 10px;

    background:
        rgba(255,255,255,.82);

    box-shadow:
        0 3px 10px rgba(37,99,235,.045);
}


.total-box span {

    color: #7b8ba0;

    font-size: 9px;

    font-weight: 650;
}


.total-box strong {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 29px;
    height: 29px;

    padding: 0 7px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 4px 10px rgba(37,99,235,.16);
}


/* =========================================================
   ASSESSMENT LIST AREA
========================================================= */

.assessment-list {

    width: 100%;

    padding: 14px 15px 17px;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
}


/* =========================================================
   ASSESSMENT ITEM
========================================================= */

.assessment-item {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

    min-height: 128px;

    margin-bottom: 11px;

    padding: 22px 22px 22px 25px;

    overflow: hidden;

    border: 1px solid #e1eaf5;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 3px 12px rgba(15, 39, 71, .035);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.assessment-item:last-child {
    margin-bottom: 0;
}


/* aksen biru kiri */

.assessment-item::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background:
        linear-gradient(
            180deg,
            #2563eb,
            #60a5fa
        );
}


/* lingkaran dekorasi */

.assessment-item::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    top: -50px;

    border-radius: 50%;

    background:
        rgba(37,99,235,.025);

    pointer-events: none;
}


.assessment-item:hover {

    border-color: #bfd5f2;

    box-shadow:
        0 9px 24px rgba(37,99,235,.075);

    transform: translateY(-2px);
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.assessment-item-main {

    position: relative;

    z-index: 2;

    min-width: 0;

    flex: 1;
}


/* =========================================================
   ASSESSMENT NAME
========================================================= */

.assessment-item-main h4 {

    margin: 0;

    color: #142f55;

    font-size: 16px;

    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -.2px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.assessment-item-main p {

    max-width: 650px;

    margin: 6px 0 0;

    color: #8190a4;

    font-size: 11px;

    line-height: 1.55;
}


/* =========================================================
   META
========================================================= */

.assessment-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}


.assessment-meta span {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    min-height: 29px;

    padding: 6px 10px;

    border: 1px solid #e0eaf7;

    border-radius: 7px;

    background:
        #f4f8fd;

    color: #60738b;

    font-size: 9px;

    line-height: 1.3;
}


.assessment-meta strong {

    color: #6b9bd2;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .45px;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.assessment-item-side {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 11px;

    flex-shrink: 0;
}


/* =========================================================
   STATUS
========================================================= */

.assessment-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 70px;

    height: 30px;

    padding: 0 11px;

    border-radius: 999px;

    font-size: 8px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: .5px;

    text-transform: uppercase;
}


/* DRAFT */

.assessment-status.draft {

    border: 1px solid #dbe4ef;

    background:
        #f1f5f9;

    color: #64748b;
}


/* ACTIVE */

.assessment-status.active {

    border: 1px solid #b8e8ca;

    background:
        #ecfdf3;

    color: #15803d;
}


/* COMPLETED */

.assessment-status.completed {

    border: 1px solid #bcd7fa;

    background:
        #eff6ff;

    color: #2563eb;
}


/* CANCELLED */

.assessment-status.cancelled {

    border: 1px solid #fecaca;

    background:
        #fef2f2;

    color: #dc2626;
}


/* =========================================================
   MANAGE BUTTON
========================================================= */

.assessment-manage-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 148px;

    height: 38px;

    padding: 0 15px;

    border: 1px solid #cbdcf1;

    border-radius: 9px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f9ff
        );

    color: #28558a;

    font-size: 10px;

    font-weight: 750;

    text-decoration: none;

    white-space: nowrap;

    transition:
        .2s ease;
}


.assessment-manage-btn:hover {

    border-color: #2563eb;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #dbeafe
        );

    color: #1d4ed8;

    box-shadow:
        0 6px 15px rgba(37,99,235,.11);

    transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.content-page .empty-state {

    padding: 70px 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #ffffff
        );
}


.content-page .empty-state h4 {

    margin: 0 0 8px;

    color: #344054;

    font-size: 15px;

    font-weight: 800;
}


.content-page .empty-state p {

    max-width: 430px;

    margin: 0 auto;

    color: #8a95a6;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE — 900px
========================================================= */

@media (max-width: 900px) {

    .content-page > .page-header {

        padding: 24px 25px;

        min-height: 135px;
    }


    .content-page > .page-header h2 {

        font-size: 23px !important;
    }


    .assessment-item {

        gap: 20px;

        padding: 20px;
    }


    .assessment-item-side {

        flex-direction: column;

        align-items: flex-end;
    }

}


/* =========================================================
   RESPONSIVE — 700px
========================================================= */

@media (max-width: 700px) {

    .content-page > .page-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 17px;

        min-height: auto;

        padding: 23px 21px;
    }


    .content-page > .page-header .btn-primary {

        align-self: flex-start;
    }


    .content-page .card-header {

        align-items: flex-start;

        flex-direction: column;

        padding: 20px;
    }


    .total-box {

        width: 100%;

        justify-content: space-between;
    }


    .assessment-list {

        padding: 10px;
    }


    .assessment-item {

        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        min-height: auto;

        padding: 20px;

        margin-bottom: 9px;
    }


    .assessment-item-side {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        width: 100%;
    }


    .assessment-manage-btn {

        flex: 1;

        max-width: 190px;
    }

}


/* =========================================================
   RESPONSIVE — 480px
========================================================= */

@media (max-width: 480px) {

    .content-page > .page-header {

        padding: 21px 18px;

        border-radius: 14px;
    }


    .content-page > .page-header h2 {

        font-size: 21px !important;
    }


    .content-page > .page-header p {

        font-size: 10px !important;
    }


    .content-page > .page-header .btn-primary {

        width: 100%;
    }


    .content-page > .content-card {

        border-radius: 14px;
    }


    .content-page .card-header {

        padding: 18px;
    }


    .content-page .card-header::before {

        left: 18px;
    }


    .assessment-list {

        padding: 8px;
    }


    .assessment-item {

        padding: 18px;

        border-radius: 12px;
    }


    .assessment-item-main h4 {

        font-size: 14px;
    }


    .assessment-item-main p {

        font-size: 10px;
    }


    .assessment-meta {

        align-items: stretch;

        flex-direction: column;
    }


    .assessment-meta span {

        width: 100%;
    }


    .assessment-item-side {

        flex-direction: column;

        align-items: stretch;
    }


    .assessment-status {

        width: fit-content;
    }


    .assessment-manage-btn {

        width: 100%;

        max-width: none;
    }

}