/* =========================================================
   Modern Register Page
========================================================= */

.register-modern-page {
    position: relative;
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 0 38px;
    overflow: hidden;
}

.register-modern-card {
    position: relative;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .92)),
        radial-gradient(circle at 20% 10%, rgba(255, 219, 175, .30), transparent 34%);
    border: 1px solid rgba(232, 225, 216, .95);
    border-radius: 30px;
    padding: 24px 18px 18px;
    box-shadow:
        0 22px 60px rgba(0, 60, 135, .12),
        0 8px 22px rgba(15, 23, 42, .06);
    animation: registerCardIn .55s ease-out both;
    z-index: 2;
}

.register-brand-area {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: registerFadeUp .6s ease-out both;
}

.register-logo-wrap {
    width: 118px;
    min-height: 82px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(232, 225, 216, .9);
    box-shadow: 0 14px 32px rgba(0, 60, 135, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 16px;
    animation: registerLogoFloat 3.2s ease-in-out infinite;
}

.register-logo {
    max-width: 100%;
    max-height: 62px;
    object-fit: contain;
}

.register-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--itb-persian-gem);
    background: rgba(0, 149, 146, .10);
    border: 1px solid rgba(0, 149, 146, .18);
    border-radius: 999px;
    padding: 6px 11px;
    font-family: "ITB-Roboto", "ITB-Yekan", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.register-brand-area h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.7;
    font-weight: 900;
    color: var(--text);
}

.register-brand-area p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    max-width: 380px;
}

.register-modern-form {
    margin-top: 22px;
    animation: registerFadeUp .65s ease-out both;
    animation-delay: .12s;
}

.register-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.register-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.register-field.full {
    grid-column: 1 / -1;
}

.register-field label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.register-field input,
.register-field select,
.register-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 13px 13px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus {
    border-color: var(--itb-persian-gem);
    box-shadow: 0 0 0 4px rgba(0, 149, 146, .10);
}

.register-field ul.errorlist {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--danger);
    font-size: 12px;
    line-height: 1.8;
}

.register-form-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.8;
}

.register-form-alert ul {
    margin: 0;
    padding-right: 18px;
}

.register-submit-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border-radius: 16px;
    font-size: 15px;
    box-shadow: 0 12px 28px rgba(0, 60, 135, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.register-submit-btn:active {
    transform: scale(.985);
}

.register-submit-btn:hover {
    box-shadow: 0 16px 34px rgba(0, 60, 135, .24);
}

.register-footer-note {
    margin-top: 18px;
    padding: 12px;
    background: rgba(247, 243, 236, .78);
    border: 1px solid rgba(232, 225, 216, .9);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
}

.register-footer-note a {
    color: var(--itb-deep-horizon);
    font-weight: 800;
    text-decoration: none;
}

.register-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    opacity: .34;
    animation: registerOrbMove 7s ease-in-out infinite alternate;
}

.register-orb-one {
    width: 150px;
    height: 150px;
    background: rgba(0, 60, 135, .18);
    top: 2%;
    right: -65px;
}

.register-orb-two {
    width: 120px;
    height: 120px;
    background: rgba(255, 124, 0, .20);
    left: -50px;
    top: 32%;
    animation-delay: .8s;
}

.register-orb-three {
    width: 170px;
    height: 170px;
    background: rgba(0, 149, 146, .14);
    bottom: 0;
    right: 38%;
    animation-delay: 1.2s;
}

@keyframes registerCardIn {
    from {
        transform: translateY(18px) scale(.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes registerFadeUp {
    from {
        transform: translateY(14px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes registerLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes registerOrbMove {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(10px, -14px, 0) scale(1.08);
    }
}

@media (max-width: 420px) {
    .register-modern-card {
        padding: 20px 14px 16px;
        border-radius: 26px;
    }

    .register-brand-area h1 {
        font-size: 21px;
    }

    .register-logo-wrap {
        width: 106px;
        min-height: 76px;
    }

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

