/* =========================================
   RESET & BASE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #F8F6F5;
    color: #35363B;
}

.container {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px;
}


/* =========================================
   MAIN CARD
========================================= */

.card {
    width: 100%;
    max-width: 900px;

    background: #FFFFFF;

    border: 1px solid #EEE9E7;
    border-radius: 20px;

    padding: 60px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(80, 60, 60, 0.06);
}


/* =========================================
   BRAND
========================================= */

.brand {
    margin-bottom: 28px;
}

.logo {
    width: 120px !important;
    max-width: 100%;

    height: auto !important;

    display: block;
    margin: 0 auto;
}


/* =========================================
   BADGE
========================================= */

.badge {
    display: inline-block;

    padding: 9px 18px;

    border-radius: 20px;

    background: #FBEDEC;
    color: #A84A45;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: 0.8px;

    margin-bottom: 18px;
}


/* =========================================
   SUBTITLE
========================================= */

.subtitle {
    max-width: 650px;

    margin: 0 auto 40px;

    color: #A84A45;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-block;

    padding: 15px 35px;

    border: none;
    border-radius: 10px;

    background: #B64F49;
    color: #FFFFFF;

    font-family: inherit;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(182, 79, 73, 0.14);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background: #9F403B;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(182, 79, 73, 0.18);
}


/* =========================================
   FORM DATA PENGGUNA
========================================= */

.form-group {
    margin-bottom: 20px;

    text-align: left;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #3C3D42;

    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 13px 15px;

    background: #FFFFFF;

    border: 1px solid #E6E0DE;
    border-radius: 9px;

    color: #35363B;

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #B64F49;

    box-shadow:
        0 0 0 3px rgba(182, 79, 73, 0.08);
}

.error {
    margin-bottom: 20px;

    padding: 12px 15px;

    background: #FCEEEE;
    color: #A84A45;

    border: 1px solid #F2D6D4;
    border-radius: 8px;

    text-align: left;
}


/* =========================================
   INSTRUCTION PAGE
========================================= */

.instruction-box {
    margin: 30px 0;

    text-align: left;
}

.instruction-item {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 24px 0;

    border-bottom: 1px solid #EEE9E7;
}

.instruction-item:last-child {
    border-bottom: none;
}


/* =========================================
   INSTRUCTION NUMBER
========================================= */

.instruction-number {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C66A64;
    color: #FFFFFF;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 3px 8px rgba(198, 106, 100, 0.12);
}

.instruction-content {
    flex: 1;

    min-width: 0;
}

.instruction-content > strong {
    display: block;

    margin-bottom: 8px;

    color: #3B3C41;

    font-size: 17px;
    line-height: 1.4;
}

.instruction-content p {
    margin: 0 0 9px;

    color: #727277;

    font-size: 15px;
    line-height: 1.7;
}

.instruction-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   EXAMPLE BOX
========================================= */

.example-box {
    margin: 30px 0;
    padding: 30px;

    text-align: left;

    background: #FCF7F6;

    border: 1px solid #EACDC9;
    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(150, 100, 95, 0.05);
}


/* =========================================
   EXAMPLE LABEL
========================================= */

.example-label {
    display: inline-block;

    margin-bottom: 14px;

    padding: 7px 14px;

    background: #C66A64;
    color: #FFFFFF;

    border-radius: 6px;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   EXAMPLE TEXT
========================================= */

.example-box h2 {
    margin: 0 0 15px;

    color: #3B3C41;

    font-size: 22px;
}

.example-box p {
    margin: 0 0 12px;

    color: #66676D;

    font-size: 15px;
    line-height: 1.7;
}

.example-box ul {
    margin: 15px 0 22px;

    padding-left: 22px;
}

.example-box li {
    margin-bottom: 8px;

    color: #66676D;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   EXAMPLE QUESTION
========================================= */

.example-question {
    margin: 22px 0;
    padding: 22px;

    background: #FFFFFF;

    border: 1px solid #E7D6D3;
    border-radius: 12px;
}

.example-question h3 {
    margin: 0 0 16px;

    color: #3B3C41;

    font-size: 16px;
    font-weight: 700;
}


/* =========================================
   EXAMPLE STATEMENT
========================================= */

.example-statement {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px 0;

    border-bottom: 1px solid #F0E9E7;
}

.example-statement:last-child {
    border-bottom: none;
}

.example-number {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C66A64;
    color: #FFFFFF;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.example-statement p {
    margin: 0;

    color: #4F5055;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   EXAMPLE RESULT
========================================= */

.example-result {
    display: flex;

    gap: 15px;

    margin: 22px 0;
}

.example-result > div {
    flex: 1;

    padding: 18px;

    background: #FFFFFF;

    border: 1px solid #E7D6D3;
    border-radius: 12px;

    text-align: center;
}

.example-result span {
    display: block;

    margin-bottom: 10px;

    color: #8A6865;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.example-result strong {
    width: 38px;
    height: 38px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C66A64;
    color: #FFFFFF;

    border-radius: 50%;

    font-size: 17px;
}


/* =========================================
   EXAMPLE NOTE
========================================= */

.example-note {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 15px 18px;

    background: #FFFDFC;

    border-left: 4px solid #C66A64;
    border-radius: 7px;

    color: #66676D;

    font-size: 14px;
    line-height: 1.6;
}

.example-note strong {
    color: #A84A45;

    font-size: 12px;

    white-space: nowrap;
}

.example-note span {
    flex: 1;
}


/* =========================================
   NOTICE / PERHATIAN
   dibuat lebih soft, tidak merah pekat
========================================= */

.notice {
    margin: 30px 0;
    padding: 22px 24px;

    text-align: left;

    background: #FAECEA;

    border: 1px solid #EBCBC7;
    border-left: 5px solid #B64F49;
    border-radius: 12px;

    box-shadow:
        0 4px 14px rgba(150, 90, 85, 0.06);
}

.notice-title {
    margin-bottom: 9px;

    color: #A84A45;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.notice p {
    margin: 0;

    color: #685856;

    font-size: 14px;
    line-height: 1.7;
}

.notice p strong {
    color: #A84A45;

    font-weight: 700;
}

.notice p strong.notice-important {
    color: #685856;
    font-weight: 700;
}


/* =========================================
   TEST PAGE
========================================= */

.test-card {
    max-width: 780px;

    padding: 35px 45px 40px;
}

.test-card .brand {
    margin-bottom: 20px;
}

.test-card .logo {
    width: 110px !important;

    height: auto !important;
}


/* =========================================
   TEST PROGRESS & TIMER
========================================= */

.test-progress {
    width: 100%;

    margin: 0 0 28px;
}

.progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    color: #707176;

    font-size: 13px;
}

.progress-info strong {
    color: #A84A45;
}

.timer {
    color: #A84A45;

    font-size: 14px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 7px;

    overflow: hidden;

    background: #ECE8E7;

    border-radius: 10px;
}

.progress-fill {
    height: 100%;

    background: #B64F49;

    border-radius: 10px;

    transition: width 0.3s ease;
}


/* =========================================
   TEST HEADER
========================================= */

.test-header {
    margin-bottom: 28px;

    text-align: center;
}

.test-header .badge {
    display: inline-block;

    margin-bottom: 14px;

    padding: 7px 16px;

    background: #FBEDEC;
    color: #A84A45;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.4px;
}

.test-header h1 {
    margin-bottom: 10px;

    color: #3B3C41;

    font-size: 26px;
}

.test-header .subtitle {
    max-width: 560px;

    margin: 0 auto;

    color: #A84A45;

    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
}


/* =========================================
   QUESTION TABLE
========================================= */

.question-table {
    width: 100%;

    overflow: hidden;

    margin-bottom: 20px;

    background: #FFFFFF;

    border: 1px solid #E5E3E3;
    border-radius: 12px;
}

.question-table-header {
    display: grid;

    grid-template-columns: 1fr 125px 145px;

    background: #FAF7F6;

    border-bottom: 1px solid #E8E4E3;
}

.question-table-header > div {
    padding: 15px 14px;

    color: #55565B;

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}

.question-table-header .statement-header {
    text-align: left;
}


/* =========================================
   STATEMENT ROW
========================================= */

.statement-row {
    display: grid;
    align-items: center;

    grid-template-columns: 1fr 125px 145px;

    min-height: 72px;

    background: #FFFFFF;

    border-bottom: 1px solid #F0EEEE;

    transition: background 0.2s ease;
}

.statement-row:last-child {
    border-bottom: none;
}

.statement-row:hover {
    background: #FDF9F8;
}


/* =========================================
   STATEMENT TEXT
========================================= */

.statement-text {
    padding: 18px 20px;

    color: #45464B;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;

    text-align: left;
}


/* =========================================
   RADIO BUTTON
========================================= */

.choice {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;
}

.choice input[type="radio"] {
    width: 18px;
    height: 18px;

    cursor: pointer;

    accent-color: #B64F49;
}


/* =========================================
   TEST NOTE
========================================= */

.test-note {
    margin-bottom: 20px;
    padding: 13px 15px;

    background: #FCF4F3;

    border-left: 4px solid #C66A64;
    border-radius: 7px;

    color: #756361;

    font-size: 13px;
    line-height: 1.6;

    text-align: left;
}

.test-note strong {
    color: #A84A45;
}


/* =========================================
   TEST BUTTON
========================================= */

.test-btn {
    min-width: 135px;

    padding: 14px 40px;

    border: none;
    border-radius: 9px;

    background: #B64F49;
    color: #FFFFFF;

    cursor: pointer;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 4px 12px rgba(182, 79, 73, 0.12);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.test-btn:hover {
    background: #9F403B;

    transform: translateY(-1px);
}


/* =========================================
   TEST ERROR
========================================= */

.test-card .error {
    margin-bottom: 20px;

    padding: 14px 16px;

    background: #FCEEEE;

    border: 1px solid #F0D3D1;
    border-left: 4px solid #C66A64;
    border-radius: 7px;

    color: #A84A45;

    font-size: 14px;
}


/* =========================================
   HALAMAN SELESAI
========================================= */

.selesai-card {
    max-width: 700px;

    padding: 60px 70px;

    text-align: center;
}


/* =========================================
   SUCCESS ICON
========================================= */

.success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #C66A64;
    color: #FFFFFF;

    border-radius: 50%;

    font-size: 38px;
    font-weight: bold;

    box-shadow:
        0 8px 20px rgba(198, 106, 100, 0.16);
}


/* =========================================
   SELESAI BADGE
========================================= */

.selesai-badge {
    margin-bottom: 22px;

    padding: 8px 18px;

    font-size: 12px;
}


/* =========================================
   SELESAI TITLE
========================================= */

.selesai-title {
    margin-bottom: 20px;

    color: #3B3C41;

    font-size: 30px;
    line-height: 1.35;
}


/* =========================================
   SELESAI TEXT
========================================= */

.selesai-text {
    max-width: 540px;

    margin: 0 auto 14px;

    color: #727277;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   PRIVACY NOTICE
========================================= */

.privacy-notice {
    max-width: 570px;

    margin: 28px auto 25px;
    padding: 20px 22px;

    background: #FCF3F2;

    border: 1px solid #F0D8D5;
    border-left: 4px solid #C66A64;
    border-radius: 8px;

    color: #795957;

    font-size: 14px;
    line-height: 1.7;

    text-align: left;
}


/* =========================================
   SELESAI CLOSING
========================================= */

.selesai-closing {
    margin-top: 25px;

    color: #929297;

    font-size: 14px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .container {
        padding: 20px;
    }

    .card {
        padding: 35px 25px;
    }

    .test-card {
        padding: 30px 20px;
    }

    .test-header h1 {
        font-size: 22px;
    }

    .question-table-header,
    .statement-row {
        grid-template-columns: 1fr 80px 95px;
    }

    .question-table-header > div {
        padding: 12px 6px;

        font-size: 10px;
    }

    .statement-text {
        padding: 14px 10px;

        font-size: 13px;
    }

    .progress-info {
        font-size: 12px;
    }

}


@media (max-width: 600px) {

    .example-box {
        padding: 22px 18px;
    }

    .example-result {
        flex-direction: column;
    }

    .example-statement {
        gap: 10px;
    }

    .example-number {
        flex: 0 0 28px;

        width: 28px;
        height: 28px;
    }

    .notice {
        padding: 20px;
    }

    .selesai-card {
        padding: 45px 25px;
    }

    .selesai-title {
        font-size: 25px;
    }

    .success-icon {
        width: 62px;
        height: 62px;

        font-size: 32px;
    }

}