﻿/* -----------------------------------------------------------
   AUTH LAYOUT — TheScene.Rocks
   Cinematic Dark Mode Authentication Styles
----------------------------------------------------------- */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Background */
body {
    background: #0d0f12;
    color: #f3f4f6;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Card */
.auth-card {
    background: #16191f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.4s ease-out;
}

    /* Success / Error Variants */
    .auth-card.success h1,
    .auth-card.success h2 {
        color: #22c55e;
    }

    .auth-card.error h1,
    .auth-card.error h2 {
        color: #ef4444;
    }

    /* Headings */
    .auth-card h1,
    .auth-card h2 {
        font-weight: 700;
        margin-bottom: 12px;
        text-align: center;
    }

    .auth-card p {
        color: #9ca3af;
        text-align: center;
        margin-bottom: 24px;
    }

    /* Form Fields */
    .auth-card label {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 6px;
        color: #d1d5db;
    }

    .auth-card input {
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.1);
        background: #0d0f12;
        color: #f3f4f6;
        font-size: 1rem;
        outline: none;
        transition: border 0.2s ease, box-shadow 0.2s ease;
    }

        .auth-card input:focus {
            border-color: #8b5cf6;
            box-shadow: 0 0 0 3px rgba(139,92,246,0.3);
        }

    /* Buttons */
    .auth-card button {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        border: none;
        background: #8b5cf6;
        color: white;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.1s ease;
    }

        .auth-card button:hover {
            background: #7c3aed;
        }

        .auth-card button:active {
            transform: scale(0.97);
        }

    /* Links */
    .auth-card a {
        color: #a78bfa;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .auth-card a:hover {
            color: #c4b5fd;
        }

    /* Footer Links */
    .auth-card .footer-link {
        margin-top: 20px;
        text-align: center;
        color: #9ca3af;
        font-size: 0.9rem;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
