/* Shared styling for the public account pages (register / verify / forgot).
   Mirrors the premium login card so the whole auth surface stays consistent. */
.auth-wrap {
    max-width: 480px;
    margin: 2.5rem auto;
}
.auth-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6ff 100%);
    border: 1px solid rgba(120, 180, 255, 0.45);
    border-radius: 1.25rem;
    padding: 2rem 2rem 1.8rem;
    box-shadow: 0 18px 44px rgba(74, 52, 148, 0.14);
}
.auth-card h1 {
    color: #2b2450;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}
.auth-card .auth-lead {
    color: #5a5a75;
    font-size: 0.92rem;
    margin: 0 0 1.5rem;
}
.auth-card .form-floating > .form-control {
    border: 1px solid #d5d8e8;
    border-radius: 0.6rem;
    color: #2b2450;
}
.auth-card .form-floating > .form-control:focus {
    border-color: #5b6fd8;
    box-shadow: 0 0 0 3px rgba(91, 111, 216, 0.2);
}
.auth-card .form-floating > label {
    color: #84849b;
}
.auth-card .text-danger {
    font-size: 0.85rem;
}
.password-field .form-control {
    padding-right: 3rem;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-46%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #9493b0;
    cursor: pointer;
    padding: 0;
    z-index: 3;
}
.password-toggle:hover {
    color: #4a3494;
}
.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 111, 216, 0.25);
}
.auth-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #4a3494 0%, #5b6fd8 100%);
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(91, 111, 216, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 12px 26px rgba(74, 52, 148, 0.4);
}
.auth-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(74, 52, 148, 0.3);
}
.auth-code-input {
    letter-spacing: 0.5rem;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 700;
}
.auth-links {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    justify-content: center;
    font-size: 0.88rem;
}
.auth-links a {
    color: #4a3494;
    text-decoration: none;
    font-weight: 600;
}
.auth-links a:hover {
    text-decoration: underline;
}
.auth-message {
    text-align: center;
    padding: 0.75rem 0 0.25rem;
}
.auth-message-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
}
.auth-message-icon.success {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.35);
}
.auth-message-icon.error {
    background: linear-gradient(135deg, #c62828, #e53935);
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.35);
}
.auth-message h2 {
    color: #2b2450;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}
.auth-message p {
    color: #5a5a75;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

/* ---------- Premium two-column split (branding left / form right) ---------- */
.auth-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    min-height: calc(100vh - 1rem);
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(23, 15, 56, 0.32), 0 0 0 1px rgba(120, 160, 255, 0.18);
}
.auth-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.auth-brand-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}
.auth-brand-glow-a {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -60px;
    background: #7aa5ff;
}
.auth-brand-glow-b {
    width: 280px;
    height: 280px;
    bottom: -120px;
    left: -80px;
    background: #6a5bd8;
}
.auth-brand-orbit {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px dashed rgba(170, 185, 255, 0.5);
    animation: authOrbitSpin 22s linear infinite;
}
.auth-brand-orbit::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9db4ff;
    box-shadow: 0 0 12px #9db4ff;
}
.auth-brand-logo {
    position: relative;
    z-index: 1;
}
.auth-brand-logo img {
    width: 170px;
    height: 170px;
    border-radius: 2rem;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.08);
}
.auth-brand-title {
    position: relative;
    z-index: 1;
    margin: 1.6rem 0 0.3rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f7c84;
}
.auth-brand-subtitle {
    position: relative;
    z-index: 1;
    color: #0f7c84;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin: 0;
}
.auth-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef1fb 100%);
}
@keyframes authOrbitSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 860px) {
    .auth-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .auth-brand-panel {
        padding: 2.5rem 1.5rem;
    }
    .auth-brand-orbit {
        width: 260px;
        height: 260px;
    }
    .auth-brand-logo img {
        width: 130px;
        height: 130px;
    }
    .auth-login-panel {
        padding: 2rem 1rem;
    }
}