/* Account Module Specific Styles */

/* Public Pages (Sign-up, Sign-in, Verify Email, Forgot Password, Reset Password) */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #F5F5F8 0%, #f8f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Split-Screen Auth Container */
.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: white;
}

/* Left Panel - Image with Gradient Overlay */
.auth-image-panel {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem;
}

.auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 63, 208, 0.9) 0%, rgba(74, 50, 184, 0.85) 100%);
    z-index: 1;
}

.auth-image-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-logo {
    display: flex;
    align-items: center;
}

.auth-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-features-grid .feature-box {
    text-align: center;
    padding: 1rem;
}

.auth-benefits-list {
    margin-top: 2rem;
}

.benefit-check {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* New Modern Design Styles */
.auth-features-list {
    margin-top: 2rem;
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon-circle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.auth-bottom-trust {
    margin-top: auto;
}

.trust-avatars {
    display: flex;
    margin-left: -8px;
}

.trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-left: -8px;
    font-size: 0.9rem;
}

/* Right Panel - Form */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    overflow-y: auto;
}

.auth-form-content {
    width: 100%;
    max-width: 480px;
}

.auth-form-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.auth-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1BB874 0%, #16A065 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

/* Legacy Card Style (for simple pages) */
.auth-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

.auth-card .card-body {
    padding: 2.5rem;
}

/* Primary Button - Purple Theme */
.btn-primary {
    background-color: #5B3FD0;
    border-color: #5B3FD0;
    color: white;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.btn-primary:hover {
    background-color: #4A32B8;
    border-color: #4A32B8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(91, 63, 208, 0.3);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #3D2A9F;
    border-color: #3D2A9F;
}

.btn-primary:disabled {
    background-color: #5B3FD0;
    border-color: #5B3FD0;
    opacity: 0.65;
}

/* Outline Primary Button */
.btn-outline-primary {
    color: #5B3FD0;
    border-color: #5B3FD0;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: #5B3FD0;
    border-color: #5B3FD0;
    color: white;
}

/* Links */
a {
    color: #5B3FD0;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: #4A32B8;
    text-decoration: underline;
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: #5B3FD0;
    box-shadow: 0 0 0 0.2rem rgba(91, 63, 208, 0.25);
}

.form-check-input:checked {
    background-color: #5B3FD0;
    border-color: #5B3FD0;
}

.form-check-input:focus {
    border-color: #5B3FD0;
    box-shadow: 0 0 0 0.2rem rgba(91, 63, 208, 0.25);
}

/* Icons */
.text-primary {
    color: #5B3FD0 !important;
}

.bi-envelope-check,
.bi-check-circle-fill,
.bi-x-circle-fill {
    display: inline-block;
}

/* Success State */
.text-success {
    color: #1BB874 !important;
}

/* Error State */
.text-danger {
    color: #E53E3E !important;
}

/* Warning State */
.text-warning {
    color: #FFA726 !important;
}

/* Alert Variants */
.alert-success {
    background-color: #D4F4E2;
    border-color: #1BB874;
    color: #16A065;
}

.alert-danger {
    background-color: #FED7D7;
    border-color: #E53E3E;
    color: #C53030;
}

.alert-warning {
    background-color: #FFF3E0;
    border-color: #FFA726;
    color: #FF9800;
}

/* Verification Banner */
.verification-banner {
    background-color: #FFF3E0;
    border: 1px solid #FFA726;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.verification-banner .btn-outline-warning {
    color: #FF9800;
    border-color: #FF9800;
}

.verification-banner .btn-outline-warning:hover {
    background-color: #FF9800;
    border-color: #FF9800;
    color: white;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-image-panel {
        display: none !important;
    }
    
    .auth-form-panel {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .auth-page {
        padding: 1rem 0.5rem;
    }
    
    .auth-form-panel {
        padding: 1.5rem 1rem;
    }
    
    .auth-form-content {
        max-width: 100%;
    }
}

/* Profile Page Specific */
.profile-section {
    margin-bottom: 2rem;
}

.profile-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 1rem;
}

/* Business Settings Page Specific */
.business-logo-preview {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
}

/* Status Badge */
.badge.bg-primary {
    background-color: #5B3FD0 !important;
}

.badge.bg-success {
    background-color: #1BB874 !important;
}

.badge.bg-warning {
    background-color: #FFA726 !important;
    color: #2D3748 !important;
}

.badge.bg-danger {
    background-color: #E53E3E !important;
}

/* Card Hover Effects */
.card {
    transition: all 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Utility Classes */
.text-muted {
    color: #718096 !important;
}

.text-secondary {
    color: #718096 !important;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Gap Utilities */
.gap-sm {
    gap: 0.5rem;
}

.gap-base {
    gap: 0.75rem;
}

.gap-lg {
    gap: 1.5rem;
}

/* Margin Bottom Utilities */
.mb-xs {
    margin-bottom: 0.25rem;
}

.mb-base {
    margin-bottom: 0.75rem;
}

.mb-lg {
    margin-bottom: 1.5rem;
}

/* Space Y Utilities */
.space-y-base > * + * {
    margin-top: 0.75rem;
}
