/* Enhanced Auth Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.auth-container {
    width: 100%;
    max-width: 1200px;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease-out;
}

/* Left Panel */
.auth-left-panel {
    background: var(--darker);
    color: var(--white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.brand-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    display: flex;
}

.brand-texts{
    margin-left: 20px;
    margin-top: -8px;
}

.logo-glow {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: float 3s ease-in-out infinite;
}

.logo-icon {
    font-size: 36px;
    color: var(--white);
}

.brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-subtitle {
    color: var(--gray);
    font-size: 16px;
    font-weight: 400;
}

/* Feature Showcase */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 14px;
    color: var(--gray);
}

/* Testimonial */
.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content i {
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 24px;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-gray);
    font-style: italic;
    padding-left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray);
}

/* Right Panel */
.auth-right-panel {
    background: var(--white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.card-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 12px;
}

.card-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    background: var(--light);
    padding: 6px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab:hover {
    color: var(--primary);
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* Auth Form */
.auth-form {
    margin-bottom: 32px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--light-gray);
}

.note {
    color: var(--gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Login Illustration */
.login-illustration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.illustration-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-content p {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .auth-wrapper {
        min-height: auto;
    }
    
    .brand-title {
        font-size: 28px;
    }
    
    .feature-card {
        padding: 16px;
    }
    
    .security-features {
        flex-wrap: wrap;
    }
    
    .illustration-shape {
        display: none;
    }
}