/* =========================
   WRAPPER
========================= */
.django-register-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* =========================
   CARD
========================= */
.django-register-form {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #111 0%, #0b0b0b 100%);
    border-radius: 24px;
    padding: 36px 32px 32px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.9),
        inset 0 0 0 1px rgba(255,255,255,0.06);
    color: #ffffff;
}

/* =========================
   LOGO
========================= */
.django-register-logo {
    text-align: center;
    margin-bottom: 18px;
}

.django-register-logo img {
    max-width: 170px;
    height: auto;
}

/* =========================
   HEADING
========================= */
.django-register-form h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
}

.django-register-form .subtitle {
    text-align: center;
    font-size: 14px;
    color: #9a9a9a;
    margin-bottom: 28px;
}

/* =========================
   INPUT ROWS
========================= */
.django-register-form .row {
    display: flex;
    gap: 12px;
}

/* =========================
   INPUTS / SELECT
========================= */
.django-register-form input,
.django-register-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0f0f0f;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    height: 3em;
}

.django-register-form input::placeholder {
    color: #7d7d7d;
}

.django-register-form input:focus,
.django-register-form select:focus {
    border-color: #f29b52;
    box-shadow: 0 0 0 2px rgba(242,155,82,0.25);
    outline: none;
}

/* =========================
   PRIMARY BUTTON
========================= */
.django-btn-primary {
    width: 100%;
    margin-top: 8px;
    padding: 10px !important;
    border-radius: 18px;
    border: none;
    background: linear-gradient(180deg, #f3a15c, #e58a3f);
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 30px rgba(242,155,82,0.45);
}

.django-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(242,155,82,0.55);
}

.django-btn-primary:active {
    transform: scale(0.97);
}

/* =========================
   FOOTER LINK
========================= */
.django-register-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: #b0b0b0;
}

.django-register-footer a {
    color: #f29b52;
    font-weight: 600;
    text-decoration: none;
}

.django-register-footer a:hover {
    text-decoration: underline;
}

/* =========================
   OTP MODAL
========================= */
.otp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.otp-modal.active {
    display: flex;
}

/* =========================
   OTP BOX
========================= */
.otp-box {
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    border-radius: 26px;
    padding: 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 30px 90px rgba(0,0,0,0.9),
        inset 0 0 0 1px rgba(255,255,255,0.06);
    color: #ffffff;
}

.otp-box h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.otp-box p {
    font-size: 14px;
    color: #9a9a9a;
    margin-bottom: 24px;
}

/* =========================
   OTP INPUTS
========================= */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 26px;
}

.otp-digit {
    width: 54px;
    height: 58px;
    border-radius: 14px;
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 22px;
    color: #ffffff;
    text-align: center;
    transition: border 0.2s, box-shadow 0.2s;
}

.otp-digit:focus {
    border-color: #f29b52;
    box-shadow: 0 0 0 2px rgba(242,155,82,0.25);
    outline: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {

    .django-register-form {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .otp-box {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .otp-digit {
        width: 44px;
        height: 50px;
        font-size: 20px;
    }
}

/* Resend OTP */
.otp-resend {
    margin-top: 16px;
    font-size: 14px;
    color: #9a9a9a;
}

.otp-resend button {
    background: none;
    border: none;
    color: #f29b52;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.otp-resend button:hover {
    text-decoration: underline;
}