@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2980B9;
    --secondary-color: #2C3E50;
    --bg-gradient: linear-gradient(135deg, #2C3E50 0%, #2980B9 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.modern-auth {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modern-auth .auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modern-auth .auth-side-image {
    flex: 0 0 400px;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.modern-auth .auth-side-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), rgba(41, 128, 185, 0.4));
}

.modern-auth .auth-side-content {
    position: relative;
    z-index: 10;
    padding: 40px;
    color: white;
    width: 100%;
}

.modern-auth .auth-side-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modern-auth .auth-side-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.modern-auth .auth-form-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.modern-auth .auth-header img {
    height: 60px;
    margin-bottom: 24px;
}

.modern-auth .auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.modern-auth .auth-header p {
    color: #666;
    font-size: 1rem;
}

.modern-auth .form-group {
    margin-bottom: 24px;
}

.modern-auth .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.modern-auth .form-control-modern {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.modern-auth .form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1);
}

.modern-auth .btn-modern {
    width: 100%;
    padding: 14px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(39, 174, 96, 0.4);
}

.modern-auth .btn-modern:hover {
    background: #219a52;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modern-auth .auth-side-image {
        display: none;
    }
    .modern-auth .auth-container {
        max-width: 450px;
    }
    .modern-auth .auth-form-side {
        padding: 30px;
    }
}
