/* ============================================
   AUTH — Login Styles
   ============================================ */

:root {
    --auth-bg: #0b0a1d;
    --auth-accent: #c9a0dc;
}

.auth-theme {
    background: var(--auth-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    z-index: 10;
    animation: fadeInScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--auth-accent));
}

.auth-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-form {
    text-align: left;
}

.auth-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: #ff5252;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 15px 20px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--auth-accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 160, 220, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 10px;
}

.auth-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* --- Floating Decorations --- */
.floating-hearts span {
    position: absolute;
    bottom: -10vh;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatUp 15s infinite linear;
    pointer-events: none;
}

.floating-hearts span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
}

.floating-hearts span:nth-child(2) {
    left: 30%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.floating-hearts span:nth-child(3) {
    left: 50%;
    animation-duration: 15s;
    animation-delay: 5s;
}

.floating-hearts span:nth-child(4) {
    left: 70%;
    animation-duration: 20s;
    animation-delay: 1s;
}

.floating-hearts span:nth-child(5) {
    left: 90%;
    animation-duration: 14s;
    animation-delay: 8s;
}

@keyframes floatUp {
    from {
        transform: translateY(0) rotate(0);
    }

    to {
        transform: translateY(-120vh) rotate(360deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 40px 25px;
    }
}