:root {
    --auth-navy: #071f59;
    --auth-blue: #1a73ff;
    --auth-blue-dark: #0b57d0;
    --auth-ink: #0f2454;
    --auth-muted: #5f7097;
    --auth-line: rgba(15, 36, 84, 0.12);
    --auth-bg: #f5f8ff;
    --auth-surface: rgba(255, 255, 255, 0.95);
    --auth-shadow: 0 24px 56px rgba(11, 34, 85, 0.12);
}

html,
body.login_page {
    min-height: 100%;
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--auth-ink);
    background:
        radial-gradient(circle at top left, rgba(26, 115, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.auth-shell {
    margin: 0 auto;
    padding: 22px 18px 36px;
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.auth-brand img {
    display: block;
    width: min(210px, 52vw);
    height: auto;
}

.auth-link {
    color: var(--auth-blue-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-copy {
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.65;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-label .req {
    color: var(--auth-blue);
}

.auth-input,
.auth-select {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--auth-line);
    border-radius: 16px;
    background: #fff;
    color: var(--auth-ink);
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-input:focus,
.auth-select:focus {
    outline: none;
    border-color: rgba(26, 115, 255, 0.34);
    box-shadow: 0 0 0 4px rgba(26, 115, 255, 0.10);
}

.auth-password-field {
    position: relative;
}

.auth-password-field .auth-input {
    padding-right: 54px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:focus {
    outline: none;
}

.auth-password-toggle:focus-visible {
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(26, 115, 255, 0.14);
}

.auth-password-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-password-toggle .auth-icon-hide {
    display: none;
}

.auth-password-toggle.is-visible .auth-icon-show {
    display: none;
}

.auth-password-toggle.is-visible .auth-icon-hide {
    display: block;
}

.auth-note {
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-note a {
    color: var(--auth-blue-dark);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer {
    margin-top: 18px;
    text-align: center;
    color: var(--auth-muted);
    font-size: 13px;
}

.auth-footer a {
    color: var(--auth-blue-dark);
    text-decoration: none;
    font-weight: 700;
}

.auth-login-page .auth-shell {
    max-width: 1020px;
}

.auth-login-page .auth-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: var(--auth-shadow);
    overflow: hidden;
}

.auth-login-page .auth-panel {
    padding: 38px 34px;
}

.auth-login-page .auth-panel--brand {
    background: linear-gradient(160deg, rgba(7, 31, 89, 0.98), rgba(17, 77, 199, 0.94));
    color: #f7faff;
}

.auth-login-page .auth-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #eef4ff;
}

.auth-login-page .auth-title {
    margin: 18px 0 10px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.auth-login-page .auth-copy {
    margin: 0 0 22px;
}

.auth-login-page .auth-panel--brand .auth-copy {
    color: rgba(247, 250, 255, 0.82);
}

.auth-login-page .auth-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-login-page .auth-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
    color: rgba(247, 250, 255, 0.86);
    line-height: 1.6;
}

.auth-login-page .auth-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7cb5ff;
}

.auth-login-page .auth-form-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auth-login-page .auth-form-copy {
    margin: 0 0 22px;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.65;
}

.auth-login-page .auth-form .uk-form-row {
    margin-bottom: 16px;
}

.auth-login-page .auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
}

.auth-login-page .auth-submit {
    min-width: 170px;
    min-height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--auth-blue), var(--auth-blue-dark));
    box-shadow: 0 14px 26px rgba(26, 115, 255, 0.22);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.auth-login-page .auth-submit:hover,
.auth-login-page .auth-submit:focus {
    color: #fff;
    background: linear-gradient(135deg, #2a82ff, #1262e2);
}

.auth-register-page .auth-shell {
    max-width: 1100px;
}

.auth-register-page .auth-card {
    background: var(--auth-surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: var(--auth-shadow);
    overflow: hidden;
}

.auth-register-page .auth-header {
    padding: 30px 30px 22px;
    border-bottom: 1px solid var(--auth-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
}

.auth-register-page .auth-badge {
    background: rgba(26, 115, 255, 0.08);
    color: var(--auth-blue-dark);
}

.auth-register-page .auth-title {
    margin: 16px 0 8px;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.auth-register-page .auth-copy {
    margin: 0;
    max-width: 720px;
}

.auth-register-page .auth-body {
    padding: 26px 30px 30px;
}

.auth-register-page .auth-referral {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(26, 115, 255, 0.12);
    border-radius: 18px;
    background: rgba(26, 115, 255, 0.05);
}

.auth-register-page .auth-referral strong {
    color: var(--auth-blue-dark);
}

.auth-register-page .auth-referral-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    color: var(--auth-ink);
}

.auth-register-page .auth-referral-copy {
    margin: 0;
    color: var(--auth-muted);
    line-height: 1.6;
}

.auth-register-page .auth-switch-intro {
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(26, 115, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 31, 89, 0.06), rgba(26, 115, 255, 0.08));
}

.auth-register-page .auth-switch-eyebrow {
    margin: 0 0 6px;
    color: var(--auth-blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-register-page .auth-switch-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--auth-ink);
}

.auth-register-page .auth-switch-copy {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-register-page .auth-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.auth-register-page .auth-switch-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.auth-register-page .auth-switch-option input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.auth-register-page .auth-switch-card {
    display: block;
    min-height: 100%;
    padding: 20px 20px 18px;
    border: 2px solid rgba(15, 36, 84, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 10px 24px rgba(7, 31, 89, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.auth-register-page .auth-switch-option:hover .auth-switch-card {
    border-color: rgba(26, 115, 255, 0.22);
    box-shadow: 0 14px 28px rgba(26, 115, 255, 0.10);
    transform: translateY(-1px);
}

.auth-register-page .auth-switch-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(15, 36, 84, 0.07);
    color: var(--auth-blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-register-page .auth-switch-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--auth-ink);
}

.auth-register-page .auth-switch-card small {
    display: block;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-register-page .auth-switch-option.is-active .auth-switch-card,
.auth-register-page .auth-switch-option input:checked + .auth-switch-card {
    position: relative;
    border-color: rgba(26, 115, 255, 0.52);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.98));
    box-shadow: 0 18px 34px rgba(26, 115, 255, 0.14);
    transform: translateY(-2px);
}

.auth-register-page .auth-switch-option.is-active .auth-switch-card::after,
.auth-register-page .auth-switch-option input:checked + .auth-switch-card::after {
    content: "Dipilih";
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--auth-blue), var(--auth-blue-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-register-page .auth-switch-option.is-active .auth-switch-tag,
.auth-register-page .auth-switch-option input:checked + .auth-switch-card .auth-switch-tag {
    background: rgba(26, 115, 255, 0.12);
    color: var(--auth-blue-dark);
}

.auth-register-page .auth-section {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(15, 36, 84, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.92));
}

.auth-register-page .auth-section.is-hidden {
    display: none;
}

.auth-register-page .auth-section-head {
    margin-bottom: 18px;
}

.auth-register-page .auth-section-head--spaced {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--auth-line);
}

.auth-register-page .auth-section-title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    color: var(--auth-ink);
}

.auth-register-page .auth-section-copy {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-register-page .auth-school-toggle {
    margin-bottom: 18px;
}

.auth-register-page .auth-checkbox-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(26, 115, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 31, 89, 0.04), rgba(26, 115, 255, 0.07));
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-register-page .auth-checkbox-card:hover {
    border-color: rgba(26, 115, 255, 0.24);
    box-shadow: 0 14px 28px rgba(26, 115, 255, 0.10);
}

.auth-register-page .auth-checkbox-card.is-active {
    border-color: rgba(22, 163, 74, 0.32);
    box-shadow: 0 18px 32px rgba(22, 163, 74, 0.14);
    transform: translateY(-1px);
}

.auth-register-page .auth-checkbox-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-register-page .auth-checkbox-card__box {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border: 2px solid rgba(15, 36, 84, 0.18);
    border-radius: 9px;
    background: #fff;
    transition: border-color 180ms ease, background 180ms ease;
}

.auth-register-page .auth-checkbox-card__box::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    width: 7px;
    height: 13px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 180ms ease;
}

.auth-register-page .auth-checkbox-card.is-active .auth-checkbox-card__box,
.auth-register-page .auth-checkbox-card input:checked + .auth-checkbox-card__box {
    border-color: #15803d;
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.auth-register-page .auth-checkbox-card.is-active .auth-checkbox-card__box::after,
.auth-register-page .auth-checkbox-card input:checked + .auth-checkbox-card__box::after {
    opacity: 1;
}

.auth-register-page .auth-checkbox-card__content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 800;
    color: var(--auth-ink);
}

.auth-register-page .auth-checkbox-card__content small {
    display: block;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.7;
}

.auth-register-page .auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-register-page .auth-col-full {
    grid-column: 1 / -1;
}

.auth-register-page .auth-grid > .is-hidden {
    display: none;
}

.auth-register-page .auth-grid > .is-disabled {
    opacity: 0.58;
}

.auth-register-page .auth-input:disabled,
.auth-register-page .auth-select:disabled {
    background: #eef1f5;
    border-color: #d8dee8;
    color: #7b879c;
    cursor: not-allowed;
}

.auth-register-page .auth-input:disabled::placeholder {
    color: #a1acbf;
}

.auth-register-page .auth-field-note,
.auth-register-page .auth-field-note-box {
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.7;
}

.auth-register-page .auth-field-note {
    margin: 8px 0 0;
}

.auth-register-page .auth-field-note-box {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2px;
}

.auth-register-page .auth-field-note-box p {
    margin: 0;
}

.auth-register-page .select2-container {
    width: 100% !important;
}

.auth-register-page .select2-container.is-disabled {
    opacity: 0.68;
    pointer-events: none;
}

.auth-register-page .select2-container.is-disabled .select2-selection--single {
    background: #eef1f5;
    border-color: #d8dee8;
}

.auth-register-page .select2-container.is-disabled .select2-selection--single .select2-selection__rendered {
    color: #7b879c;
}

.auth-register-page .select2-container--default .select2-selection--single {
    height: 54px;
    border: 1px solid var(--auth-line);
    border-radius: 16px;
    background: #fff;
    padding: 11px 12px;
}

.auth-register-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
    color: var(--auth-ink);
    padding-left: 2px;
    padding-right: 24px;
}

.auth-register-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 8px;
}

.auth-register-page .konfirmasi_password {
    display: block;
    margin-top: 6px;
}

.auth-register-page .auth-recaptcha {
    margin-top: 22px;
}

.auth-register-page .auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--auth-line);
}

.auth-register-page .auth-button,
.auth-register-page .submit-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--auth-blue), var(--auth-blue-dark));
    box-shadow: 0 14px 26px rgba(26, 115, 255, 0.22);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
}

.auth-register-page .submit-block {
    background: #cfd8eb;
    box-shadow: none;
    color: #5d6c8f;
}

.auth-register-page .btn-submit {
    cursor: pointer;
}

@media only screen and (max-width: 900px) {
    .auth-login-page .auth-card {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 760px) {
    .auth-shell {
        padding: 18px 12px 28px;
    }

    .auth-topbar,
    .auth-login-page .auth-actions,
    .auth-register-page .auth-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-brand img {
        width: min(170px, 52vw);
    }

    .auth-register-page .auth-header,
    .auth-register-page .auth-body {
        padding: 22px 20px;
    }

    .auth-register-page .auth-title {
        font-size: 28px;
    }

    .auth-register-page .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-register-page .auth-switch-title {
        font-size: 21px;
    }

    .auth-register-page .auth-switch {
        grid-template-columns: 1fr;
    }

    .auth-register-page .auth-section {
        padding: 18px;
    }

    .auth-register-page .auth-button,
    .auth-register-page .submit-block,
    .auth-register-page .btn-submit,
    .auth-login-page .auth-submit {
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .auth-login-page .auth-panel {
        padding: 26px 22px;
    }

    .auth-login-page .auth-title {
        font-size: 30px;
    }

    .auth-login-page .auth-form-title {
        font-size: 26px;
    }
}
