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

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #000; color: #fff; height: 100vh; overflow: hidden; }

.main-auth-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* SOL TARAF GÖRSEL */
.auth-image-side {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
    display: none; /* Mobilde gizle */
}

@media (min-width: 900px) { .auth-image-side { display: block; } }

.image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    display: flex; flex-direction: column; justify-content: space-between; padding: 60px;
}

.floating-logo { height: 60px; width: auto; align-self: flex-start; }

.welcome-text h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.welcome-text p { color: #ccc; font-size: 18px; }

/* SAĞ TARAF FORM */
.auth-form-side {
    flex: 1;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.form-box {
    width: 100%;
    max-width: 400px;
    display: none; /* Başlangıçta gizli */
    animation: fadeIn 0.5s ease;
}

.form-box.active { display: block; }

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

.auth-h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; color: #f5f5f5; }
.auth-p { color: #888; margin-bottom: 30px; font-size: 15px; }

/* INPUT STİLLERİ */
.input-wrap { margin-bottom: 20px; }
.input-wrap label { display: block; font-size: 13px; font-weight: 600; color: #666; margin-bottom: 8px; text-transform: uppercase; }
.input-wrap input {
    width: 100%; padding: 14px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px;
    color: #fff; outline: none; transition: 0.3s;
}
.input-wrap input:focus { border-color: #0078f2; background: #222; }

/* BUTONLAR */
.btn-primary, .btn-secondary {
    width: 100%; padding: 15px; border: none; border-radius: 6px; font-weight: 700; cursor: pointer;
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px;
}
.btn-primary { background: #0078f2; color: #fff; }
.btn-primary:hover { background: #0060c2; transform: translateY(-2px); }

.btn-secondary { background: #fcaf17; color: #000; }
.btn-secondary:hover { background: #fff; transform: translateY(-2px); }

.switch-form { margin-top: 25px; text-align: center; color: #666; font-size: 14px; }
.switch-form a { color: #0078f2; text-decoration: none; font-weight: 600; }
.switch-form a:hover { text-decoration: underline; }

/* ALERTLER */
.auth-alert { padding: 12px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.auth-alert.error { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.2); }
.auth-alert.success { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.2); }