/* SalesAgent Auth Pages Styling */

/* Login Card */
.login-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
}

.login-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Form Groups */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.input-required-icon {
    color: #dc3545;
    margin-left: 2px;
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.password-toggle-indicator {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Custom Switch for SSN Toggle */
.custom-switch .custom-control-label::before {
    background-color: #dee2e6;
}

.custom-switch .custom-control-input:checked~.custom-control-label::before {
    background-color: #007bff;
}

/* Review Section */
.card-header.bg-light {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}

/* Table Styling */
.table-borderless td {
    padding: 0.5rem 0.75rem;
}

.table-borderless .font-weight-bold {
    font-weight: 600 !important;
}

/* Alert Styling */
.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Success Alert */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Button Styling */
.btn--primary {
    background: linear-gradient(135deg, black 0%, var(--primary-color-dark, #0056b3) 100%);
    border-color: black;
    color: #fff;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #333 0%, black 100%);
    border-color: black;
}

.btn-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-block {
    width: 100%;
}

/* Text Utilities */
.text-underline {
    text-decoration: underline;
}

.font-semi-bold {
    font-weight: 600;
}

.opacity-70 {
    opacity: 0.7;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Auth Email Input */
.auth-email-input {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.auth-email-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Invalid Feedback */
.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid~.invalid-feedback {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
    }

    .login-card h2 {
        font-size: 1.25rem;
    }

    .fs-18-mobile {
        font-size: 18px !important;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 1rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .form-control {
        font-size: 0.9rem;
    }
}

/* Custom Control Checkbox */
.custom-control-label {
    cursor: pointer;
    user-select: none;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: black;
    border-color: black;
}

/* Text Align Direction */
.text-align-direction {
    text-align: left;
}

[dir="rtl"] .text-align-direction {
    text-align: right;
}

/* Form Control RTL Support */
.rtl {
    direction: ltr;
}

[dir="rtl"] .rtl {
    direction: rtl;
}

/* User Vector Image */
.w-70px {
    width: 70px;
}

/* Spacing Utilities */
.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-lg-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Card Styling for Registration */
.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, black 0%, var(--primary-color-dark, #0056b3) 100%) !important;
}

.card-header.bg-primary h3,
.card-header.bg-primary .mb-0 {
    color: #fff !important;
}

/* Modal Styling */
.modal-lg {
    max-width: 800px;
}

.modal-body h6 {
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

/* Sales Agent Form Primary Buttons */
.wizard-navigation .btn-primary,
#salesAgentRegistrationForm .btn-primary {
    background: linear-gradient(135deg, black 0%, var(--primary-color-dark, #0056b3) 100%);
    border-color: black;
    color: #fff;
}

.wizard-navigation .btn-primary:hover,
#salesAgentRegistrationForm .btn-primary:hover {
    background: linear-gradient(135deg, #333 0%, black 100%);
    border-color: black;
    color: #fff;
}

.wizard-navigation .btn-primary:focus,
#salesAgentRegistrationForm .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Form Input Focus State */
#salesAgentRegistrationForm .form-control:focus {
    border-color: black;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.15);
}
