/* assets/css/auth.css */

body { 
    background-color: var(--login-bg) !important; 
    margin: 0; height: 100vh; 
    overflow: hidden; font-family: 'Segoe UI', sans-serif; 
}

.sidebar, .dash-header { display: none !important; }
.main-content { margin-left: 0 !important; padding: 0 !important; }

/* Giriş Konteyneri */
.login-container { display: flex; width: 100%; height: 100%; }

.login-left { 
    flex: 1.5; display: flex; align-items: center; justify-content: center; 
    background: var(--login-bg) !important; 
}

.login-right { 
    flex: 1; display: flex; flex-direction: column; 
    align-items: center; justify-content: center; 
    padding: 20px; 
    background: var(--login-bg) !important; 
    border-left: none !important;
}

.logo-big { 
    width: 85%; max-width: 500px; max-height: 400px; 
    object-fit: contain; margin-top: -60px; 
    transition: 0.3s; 
}

#pinErrorMsg { 
    height: 25px; font-weight: bold; text-align: center; 
    color: var(--btn-danger); font-size: 19px; visibility: hidden; 
    margin-top: -72px; margin-bottom: 30px; 
}

/* PIN Noktaları */
.pin-display { display: flex; gap: 15px; margin-top: -20px; margin-bottom: 25px; }
.pin-dot { 
    width: 20px; height: 20px; border-radius: 50%; 
    border: 2px solid var(--text-muted); transition: 0.2s; 
}
.pin-dot.filled { 
    background: var(--brand-yellow); border-color: var(--brand-yellow); 
    box-shadow: 0 0 15px rgba(245, 195, 0, 0.4); 
}

/* Tuş Takımı */
.keypad { 
    display: grid; grid-template-columns: repeat(3, 88px); 
    gap: 22px; margin-top: 10px; 
}
.key { 
    width: 88px; height: 88px; border-radius: 8px; 
    background: var(--keypad-btn-bg);
    display: flex; 
    align-items: center; justify-content: center; 
    font-size: 28px; font-weight: 600; cursor: pointer; 
    color: var(--keypad-text);
    user-select: none; border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.1s;
}
.key:active { background: var(--brand-yellow) !important; color: #000 !important; }
.key-action { background: rgba(255, 255, 255, 0.05) !important; color: var(--text-muted) !important; }
.key-help { background: rgba(37, 211, 102, 0.15); color: #25D366; }

/* Yardım Modalı */
.custom-modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.85); z-index: 10000; 
    display: none; align-items: center; justify-content: center; 
}
.custom-modal-box { 
    background: var(--panel-bg); color: var(--text-main); padding: 30px; 
    border-radius: 20px; width: 90%; max-width: 400px; 
    text-align: center; border: 1px solid var(--border-color); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.custom-modal-btns { display: flex; gap: 10px; margin-top: 20px; }
.c-btn { 
    flex: 1; padding: 15px; border-radius: 10px; 
    border: none; font-weight: bold; cursor: pointer; 
}
.c-btn-cancel { background: #333; color: #fff; border:1px solid var(--border-color); }
.c-btn-confirm { background: var(--brand-yellow); color: #000; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .login-container { flex-direction: column; }
    .login-left { flex: 0.6; padding-top: 10px; }
    .login-right { 
        flex: 1.6; background: var(--login-bg) !important; 
        justify-content: flex-start; padding-top: 0px; 
    }
    .logo-big { 
        max-width: 250px !important; width: 80%; 
        transform: scale(1); margin-top: 20px; 
    }
    .key { width: 85px; height: 85px; }
}

#loginWelcomeOverlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--login-bg); z-index: 999999;
    display: none; flex-direction: column;
    align-items: center; justify-content: center;
    animation: fadeIn 0.5s ease;
}
.welcome-title { 
    font-size: 48px; color: var(--brand-yellow); 
    font-weight: 800; text-transform: uppercase; 
    letter-spacing: 2px; margin-bottom: 10px; line-height: 1;
}
.welcome-name { 
    font-size: 24px; color: var(--text-main); 
    font-weight: 400; letter-spacing: 1px; 
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }