/* B&A Support Auth Styles - Complete Version */

/* Auth Container */
.ba-st-auth-container {
    max-width: 500px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Tabs */
.ba-st-auth-tabs {
    display: flex;
    background: #f5f5f5;
}

.ba-st-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.ba-st-tab.active {
    background: #D63031;
    color: #fff;
}

.ba-st-tab:hover {
    background: #E67E22;
    color: #fff;
}

/* Forms */
.ba-st-auth-form {
    display: none;
    padding: 30px;
}

.ba-st-auth-form.active {
    display: block;
}

.ba-st-auth-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
    font-family: 'Vazirmatn', sans-serif;
}

.ba-st-auth-form label {
    display: block;
    margin-bottom: 15px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    color: #333;
}

.ba-st-auth-form input[type="text"],
.ba-st-auth-form input[type="email"],
.ba-st-auth-form input[type="password"],
.ba-st-auth-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    margin-top: 5px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.ba-st-auth-form input:focus {
    outline: none;
    border-color: #D63031;
}

.ba-st-auth-form .button-primary {
    width: 100%;
    padding: 12px;
    background: #D63031;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.ba-st-auth-form .button-primary:hover {
    background: #c0392b;
}

.ba-st-auth-form .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ba-st-auth-form .login-remember input[type="checkbox"] {
    width: auto;
}

/* CAPTCHA */
.ba-st-captcha {
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.ba-st-captcha label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.ba-st-captcha input[type="number"] {
    width: 100px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

/* Welcome Message */
.ba-st-welcome {
    background: linear-gradient(135deg, #D63031, #E67E22);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.ba-st-welcome h3 {
    margin: 0 0 10px 0;
    font-family: 'Vazirmatn', sans-serif;
}

.ba-st-welcome p {
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
    opacity: 0.9;
}

/* Success Message */
.ba-st-success-message {
    text-align: center;
    padding: 40px 30px;
}

.ba-st-success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #fff;
}

.ba-st-success-message h3 {
    color: #27ae60;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 10px;
}

.ba-st-success-message p {
    color: #666;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 10px;
}

.ba-st-email-notice {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: right;
}

.ba-st-email-notice h4 {
    color: #333;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 10px;
}

.ba-st-email-notice p {
    color: #555;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 8px;
    line-height: 1.6;
}

.ba-st-note {
    font-size: 13px;
    color: #888 !important;
    font-style: italic;
}

/* Error Message */
.ba-st-error-message {
    text-align: center;
    padding: 30px;
}

.ba-st-error-message h3 {
    color: #e74c3c;
    font-family: 'Vazirmatn', sans-serif;
    margin-bottom: 15px;
}

.ba-st-error-message ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.ba-st-error-message li {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-family: 'Vazirmatn', sans-serif;
}

/* Buttons */
.ba-st-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #D63031;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.ba-st-btn:hover {
    background: #c0392b;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .ba-st-auth-container {
        margin: 15px;
    }
    
    .ba-st-auth-form {
        padding: 20px;
    }
    
    .ba-st-tab {
        padding: 12px;
        font-size: 14px;
    }
}
