:root {
            --primary-color: orange;
            --secondary-color: #64748b;
            --danger-color: #ef4444;
            --bg-color: #f8fafc;
            --text-main: #1e293b;
            --card-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }

        * {  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

        /* الهيدر */
        header {
            background: #fff;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
        .nav-links a { text-decoration: none; color: var(--secondary-color); margin: 0 15px; transition: 0.3s; font-weight: 500; }
        .nav-links a:hover { color: var(--primary-color); }
        .emergency-btn { background: var(--danger-color); color: white !important; padding: 8px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; }

        /* كارت تسجيل الدخول */
        .login-container {
            max-width: 450px;
            margin: 110px auto;
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: var(--card-shadow);
            box-sizing: border-box;
        }

        .login-header { text-align: center; margin-bottom: 30px; }
        .login-header i { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 15px; }
        .login-header h1 { font-size: 1.8rem; margin: 0 0 10px 0; color: var(--text-main); }
        .login-header p { color: var(--secondary-color); font-size: 0.9rem; margin: 0; }

        /* الفورم */
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: #475569; }
        .input-wrapper { position: relative; }
        .input-wrapper i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--secondary-color); }
        .input-wrapper input {
            width: 85%;
            padding: 12px 45px 12px 15px; /* مساحة للأيقونة على اليمين */
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            outline: none;
            transition: 0.3s;
            font-size: 1rem;
        }
        .input-wrapper input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }

        .forgot-pass { display: block; text-align: left; font-size: 0.85rem; color: var(--primary-color); text-decoration: none; margin-top: 5px; }
        .forgot-pass:hover { text-decoration: underline; }

        .login-btn {
            width: 100%;
            padding: 14px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            margin-top: 20px;
        }
        .login-btn:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3); }

        /* تذييل الكارت */
        .not-have-account { text-align: center; margin-top: 25px; padding-top: 20px; border-top: 1px solid #f1f5f9; font-size: 0.95rem; }
        .not-have-account a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
        .not-have-account a:hover { text-decoration: underline; }

        /* رسائل الخطأ */
        .error-msg { background: #fee2e2; color: #b91c1c; padding: 10px; border-radius: 8px; font-size: 0.85rem; text-align: center; margin-bottom: 20px; display: none; }

        @media (max-width: 500px) {
            .login-container { margin: 20px; padding: 25px; }
            .nav-links { display: none; }
        }