:root {
    --primary: #111;
    --accent: #2563eb; /* Canlı Mavi */
    --bg: #f9fafb;
    --border: #e5e7eb;
    --text-muted: #6b7280;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    color: var(--primary);
}

.login-wrapper {
    display: flex;
    height: 100vh;
}

/* --- SOL TARAF (GÖRSEL) --- */
.login-visual {
    flex: 1.2;
    position: relative;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Görsel biraz daha parlak */
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* Daha hafif karartma */
    z-index: 1;
}

.visual-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
    text-decoration: none;
}
.logo-link { text-decoration: none; }

.hero-text { margin-top: auto; margin-bottom: 40px; }
.hero-text h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 15px; }
.hero-text p { font-size: 1.2rem; opacity: 0.9; max-width: 450px; }

.visual-footer { font-size: 0.8rem; opacity: 0.6; }

/* --- SAĞ TARAF (FORM) --- */
.login-form-container {
    flex: 1;
    max-width: 500px;
    background: #fff;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header { margin-bottom: 30px; }
.form-header h1 { font-size: 2rem; margin: 0 0 10px; }
.form-header p { color: var(--text-muted); }

/* INPUT ALANLARI */
.input-group { margin-bottom: 20px; }

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.input-wrapper { position: relative; }

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s;
    background: #fcfcfc;
}

input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
}

/* Seçenekler */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.checkbox-group { display: flex; align-items: center; gap: 8px; }
.checkbox-group input { width: auto; margin: 0; box-shadow: none; }
.checkbox-group label { margin: 0; font-weight: 500; color: #555; cursor: pointer; }

.forgot-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

/* Butonlar */
.btn {
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #333; transform: translateY(-2px); }

.w-100 { width: 100%; }

/* Google Butonu */
.btn-google {
    background: #fff;
    border: 1px solid var(--border);
    color: #333;
    margin-top: 20px;
}
.btn-google:hover { background: #f9f9f9; }
.btn-google img { width: 20px; }

/* Ayırıcı Çizgi */
.divider {
    text-align: center;
    margin: 20px 0 0;
    position: relative;
}
.divider::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 1px; background: var(--border); z-index: 1;
}
.divider span {
    background: #fff; padding: 0 10px; position: relative; z-index: 2;
    font-size: 0.85rem; color: #999;
}

.register-redirect {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.register-redirect a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .login-visual { display: none; }
    .login-form-container { flex: 1; max-width: 100%; padding: 30px; }
}