/* ========== Auth Pages Modern UI ========== */

.auth-body {
    min-height: 100vh;
    min-height: 100dvh;
    background: #F4F7FE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin: 0;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    padding: 24px 20px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    display: inline-block;
}

.auth-flash {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

.auth-flash-error {
    background: #FEE2E2;
    color: #E5484D;
    border: 1px solid #FECACA;
}

.auth-flash-success {
    background: #E6F9F0;
    color: #1E9E5A;
    border: 1px solid #B7EBD5;
}

.auth-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1F36;
    text-align: center;
    margin: 0 0 18px;
}

.auth-card .form-label {
    font-weight: 600;
    font-size: 13px;
    color: #1A1F36;
    display: block;
    margin-bottom: 4px;
}

.auth-card .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-size: 15px;
    background: #FFFFFF;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.auth-card .form-control:focus {
    outline: none;
    border-color: #2E7BF6;
    box-shadow: 0 0 0 3px rgba(46,123,246,0.12);
}

.auth-card select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.auth-card .btn-block {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1E5FD9 0%, #2E7BF6 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: opacity 0.2s, transform 0.1s;
}

.auth-card .btn-block:hover {
    opacity: 0.92;
}

.auth-card .btn-block:active {
    transform: scale(0.99);
}

.auth-card .text-center {
    text-align: center;
}

.auth-card .text-muted {
    color: #6B7280;
}

.auth-card small {
    display: block;
    margin-top: -8px;
    margin-bottom: 8px;
    font-size: 12px;
}

.auth-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1A1F36;
    margin: 18px 0 8px;
    border-top: 1px solid #E5E7EB;
    padding-top: 18px;
}

.auth-card .mt-2 {
    margin-top: 12px;
}

.auth-card a {
    color: #2E7BF6;
    text-decoration: none;
    font-weight: 500;
}

.auth-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 18px 14px;
        border-radius: 16px;
    }
    .auth-card h2 {
        font-size: 20px;
    }
    .auth-card .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
}