:root {
    --sinav-rotasi-midnight: #121b73;
    --sinav-rotasi-primary: #1667f2;
    --sinav-rotasi-orange: #ff7337;
    --sinav-rotasi-bg: #f7f9ff;
    --sinav-rotasi-input: #f4f5f7;
}

.sinav-rotasi-page {
    position: relative;
    min-height: calc(100vh - 82px);
    overflow: hidden;
    padding: 32px 0 70px;
    background: var(--sinav-rotasi-bg);
    color: var(--sinav-rotasi-midnight);
}

.sinav-rotasi-page__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("/assets/images/sinav-rotasi-webinar/background.webp") center top / cover no-repeat;
    pointer-events: none;
}

.sinav-rotasi-page__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
    align-items: center;
    gap: 32px;
}

.sinav-rotasi-intro {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 10px 0 0;
}

.sinav-rotasi-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--sinav-rotasi-orange);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(255, 115, 55, 0.18);
}

.sinav-rotasi-title {
    margin: 0 0 6px;
    color: var(--sinav-rotasi-midnight);
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 0.92;
    letter-spacing: -2px;
}

.sinav-rotasi-subtitle {
    margin: 0 0 16px;
    color: var(--sinav-rotasi-midnight);
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.18;
}

.sinav-rotasi-question {
    margin: 0 0 9px;
    font-size: 17px;
    color: var(--sinav-rotasi-midnight);
}

.sinav-rotasi-description {
    max-width: 540px;
    margin: 0 0 18px;
    color: var(--sinav-rotasi-midnight);
    font-size: 16px;
    line-height: 1.48;
}

.sinav-rotasi-benefits {
    display: grid;
    gap: 13px;
    max-width: 530px;
    margin: 0 0 22px;
}

.sinav-rotasi-benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    color: var(--sinav-rotasi-midnight);
    font-size: 15px;
    line-height: 1.35;
}

.sinav-rotasi-benefit img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.sinav-rotasi-date-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    max-width: 535px;
    padding: 18px 21px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(22, 103, 242, 0.08);
    backdrop-filter: blur(4px);
}

.sinav-rotasi-date-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.sinav-rotasi-date-card p {
    margin: 0;
    color: var(--sinav-rotasi-midnight);
    font-size: 15px;
    line-height: 1.42;
}

.sinav-rotasi-hero-students {
    position: absolute;
    z-index: 1;
    left: 39%;
    bottom: -18px;
    width: min(32vw, 540px);
    max-height: 80%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.sinav-rotasi-hero-note {
    position: absolute;
    z-index: 1;
    left: 38%;
    top: 70px;
    width: 180px;
    opacity: 0.94;
    transform: rotate(-7deg);
    pointer-events: none;
    user-select: none;
}

.sinav-rotasi-page__content {
    position: relative;
    z-index: 3;
}

.sinav-rotasi-form-card,
.sinav-rotasi-result-card {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(32, 32, 110, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 58px rgba(31, 42, 86, 0.11);
}

.sinav-rotasi-form-card {
    padding: 28px 28px 26px;
}

.sinav-rotasi-form-title {
    margin: 0 0 20px;
    color: var(--sinav-rotasi-midnight);
    font-size: 25px;
    line-height: 1.15;
}

.sinav-rotasi-form-fields {
    display: grid;
    gap: 13px;
}

.sinav-rotasi-form-field {
    display: grid;
    gap: 7px;
}

.sinav-rotasi-form-field label {
    color: var(--sinav-rotasi-midnight);
    font-size: 13px;
    line-height: 1.28;
}

.sinav-rotasi-form-field label span,
.sinav-rotasi-checkbox strong {
    color: #ee563c;
}

.sinav-rotasi-form-field input,
.sinav-rotasi-form-field select {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(32, 32, 110, 0.08);
    border-radius: 8px;
    outline: none;
    background: var(--sinav-rotasi-input);
    color: #33384a;
    font-size: 14px;
    padding: 0 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.sinav-rotasi-form-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, #969ba6 50%), linear-gradient(135deg, #969ba6 50%, transparent 50%);
    background-position: calc(100% - 19px) 18px, calc(100% - 13px) 18px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.sinav-rotasi-form-field input::placeholder {
    color: #969ba6;
}

.sinav-rotasi-form-field input:focus,
.sinav-rotasi-form-field select:focus {
    background-color: #fff;
    border-color: rgba(22, 103, 242, 0.75);
    box-shadow: 0 0 0 3px rgba(22, 103, 242, 0.09);
}

.sinav-rotasi-validation {
    margin: 5px 0 0;
    color: rgba(218, 74, 65, 0.9);
    font-size: 12px;
    line-height: 1.35;
}

.sinav-rotasi-validation--permissions {
    margin-top: 10px;
}

.sinav-rotasi-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    color: var(--sinav-rotasi-midnight);
    font-size: 12.2px;
    line-height: 1.45;
    cursor: pointer;
}

.sinav-rotasi-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin: 2px 0 0;
    position: relative;
    border: 1.5px solid #9ea7b9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.sinav-rotasi-checkbox input:checked {
    border-color: var(--sinav-rotasi-primary);
    background: var(--sinav-rotasi-primary);
}

.sinav-rotasi-checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sinav-rotasi-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.sinav-rotasi-submit.ant-btn {
    width: min(100%, 430px);
    height: 50px;
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, #1667f2 0%, #2878ff 100%);
    font-size: 16px;
    box-shadow: 0 16px 28px rgba(22, 103, 242, 0.18);
}

.sinav-rotasi-submit.ant-btn:disabled {
    color: #fff;
    background: #c1c4e0;
    box-shadow: none;
}

.sinav-rotasi-submit.ant-btn:not(:disabled):hover,
.sinav-rotasi-submit.ant-btn:not(:disabled):focus {
    color: #fff !important;
    background: linear-gradient(90deg, #105ce2 0%, #1e6ff5 100%) !important;
}

.sinav-rotasi-page--result {
    min-height: 720px;
    display: flex;
    align-items: center;
}

.sinav-rotasi-page--result .sinav-rotasi-page__inner {
    display: block;
}

.sinav-rotasi-page--result .sinav-rotasi-page__content {
    max-width: 760px;
    margin: 0 auto;
}

.sinav-rotasi-result-card {
    position: relative;
    padding: 42px 46px 40px;
    text-align: center;
    color: var(--sinav-rotasi-midnight);
    overflow: hidden;
}

.sinav-rotasi-result-card__illustration {
    display: block;
    width: 132px;
    height: 132px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.sinav-rotasi-result-card__title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--sinav-rotasi-midnight);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.15;
}

.sinav-rotasi-result-card__copy {
    max-width: 590px;
    margin: 0 auto 27px;
    color: var(--sinav-rotasi-midnight);
    font-size: 16px;
    line-height: 1.55;
}

.sinav-rotasi-result-card__copy p {
    margin: 0 0 5px;
}

.sinav-rotasi-result-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sinav-rotasi-result-button {
    width: min(100%, 260px);
    min-height: 50px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(90deg, #1667f2 0%, #2878ff 100%);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.sinav-rotasi-result-button:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.sinav-rotasi-result-button--outline {
    background: #fff;
    color: var(--sinav-rotasi-primary);
    border-color: var(--sinav-rotasi-primary);
}

.sinav-rotasi-error-note {
    position: absolute;
    left: 40px;
    bottom: 26px;
    width: 145px;
    opacity: 0.92;
    transform: rotate(-6deg);
}

@media (max-width: 1399.98px) {
    .sinav-rotasi-hero-students {
        left: 35%;
        width: min(34vw, 500px);
    }

    .sinav-rotasi-hero-note {
        left: 35%;
    }
}

@media (max-width: 1199.98px) {
    .sinav-rotasi-page {
        padding: 26px 0 56px;
    }

    .sinav-rotasi-page__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sinav-rotasi-intro {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .sinav-rotasi-description,
    .sinav-rotasi-benefits,
    .sinav-rotasi-date-card {
        margin-left: auto;
        margin-right: auto;
    }

    .sinav-rotasi-benefit,
    .sinav-rotasi-date-card {
        text-align: left;
    }

    .sinav-rotasi-hero-students {
        position: relative;
        left: auto;
        bottom: auto;
        display: block;
        width: min(520px, 92vw);
        margin: 0 auto -18px;
    }

    .sinav-rotasi-hero-note {
        display: none;
    }

    .sinav-rotasi-page__content {
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .sinav-rotasi-page {
        padding: 20px 0 38px;
    }

    .sinav-rotasi-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sinav-rotasi-pill {
        font-size: 12px;
        padding: 9px 14px;
        margin-bottom: 16px;
    }

    .sinav-rotasi-title {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .sinav-rotasi-subtitle {
        font-size: 20px;
    }

    .sinav-rotasi-question,
    .sinav-rotasi-description {
        font-size: 14px;
    }

    .sinav-rotasi-benefits {
        gap: 10px;
    }

    .sinav-rotasi-benefit {
        grid-template-columns: 36px minmax(0, 1fr);
        font-size: 13px;
    }

    .sinav-rotasi-benefit img {
        width: 36px;
        height: 36px;
    }

    .sinav-rotasi-date-card {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 14px 15px;
        border-radius: 14px;
    }

    .sinav-rotasi-date-card img {
        width: 42px;
        height: 42px;
    }

    .sinav-rotasi-date-card p {
        font-size: 13px;
    }

    .sinav-rotasi-hero-students {
        display: none;
    }

    .sinav-rotasi-form-card,
    .sinav-rotasi-result-card {
        border-radius: 16px;
    }

    .sinav-rotasi-form-card {
        padding: 22px 18px 21px;
    }

    .sinav-rotasi-form-title {
        font-size: 22px;
    }

    .sinav-rotasi-form-field input,
    .sinav-rotasi-form-field select {
        height: 47px;
        font-size: 16px;
    }

    .sinav-rotasi-checkbox {
        font-size: 12px;
    }

    .sinav-rotasi-submit.ant-btn {
        width: 100%;
    }

    .sinav-rotasi-page--result {
        min-height: auto;
    }

    .sinav-rotasi-result-card {
        padding: 30px 18px 31px;
    }

    .sinav-rotasi-result-card__illustration {
        width: 106px;
        height: 106px;
    }

    .sinav-rotasi-result-card__title {
        flex-wrap: wrap;
        font-size: 31px;
    }

    .sinav-rotasi-result-card__copy {
        font-size: 14px;
    }

    .sinav-rotasi-result-actions {
        gap: 11px;
    }

    .sinav-rotasi-result-button {
        width: 100%;
    }

    .sinav-rotasi-error-note {
        display: none;
    }
}

@media (max-width: 479.98px) {
    .sinav-rotasi-title {
        font-size: 34px;
    }

    .sinav-rotasi-subtitle {
        font-size: 18px;
    }

    .sinav-rotasi-form-card {
        padding-left: 15px;
        padding-right: 15px;
    }

    .sinav-rotasi-result-card__title {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sinav-rotasi-form-field input,
    .sinav-rotasi-form-field select,
    .sinav-rotasi-result-button {
        transition: none;
    }
}
