/* ================= AUTH PAGE - CRITICAL CSS ================= */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 60px 20px;
}

/* CARD */
.auth-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 480px;
    width: 100%;
    transition: box-shadow 0.2s;
}

.auth-card:hover {
    box-shadow: 0 12px 45px rgba(0,0,0,0.12);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
}

/* INPUTS */
.auth-card input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-size: 15px;
    transition: all 0.2s;
}

.auth-card input:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 2px rgba(69,123,157,0.15);
}

/* BUTTON FULL WIDTH */
.w-100 {
    width: 100%;
}

/* ERROR */
.error {
    background: #ffe5e7;
    color: #b71c1c;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error p {
    margin: 0;
}

/* SUCCESS */
.success {
    background: #e6f7ec;
    color: #1b5e20;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* FOOTER LINKS */
.auth-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.auth-footer a {
    flex: 1;
    text-align: center;
    padding: 11px;
    background: #f1f1f1;
    color: var(--accent);
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.auth-footer a:hover {
    background: var(--accent);
    color: #fff;
}

/* SINGLE LINK (FORGOT PAGE) */
.auth-link {
    text-align: center;
    margin-top: 12px;
}

.auth-link a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* SMALL TEXT */
.auth-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .auth-container {
        padding: 40px 15px;
    }
    .auth-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .auth-footer {
        flex-direction: column;
    }
    .auth-footer a {
        width: 100%;
    }
}