/* * login-style.css
 * ملف التصميم الخاص بصفحة تسجيل الدخول
 * المسار: /auth/login-style.css
 */

:root { 
    --primary: #0055AA; 
    --bg: #f0f2f5; 
    --white: #ffffff; 
    --text: #333; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }

body {
    background-color: var(--bg); 
    height: 100vh; 
    display: flex;
    justify-content: center; 
    align-items: center;
    background-image: linear-gradient(135deg, #0055AA 0%, #003377 100%);
}

.login-loading-overlay {
    position: fixed; inset: 0; background: rgba(0, 55, 119, 0.85);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.login-loading-overlay.hidden { display: none; }
.login-loading-content {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-weight: 700; color: white; font-size: 16px;
}

.login-card {
    background: var(--white); 
    width: 90%; 
    max-width: 400px; 
    padding: 40px 30px;
    border-radius: 16px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    text-align: center;
}

.logo-area { margin-bottom: 30px; }
.logo-icon { font-size: 50px; color: var(--primary); margin-bottom: 10px; }
.app-name { font-size: 22px; font-weight: 700; color: var(--text); }
.app-desc { font-size: 13px; color: #777; margin-top: 5px; }

.form-group { margin-bottom: 20px; text-align: right; }
.form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #555; }

.input-wrapper { position: relative; }
.input-wrapper i { 
    position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: #aaa; 
}

.form-control { 
    width: 100%; padding: 12px 40px 12px 15px; border: 1px solid #ddd; 
    border-radius: 8px; outline: none; transition: 0.3s; font-size: 14px; font-weight: bold; 
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 85, 170, 0.1); }

.btn-login { 
    width: 100%; background: var(--primary); color: white; padding: 12px; 
    border: none; border-radius: 8px; font-size: 16px; font-weight: 700; 
    cursor: pointer; transition: 0.3s; margin-top: 10px; 
}
.btn-login:hover { background: #004488; transform: translateY(-2px); }

.error-msg { 
    color: #e74c3c; font-size: 13px; margin-top: 10px; display: none; font-weight: bold; 
}

.footer-text { margin-top: 20px; font-size: 12px; color: #999; }