/* ============================================================
   LexVault — Auth Pages CSS (Beautified)
   ============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06080d; /* Slightly darker navy */
    position: relative;
    overflow: hidden;
    padding: var(--space-6);
}

/* ── Animated Background Blobs ── */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: blob-float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    top: -100px; right: -100px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(74,158,255,0.1) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}
.blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: blob-pulse 15s infinite alternate ease-in-out;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.1); }
}
@keyframes blob-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.4; }
}

.auth-container {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 10;
}

/* ── Brand ── */
.auth-brand {
    text-align: center;
    margin-bottom: var(--space-8);
}
.auth-brand__logo {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--clr-gold), #8e6f2d);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: #0a0a0a;
    margin: 0 auto var(--space-4);
    box-shadow: 0 10px 25px rgba(201,168,76,0.25);
    position: relative;
}
.auth-brand__logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}
.auth-brand__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-text);
    letter-spacing: -0.02em;
}
.auth-brand__name span { color: var(--clr-gold); }

.auth-brand__tagline {
    font-size: 0.75rem;
    color: var(--clr-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 6px;
    opacity: 0.8;
}

/* ── Card ── */
.auth-card {
    background: rgba(18, 22, 31, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: var(--space-8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.auth-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-text);
    margin-bottom: var(--space-2);
}
.auth-card__subtitle {
    font-size: 0.95rem;
    color: var(--clr-text-3);
    margin-bottom: var(--space-8);
}

/* ── Form Inputs ── */
.form-group { margin-bottom: var(--space-5); }
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-3);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-icon-wrapper { position: relative; }
.input-icon-wrapper .form-control {
    padding-left: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 52px;
    transition: all 0.3s;
}
.input-icon-wrapper .form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-gold);
    box-shadow: 0 0 15px rgba(201,168,76,0.1);
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-3);
    font-size: 1rem;
    transition: color 0.3s;
}
.form-control:focus + .input-icon,
.form-control:not(:placeholder-shown) + .input-icon {
    color: var(--clr-gold);
}

.input-eye-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-3);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    padding: 4px;
}
.input-eye-toggle:hover { color: var(--clr-gold); transform: scale(1.1); }

/* ── Auth Button ── */
.auth-submit {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
    color: #0a0a0a;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: var(--space-6);
    box-shadow: 0 10px 20px rgba(201,168,76,0.2);
}
.auth-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(201,168,76,0.4);
    filter: brightness(1.1);
}
.auth-submit:active { transform: translateY(-1px); }

/* ── Footer ── */
.auth-footer-link {
    text-align: center;
    margin-top: var(--space-8);
    font-size: 0.95rem;
    color: var(--clr-text-3);
}
.auth-footer-link a {
    color: var(--clr-gold);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}
.auth-footer-link a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--clr-gold);
    transition: width 0.3s;
}
.auth-footer-link a:hover::after { width: 100%; }

/* ── Remember Me ── */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: var(--space-4) 0;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-text-3);
    cursor: pointer;
    font-size: 0.88rem;
    user-select: none;
}
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--clr-gold);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .auth-card { padding: var(--space-6); border-radius: 20px; }
    .auth-brand__name { font-size: 1.8rem; }
    .auth-card__title { font-size: 1.5rem; }
}
