/* --- Reusable Auth Header --- */
.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px var(--neo-blue));
}

.auth-header h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neo-blue);
    font-size: 1.5rem;
    margin: 0.5rem 0 0 0;
    letter-spacing: 1px;
}

/* --- Main Form Container Styles --- */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--bg-color);
}

.auth-form {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-form h2 {
    color: var(--neo-blue);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-family: 'Orbitron', sans-serif;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background-color: #05080d;
    border: 1px solid var(--border-color);
    color: var(--primary-text);
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--neo-blue);
    box-shadow: 0 0 8px var(--neo-blue);
}

/* --- Message Banners (Success/Error) --- */
.auth-form .message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-align: left;
}

.auth-form .error {
    color: var(--neo-red);
    background-color: rgba(255, 7, 58, 0.05);
    border-left: 4px solid var(--neo-red);
}

.auth-form .success {
    color: var(--neo-green);
    background-color: rgba(57, 255, 20, 0.05);
    border-left: 4px solid var(--neo-green);
}

/* ======================================================= */
/* === TWO DISTINCT FOOTER STYLES ======================== */
/* ======================================================= */

/* --- STYLE 1: For Login & Register Pages --- */
/* This is a simple, centered paragraph with bold, blue links */
.auth-footer-centered {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer-centered a {
    color: var(--neo-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    /* Adds a little space around the '|' separator */
    transition: filter 0.2s ease;
}

.auth-footer-centered a:hover {
    filter: brightness(1.3);
    text-shadow: 0 0 5px var(--neo-blue);
}


/* --- STYLE 2: For Check Status Page --- */
/* This has links pushed to opposite sides with a muted color */
.auth-page-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-page-footer a {
    color: var(--neo-blue);
    /* Muted color */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.auth-page-footer a:hover {
    color: var(--neo-blue);
    text-shadow: 0 0 5px var(--neo-blue);
}