/* ===========================
   MODERN AUTH/LOGIN STYLES
=========================== */

.auth-container {
    min-height: calc(100vh - 80px); /* adjust if navbar height differs */
    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    padding: 40px 20px;
}

.auth-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}



.auth-card {
    background: #ffffff;
    padding: 48px;
    width: 100%;
    max-width: 440px;
    border-radius: 24px; /* Matches modern home sections */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.auth-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 32px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Links & Buttons */
.forgot-row {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 24px;
}

.forgot-link {
    font-size: 13px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Button override to be modern and minimalist */
.full-width {
    width: 100%;
    cursor: pointer;
    border: none;
    padding: 14px;
    font-size: 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    color: #4338ca;
}