/* GENEL AYARLAR */
/* 1. Body üzerindeki taşmayı engelle */
.cyber-body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Kaydırma çubuğunu tamamen yok eder */
    height: 100vh;
    width: 100vw;
}

/* 2. Login Page alanını düzelt */
.login-page {
    height: calc(100vh - 80px); /* 100vh'den Header yüksekliğini (yaklaşık 80px) çıkarıyoruz */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 80px; /* Header'ın altında kalması için pay bırakıyoruz */
}

/* 3. Paneli biraz daha kompakt (sıkı) yapalım ki sığsın */
.login-panel {
    background: rgba(15, 23, 42, 0.8); /* Biraz daha koyulaştırdık, okunurluk arttı */
    padding: 40px; /* İç boşluğu 60'tan 40'a düşürdük */
    border: 2px solid #31a8ff;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(49, 168, 255, 0.3);
    backdrop-filter: blur(20px);
    z-index: 2;
    width: 90%;
    max-width: 400px;
    /* Panelin kendi içinde taşmaması için */
    max-height: 85vh; 
    overflow-y: auto; /* Eğer ekran çok küçükse panel kendi içinde kayabilir */
}
/* ARKA PLAN BULANIKLIĞI */
.background-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Photoshop çalışma alanı illüstrasyonu için placeholder */
    background-image: url('../img/photoshop-bg-cyber.jpg'); 
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Hafif bulanıklık efekti */
    z-index: 1;
}

/* GİRİŞ PANELİ (CYBER BOX) */
.login-panel {
    background: rgba(30, 41, 59, 0.4); /* Şeffaf koyu cam */
    padding: 60px 50px;
    border-radius: 20px;
    border: 2px solid #31a8ff; /* Neon Mavi Çerçeve */
    box-shadow: 0 0 30px rgba(49, 168, 255, 0.4); /* Neon Parla */
    backdrop-filter: blur(15px); /* Daha güçlü cam efekti */
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 420px;
    animation: fadeInPanel 0.8s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(49, 168, 255, 0.5);
}

.ps-sub {
    color: #31a8ff;
    font-family: monospace;
    font-size: 0.8rem;
}

/* FORM İNPUTLARI */
.login-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrap input {
    width: 100%;
    padding: 15px;
    background: #0f172a; /* Daha koyu input */
    border: 1px solid #334155;
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.input-wrap input:focus {
    border-color: #31a8ff;
    box-shadow: 0 0 10px rgba(49, 168, 255, 0.2);
}

/* CYBER BUTON */
.cyber-btn {
    padding: 18px;
    background: #31a8ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cyber-btn:hover {
    background: #0084ff;
    box-shadow: 0 0 20px rgba(49, 168, 255, 0.6);
    transform: translateY(-2px);
}

/* PANEL ALT LİNKLERİ */
.login-footer {
    margin-top: 30px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.login-footer a {
    color: #31a8ff;
    text-decoration: none;
    transition: 0.3s;
}

.login-footer a:hover {
    color: #fff;
}

.divider {
    margin: 0 10px;
}

/* MOBİL AYARI */
@media (max-width: 480px) {
    .login-panel {
        padding: 40px 30px;
    }
    .login-header h2 {
        font-size: 1.8rem;
    }
}