/* =========================================================
   EventPro Dashboard - Authentication Pages Styles
   ========================================================= */

/* Authentication Page Layout */
.auth-page {
    min-height: 100vh;
    display: flex;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Card Wrapper */
.auth-card-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Auth Card */
.auth-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.auth-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

/* Logo */
.auth-logo {
    height: 100px;
    width: auto;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--body-color);
    opacity: 0.7;
}

/* Social Auth Buttons */
.social-auth-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-auth-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Background Content */
.auth-bg-content {
    display: none;
    flex: 1;
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-bg-text {
    position: relative;
    z-index: 3;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-bg-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.auth-bg-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 80%;
}

/* Auth Features */
.auth-features {
    margin-top: 2rem;
}

.auth-feature-item {
    display: flex;
    margin-bottom: 2rem;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.auth-feature-icon i {
    font-size: 1.5rem;
}

.auth-feature-text h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-feature-text p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Background Elements */
.auth-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.auth-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
    opacity: 0.6;
}

/* Theme Switcher & Color Schemes */
.auth-theme-switcher,
.auth-color-schemes {
    position: absolute;
    z-index: 100;
}

.auth-theme-switcher {
    top: 1rem;
    right: 1rem;
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-pill);
    padding: 0.25rem;
    box-shadow: var(--shadow-sm);
}

.auth-theme-switcher .btn-theme {
    border-radius: var(--border-radius-pill);
    padding: 0.5rem;
    width: 36px;
    height: 36px;
}

.auth-color-schemes {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-pill);
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.auth-color-schemes .btn-color-scheme {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (min-width: 992px) {
    .auth-bg-content {
        display: flex;
    }
    
    .auth-card-wrapper {
        max-width: 500px;
    }
}

/* Auth Variant 2 Styles */
.auth-variant-2 .auth-container {
    flex-direction: column;
}

.auth-variant-2 .auth-card-wrapper {
    max-width: 450px;
    margin: 0 auto;
}

.auth-variant-2 .auth-bg-content {
    display: block;
    height: 220px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.auth-variant-2 .auth-bg-text {
    text-align: center;
    padding: 2rem;
    justify-content: flex-start;
}

.auth-variant-2 .auth-bg-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.auth-variant-2 .auth-bg-text p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 0;
}

.auth-variant-2 .auth-features {
    display: none;
}

.auth-variant-2 .auth-card {
    margin-top: 150px;
}

/* Form Controls Custom Styling */
.auth-page .form-control,
.auth-page .form-select,
.auth-page .input-group-text {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.auth-page .form-control:focus {
    box-shadow: none;
}

.auth-page .form-label {
    font-weight: 500;
    font-size: 0.875rem;
}

.auth-page .form-check-label {
    font-size: 0.875rem;
}

.auth-page .input-group-text {
    background-color: transparent;
}

.auth-page .btn-lg {
    padding: 0.75rem 1.5rem;
}

/* Custom Input Validation Styling */
.auth-page .form-control.is-invalid {
    background-image: none;
    padding-right: 1rem;
}

.auth-page .form-control.is-invalid + .password-toggle {
    border-color: var(--danger);
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .auth-card {
    background-color: var(--card-bg);
}

[data-bs-theme="dark"] .auth-theme-switcher,
[data-bs-theme="dark"] .auth-color-schemes {
    background-color: var(--sidebar-bg);
}

/* Color Scheme Specific Adjustments */
.theme-yellow .auth-bg-content {
    color: var(--dark);
}

.theme-yellow .auth-bg-text h2,
.theme-yellow .auth-feature-text h6 {
    color: var(--dark);
}

.theme-yellow .auth-feature-text p,
.theme-yellow .auth-bg-text p {
    color: var(--dark);
    opacity: 0.8;
}