:root {
    --primary-color: #2A7B9B;
    --secondary-color: #3F9E91;
    --accent-color: #57C785;
    --light-color: #EDDD53;
    --dark-color: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--dark-color);
    min-height: 100vh;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sol Panel - Trading Temalı */
.login-left {
    flex: 1.2;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(42, 123, 155, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(63, 158, 145, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(87, 199, 133, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* Grid Pattern */
.login-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(42, 123, 155, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 123, 155, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.brand-section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 20px 40px rgba(42, 123, 155, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.brand-logo i {
    font-size: 3rem;
    color: var(--white);
}

.brand-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.features-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(42, 123, 155, 0.3);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.bot {
    background: rgba(42, 123, 155, 0.2);
    color: var(--primary-color);
}

.feature-icon.chart {
    background: rgba(63, 158, 145, 0.2);
    color: var(--secondary-color);
}

.feature-icon.shield {
    background: rgba(87, 199, 133, 0.2);
    color: var(--accent-color);
}

.feature-icon i {
    font-size: 1.4rem;
}

.feature-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.feature-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Trading Chart Animation */
.chart-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    opacity: 0.15;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-color) 25%,
        var(--primary-color) 50%,
        var(--secondary-color) 75%,
        transparent 100%
    );
    clip-path: polygon(
        0% 80%, 5% 70%, 10% 75%, 15% 60%, 20% 65%, 25% 45%, 30% 55%, 
        35% 40%, 40% 50%, 45% 35%, 50% 45%, 55% 30%, 60% 40%, 65% 25%, 
        70% 35%, 75% 20%, 80% 30%, 85% 15%, 90% 25%, 95% 10%, 100% 20%,
        100% 100%, 0% 100%
    );
    animation: chartMove 20s linear infinite;
}

@keyframes chartMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sağ Panel */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--white);
    position: relative;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Form Stilleri */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 54px;
    padding: 0 1rem 0 3rem;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(42, 123, 155, 0.1);
}

.form-control:focus + .input-icon,
.form-control:not(:placeholder-shown) + .input-icon {
    color: var(--primary-color);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
    background-color: rgba(42, 123, 155, 0.1);
}

/* Checkbox */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-wrapper label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

/* Login Button */
.btn-login {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #236a87 100%);
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 123, 155, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-login:disabled::before {
    display: none;
}

/* Alert */
.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.alert-danger:empty {
    display: none;
}

/* Validation */
.text-danger {
    display: block;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.5rem;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Stats Section */
.stats-section {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-value span {
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        padding: 3rem 2rem;
        min-height: auto;
    }
    
    .brand-logo {
        width: 80px;
        height: 80px;
        border-radius: 22px;
    }
    
    .brand-logo i {
        font-size: 2.5rem;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .features-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .feature-item {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
    }
    
    .stats-section {
        margin-top: 2rem;
    }
    
    .chart-animation {
        height: 100px;
    }
}

@media (max-width: 640px) {
    .login-left {
        padding: 2rem 1.5rem;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .features-section {
        display: none;
    }
    
    .stats-section {
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .login-right {
        padding: 2rem 1rem;
    }
    
    .login-form-container {
        padding: 0;
    }
    
    .login-header h2 {
        font-size: 1.75rem;
    }
}
