/* =====================================================
   MODERN AUTH PAGES STYLES - Buzee.io
   ===================================================== */

.auth-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23ffffff" fill-opacity="0.03" width="50" height="50"/><rect fill="%23ffffff" fill-opacity="0.03" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.auth-section .container {
    position: relative;
    z-index: 1;
}

/* Auth Card */
.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.auth-header {
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.auth-body {
    padding: 2rem;
}

/* Social Login Buttons */
.social-login-buttons {
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-social i {
    font-size: 1.25rem;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Google Button */
.btn-google {
    background: white;
    border-color: #e0e0e0;
    color: #333;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #4285f4;
    color: #4285f4;
}

/* Apple Button */
.btn-apple {
    background: white;
    border-color: #e0e0e0;
    color: #333;
}

.btn-apple:hover {
    background: #f8f9fa;
    border-color: #000000;
    color: #000000;
}

/* Microsoft Button */
.btn-microsoft {
    background: white;
    border-color: #e0e0e0;
    color: #333;
}

.btn-microsoft:hover {
    background: #f8f9fa;
    border-color: #0078d4;
    color: #0078d4;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

/* Form Controls */
.auth-body .form-label {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.auth-body .form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-body .form-control-lg:focus {
    border-color: #0066ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.1);
}

.auth-body .input-group .btn {
    border: 2px solid #e0e0e0;
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.auth-body .input-group .form-control-lg {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.auth-body .input-group .form-control-lg:focus {
    border-color: #0066ff;
}

.auth-body .input-group .form-control-lg:focus + .btn {
    border-color: #0066ff;
}

/* Form Check */
.auth-body .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e0e0e0;
    margin-top: 0.125rem;
}

.auth-body .form-check-input:checked {
    background-color: #0066ff;
    border-color: #0066ff;
}

.auth-body .form-check-label {
    margin-left: 0.5rem;
}

/* Primary Button */
.auth-body .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Links */
.auth-body a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
}

.auth-body a:hover {
    text-decoration: underline;
}

/* Auth Features */
.auth-features {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-features i {
    opacity: 0.9;
}

.auth-features p {
    color: #495057;
    font-weight: 500;
}

/* Override Bootstrap text-muted for better contrast on gradient background */
.auth-section .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Keep text-muted dark inside white cards */
.auth-card .text-muted,
.auth-body .form-text,
.auth-body small {
    color: #495057 !important;
}

/* Auth Info (Right Side) */
.auth-info {
    color: white;
    padding: 2rem;
}

.auth-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Feature List Simple */
.feature-list {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item-simple {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1rem;
}

.feature-item-simple i {
    font-size: 1.25rem;
}

/* Testimonial */
.testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.testimonial .blockquote {
    margin: 0;
}

.testimonial .blockquote p {
    color: white;
    font-size: 1.125rem;
    font-style: italic;
}

.testimonial .blockquote-footer {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.testimonial .blockquote-footer strong {
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .auth-title {
        font-size: 1.75rem;
    }

    .auth-info h2 {
        font-size: 2rem;
    }

    .auth-header {
        padding: 2rem 1.5rem 1rem;
    }

    .auth-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.875rem;
    }

    .auth-header {
        padding: 1.5rem 1rem 1rem;
    }

    .auth-body {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}

/* Error Messages */
.invalid-feedback {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Loading State */
.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeInUp 0.6s ease-out;
}

.auth-features {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
