/* Orange and Green Color Accents */
:root {
    --rezza-orange: #f59e0b;
    --rezza-orange-dark: #d97706;
    --rezza-green: #10b981;
    --rezza-green-dark: #059669;
}

/* Reset all layout constraints for login page */
body.page-login {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

body.page-login .main-layout {
    overflow-y: auto !important;
    height: auto !important;
    flex: none !important;
}

body.page-login .content-wrapper {
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

body.page-login .main-content {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

body.page-login .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 90vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Ensure footer is visible on login page */
.modern-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 0;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: visible;
    max-width: 1000px;
    width: 90%;
    margin: auto;
    position: relative;
}

.login-left {
    padding: 3rem;
    background: white;
    overflow-y: auto;
}

.login-right {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)),
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.brand-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.brand-logo:hover {
    color: #667eea;
    text-decoration: none;
}

.brand-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.form-control {
    border: 2px solid #f1f3f4;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    background: white;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #e5e7eb;
    color: #6b7280;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-login {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    color: white;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.google {
    background: #4285f4;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.testimonial-icon {
    width: 50px;
    height: 50px;
}

.social-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.alert {
    border-radius: 12px;
    border: none;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.text-muted {
    color: #6b7280 !important;
}

.toggle-password {
    cursor: pointer;
}

@media (max-width: 768px) {
    .login-page {
        padding: 1rem 0.5rem;
        min-height: auto;
    }
    .login-container {
        width: 95%;
        border-radius: 15px;
        min-height: auto;
    }
    .login-left, .login-right {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    .login-right {
        padding: 1.5rem;
        min-height: 200px;
    }
    .row.g-0 {
        flex-direction: column;
    }
    .col-lg-6 {
        width: 100% !important;
    }
}

/* Orange and Green Accents for Login Page */
.brand-logo {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 800 !important;
}

.brand-icon {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 8px !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
}

.form-control:focus {
    border-color: var(--rezza-orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25) !important;
}

.text-primary {
    color: var(--rezza-orange) !important;
}

.text-success {
    color: var(--rezza-green) !important;
}

/* Success messages with green accent */
.alert-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-color: var(--rezza-green) !important;
    color: var(--rezza-green-dark) !important;
}

/* Info messages with orange accent */
.alert-info {
    background-color: rgba(245, 158, 11, 0.1) !important;
    border-color: var(--rezza-orange) !important;
    color: var(--rezza-orange-dark) !important;
}

/* Enhanced "Manage Your Business Like a Pro" section */
.login-right h3 {
    color: white !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.login-right h3 span {
    color: white !important;
    font-weight: 900 !important;
}

.login-right .lead {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border-left: 4px solid var(--rezza-orange) !important;
}

.feature-list li i.mdi-check-circle {
    color: var(--rezza-green) !important;
    font-size: 1.2rem !important;
    margin-right: 12px !important;
}

.feature-list li {
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
}

.feature-list li span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
}

/* Testimonial styling with orange accent */
.testimonial-quote {
    border-left: 4px solid var(--rezza-orange) !important;
    padding-left: 1rem !important;
    font-style: italic !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.testimonial-author {
    color: var(--rezza-green) !important;
    font-weight: 600 !important;
}

.testimonial-icon {
    background: linear-gradient(135deg, var(--rezza-orange), var(--rezza-orange-dark)) !important;
    color: white !important;
}
