/* --- GENEL AYARLAR --- */
.modern-auth-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #050505;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    position: relative;
}

/* --- ANİMASYONLU ARKA PLAN (GLOW BLOBS) --- */
.glow-bg {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0; left: 0;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 15s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px; height: 400px;
    background: #3b82f6; /* Mavi */
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px; height: 500px;
    background: #e74c3c; /* Kırmızı */
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* --- GERİ DÖN BUTONU --- */
.auth-back-btn {
    position: absolute;
    top: 30px; left: 40px;
    z-index: 10;
    display: flex; align-items: center; gap: 8px;
    color: #94a3b8; text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.auth-back-btn:hover { color: #fff; background: rgba(255,255,255,0.1); transform: translateX(-5px); }

/* --- ANA KUTU (GLASSMORPHISM) --- */
.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: rgba(15, 15, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* FORM GEÇİŞ ANİMASYONLARI */
.auth-box {
    display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.active-form { opacity: 1; transform: translateX(0); visibility: visible; }
.hidden-form { opacity: 0; transform: translateX(30px); visibility: hidden; position: absolute; top: 40px; left: 40px; right: 40px; }

/* BAŞLIK KISMI */
.auth-header { text-align: center; margin-bottom: 35px; }
.brand-icon { font-size: 3rem; margin-bottom: 15px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); }
.auth-header h2 { color: #fff; font-size: 1.8rem; font-weight: 700; margin-bottom: 5px; letter-spacing: 0.5px; }
.auth-header p { color: #94a3b8; font-size: 0.95rem; }

/* --- YÜZEN ETİKETLİ İNPUTLAR (FLOATING LABELS) --- */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 16px 20px 10px 20px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Inputa tıklanınca veya içi doluyken label yukarı çıkar */
.input-group input:focus,
.input-group input:valid {
    border-color: #3b82f6;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: 8px;
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
}

/* Şifre Göster/Gizle İkonu */
.eye-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: 0.3s;
}
.eye-icon:hover { opacity: 1; }

.secret-group input:focus + label,
.secret-group input:valid + label { color: #e74c3c; }
.secret-group input:focus { border-color: #e74c3c; box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1); }

/* --- BUTON --- */
.cyber-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    margin-top: 10px;
}

.cyber-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.cyber-btn::after {
    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;
}
.cyber-btn:hover::after { left: 100%; }

/* --- ALT BİLGİ --- */
.auth-footer { text-align: center; margin-top: 30px; font-size: 0.95rem; color: #94a3b8; }
.auth-footer a { color: #fff; font-weight: 600; text-decoration: none; transition: 0.3s; position: relative; }
.auth-footer a::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: -2px; left: 0; background: #3b82f6; transform: scaleX(0); transition: 0.3s; }
.auth-footer a:hover::after { transform: scaleX(1); }

/* Mobil Uyum */
@media (max-width: 480px) {
    .auth-container { padding: 30px 20px; border-radius: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
    .auth-back-btn { top: 20px; left: 20px; }
}