/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-gradient-start: #f1f5f9;
    --bg-gradient-end: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2563eb 0%, transparent 70%);
    top: -15%;
    left: -15%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #64748b 0%, transparent 70%);
    bottom: -15%;
    right: -15%;
    animation-delay: 7s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ============================================
   LOGIN CONTAINER
   ============================================ */
.login-container {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.login-card {
    display: flex;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   IMAGE SIDE (LEFT)
   ============================================ */
.image-side {
    flex: 1;
    background: #f8fafc;
    position: relative;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
}

.image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 500px;
}

.login-logo {
    max-width: 250px;
    height: auto;
}

.login-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.login-tagline {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    font-weight: 500;
    line-height: 1.6;
}

/* Eski stiller kaldırıldı */
.image-overlay,
.overlay-content,
.brand-section,
.brand-logo,
.stats-section,
.stat-item,
.stat-divider,
.quote-section {
    display: none;
}
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.overlay-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    text-align: center;
    max-width: 420px;
    width: 100%;
}

/* Brand Section */
.brand-section {
    margin-bottom: 60px;
}

.brand-logo {
    margin: 0 auto 24px;
    display: inline-block;
}

.brand-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    margin-bottom: 48px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-item h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 23, 42, 0.1);
}

/* Quote Section */
.quote-section {
    padding: 24px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.quote-section p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FORM SIDE (RIGHT)
   ============================================ */
.form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.form-content {
    width: 100%;
    max-width: 440px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.welcome-msg {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   FORM INPUTS
   ============================================ */
.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field > i.fa-envelope,
.input-field > i.fa-lock {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.input-field input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.input-field input#password {
    padding-right: 48px;
}

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-field input:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.input-field input:focus ~ i.fa-envelope,
.input-field input:focus ~ i.fa-lock,
.input-field:focus-within > i.fa-envelope,
.input-field:focus-within > i.fa-lock {
    color: var(--primary-light);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password i {
    font-size: 16px;
    pointer-events: none;
}

.toggle-password:hover {
    color: var(--primary-light);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

/* ============================================
   OPTIONS (REMEMBER ME & FORGOT PASSWORD)
   ============================================ */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* ============================================
   LOGIN BUTTON
   ============================================ */
.login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.login-button:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.login-button:active {
    transform: scale(0.98);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    margin-top: 32px;
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.signup-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.signup-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .login-card {
        flex-direction: column;
    }
    
    .image-side {
        min-height: 400px;
        padding: 40px 30px;
    }
    
    .form-side {
        padding: 40px 30px;
    }
    
    .login-logo {
        max-width: 150px;
    }
    
    .login-image {
        max-width: 400px;
    }
    
    .login-tagline {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* Sol tarafı mobilde gizle */
    .image-side {
        display: none;
    }
    
    .login-card {
        border-radius: 16px;
    }
    
    .form-side {
        padding: 30px 20px;
    }
        gap: 24px;
        padding: 24px 0;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .form-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        border-radius: 16px;
    }
    
    .form-side {
        padding: 30px 20px;
    }
    
    .image-side {
        min-height: 250px;
    }
}