:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --secondary-color: #00c2ff;
    --text-color: #333;
    --light-bg: #f5f8ff;
    --white: #ffffff;
    --error: #dc3545;
    --success: #28a745;
    --gray: #666;
    --light-gray: #eee;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: var(--light-bg);
}

.auth-page {
    display: flex;
    min-height: 100vh;
}

/* Sol Banner Bölümü */
.auth-banner {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: left;
    max-width: 500px;
    margin: 0;
    padding-top: 100px;
}

.banner-logo {
    height: 60px;
    margin-bottom: 40px;
}

.banner-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.1em;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 20px;
}

.banner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-home {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-to-home:hover {
    opacity: 1;
}

/* Sağ Form Bölümü */
.auth-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-form-header h2 {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 10px;
}

.auth-form-header p {
    color: var(--gray);
}

/* Form Elemanları */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
}

/* Form Seçenekleri */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--primary-dark);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,102,255,0.2);
}

/* Ayırıcı */
.auth-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--light-gray);
}

.auth-separator::before {
    left: 0;
}

.auth-separator::after {
    right: 0;
}

.auth-separator span {
    background: var(--white);
    padding: 0 15px;
    color: var(--gray);
    font-size: 14px;
}

/* Sosyal Login */
.social-login {
    margin: 20px 0;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.google-btn:hover {
    background: var(--light-bg);
}

.google-btn img {
    height: 20px;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--gray);
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

/* Alert */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-warning {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffcc80;
}

.alert i {
    font-size: 18px;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .auth-banner {
        display: none;
    }
    
    .auth-form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .auth-form-header h2 {
        font-size: 1.8em;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .submit-btn {
        padding: 12px;
    }
}

/* Dil seçici için ek stil */
.lang-selector select {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    min-width: 70px;
    text-align: center;
}

.lang-selector select option {
    background: var(--primary-color);
    color: white;
    text-align: center;
} 