/* === AUTHENTICATION PAGE STYLES === */

:root {
    --auth-bg: #121212;
    --auth-text: #E0E0E0;
    --text-secondary: #B0B8C4;
    --container-bg: #1C1C1E;
    --border-color: #333333;
    --accent-color: #E0E0E0; /* PANTONE 11-4201 - Light Grey for glow */
    --link-color: #00A3FF;   /* Using the blue neon color for links */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--auth-bg);
    color: var(--auth-text);
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.auth-container {
    width: 100%;
    max-width: 360px;
    padding: 30px;
    background-color: var(--container-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    animation: neon-pulse 4s infinite ease-in-out;
}

@keyframes neon-pulse {
    0%, 100% {
        box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
    }
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--auth-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: var(--auth-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--auth-text);
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* This is the fix */
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px var(--accent-color);
}

.auth-button {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--auth-text);
    background: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
    box-shadow: 0 0 8px var(--accent-color);
}

.auth-button:hover {
    background-color: rgba(224, 224, 224, 0.1);
    box-shadow: 0 0 15px var(--accent-color), 0 0 25px var(--accent-color);
    color: var(--accent-color);
}

.switch-form-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.switch-form-link a {
    color: var(--link-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.switch-form-link a:hover {
    color: #33baff; /* Lighter blue */
    text-shadow: 0 0 5px var(--link-color);
}

.error-message {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}
