/* PAGE BACKGROUND */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px;
}

/* AUTH CARD */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeUp 0.5s ease;
}

/* SHORTER SIGNUP */
.auth-card--compact {
    padding: 32px 28px;
}

/* HEADINGS */
.auth-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #111;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* INPUTS */
.auth-card input {
    width: 95%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-card input:focus {
    border-color: #f5c400;
    box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.2);
    outline: none;
}

/* BUTTON */
.auth-card button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f5c400, #ffb703);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* SWITCH TEXT */
.auth-switch {
    margin-top: 18px;
    font-size: 13px;
    color: #555;
}

.auth-switch a {
    color: #f5c400;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.2rem;
}

.auth-logo img {
    height: 55px;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.auth-logo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.auth-error {
    background: #ffe5e5;
    color: #b30000;
    padding: 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
}
/* ============================
   LOGGED-IN USER STYLING
   (USES EXISTING CLASSES ONLY)
============================ */

/* DESKTOP GREETING */
.nav-actions span {
    background: rgba(0, 0, 0, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 10px;
    display: inline-block;
}

/* DESKTOP LOGOUT BUTTON */
.auth-btn.login {
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.auth-btn.login:hover {
    background: #000;
    transform: translateY(-1px);
}

/* ============================
   MOBILE AUTH AREA
============================ */

.mobile-auth {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* MOBILE GREETING (YOU ALREADY HAVE THIS CLASS) */
.mobile-greeting {
    text-align: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* MOBILE LOGOUT BUTTON */
.auth-btn.logout {
    text-align: center;
    padding: 12px 0;
    border-radius: 999px;
    border: 2px solid #111;
    color: #111;
    font-weight: 600;
    background: transparent;
    transition: all 0.25s ease;
}

.auth-btn.logout:hover {
    background: #111;
    color: #fff;
}

