
/* auth.css - NeonBank Authentication Theme */

:root {
    --primary: #00F5A0;
    --primary-hover: #00D98D;
    --secondary: #080E1C;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --text: #212529;
    --text-muted: #6C757D;
    --border: #DEE2E6;
    --danger-bg: #F8D7DA;
    --danger-text: #721C24;
}

/* Global */
body {
    font-family: Arial, sans-serif;
    background: var(--background);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: var(--text);
}

/* Authentication Container */
.auth-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 6px 18px rgba(8, 14, 28, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Heading */
h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Labels */
label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    font-weight: bold;
    font-size: 14px;
    color: var(--secondary);
}

/* Input Fields */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.15);
}

/* Buttons */
button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Alerts */
.alert {
    background: var(--danger-bg);
    color: var(--danger-text);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 14px;
}

/* Links */
a {
    color: #008F62;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    h2 {
        font-size: 20px;
    }

    button {
        font-size: 14px;
    }
}
