/* ==========================================================================
   BayBiz Auth Styles (Login & Registration)
   ========================================================================== */

.auth-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 1. THE CARD */
.auth-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* 2. THE TABS */
.auth-tabs {
    display: flex;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    transition: 0.3s;
}

.auth-tab.active {
    background: #fff;
    color: #3f21b5;
    border-bottom: 3px solid #3f21b5;
}

/* 3. FORM BODY */
.auth-body {
    padding: 40px;
}

.auth-title {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* 4. INPUT GROUPS */
.modern-group {
    margin-bottom: 20px;
}

.modern-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #3f21b5;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-group input {
    width: 100%;
    padding: 14px 18px;
    background: #f9f9fb;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: 0.3s;
}

.modern-group input:focus {
    border-color: #3f21b5;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(63, 33, 181, 0.05);
}

/* Password View Toggle */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 800;
    color: #3f21b5;
    cursor: pointer;
    text-transform: uppercase;
}

/* Links & Buttons */
.forgot-wrapper {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-link {
    color: #3f21b5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
}

.btn-register {
    background: #10b981 !important; /* Green for new account */
}

/* 5. MODAL */
.auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    width: 90%;
    max-width: 400px;
}

.close-modal {
    float: right;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: #bbb;
}

/* Footer Centering */
.home-footer {
    text-align: center !important;
    padding: 40px 0;
    color: #bbb;
    font-size: 13px;
}

/* Alerts */
.auth-alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.alert-error { background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }