/*
|--------------------------------------------------------------------------
| Authentication Pages
|--------------------------------------------------------------------------
| Split-screen login layout and centered card layout used by
| register / forgot-password / reset-password pages.
*/

.auth-split {
    display: flex;
    min-height: 100vh;
}

.auth-split-panel {
    flex: 1 1 50%;
    background:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(150deg, var(--maroon-900) 0%, var(--maroon-700) 60%, var(--maroon-800) 100%);
    background-size: 24px 24px, 100% 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-split-panel::before,
.auth-split-panel::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.04);
}

.auth-split-panel::before {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -160px;
    transform: rotate(35deg);
    border-radius: 2rem;
}

.auth-split-panel::after {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -140px;
    transform: rotate(20deg);
    background: rgba(212, 160, 23, 0.08);
    border-radius: 2rem;
}

.auth-split-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 420px;
}

.auth-split-content .brand-name {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.auth-split-content .brand-name span {
    color: var(--gold-light);
    font-style: italic;
}

.auth-split-content .brand-tag {
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

.auth-split-content hr {
    width: 70px;
    border-top: 2px solid var(--gold);
    opacity: 1;
    margin: 1.5rem auto;
}

.auth-split-content h2 {
    color: #fff;
    font-size: 1.5rem;
}

.auth-split-content p {
    color: rgba(255, 255, 255, 0.75);
}

.auth-form-panel {
    flex: 1 1 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.auth-form-wrap {
    width: 100%;
    max-width: 420px;
}

.auth-seal {
    width: 78px;
    height: 78px;
    display: block;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 8px 18px rgba(36, 16, 22, 0.2));
}

.auth-form-wrap h1 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.15rem;
}

.auth-form-wrap .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.auth-card {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
    padding: 2rem;
    animation: auth-card-in 0.35s ease;
}

@keyframes auth-card-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------
   Centered layout (register / forgot password / reset password)
   -------------------------------------------------------------------- */

.auth-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    padding: 2rem 1rem;
}

.auth-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--maroon-600), var(--maroon-800));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 16px rgba(92, 16, 41, 0.3);
}

@media (max-width: 991.98px) {
    .auth-split-panel {
        display: none;
    }

    .auth-split {
        min-height: auto;
    }
}
