/* 🌐 إعدادات عامة */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 📦 صندوق تسجيل الدخول */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    transition: 0.3s;
}

    .login-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

    .login-box h2 {
        margin-bottom: 25px;
        color: #333;
        font-weight: 700;
        letter-spacing: 1px;
    }

/* 📝 الحقول */
.form-group {
    margin-bottom: 20px;
    text-align: right;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }

    /* أيقونة داخل الحقل */
    .form-group input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        transition: 0.3s;
    }

        .form-group input:focus {
            border-color: #007bff;
            box-shadow: 0 0 6px rgba(0,123,255,0.4);
            outline: none;
        }

/* 🔘 زر الدخول */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #0056b3;
    }

/* ⚡ نص رابط نسيت كلمة المرور */
.forgot-password {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    transition: 0.3s;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

/* 📱 تجاوب الهواتف */
@media (max-width: 480px) {
    .login-box {
        padding: 25px 15px;
    }

        .login-box h2 {
            font-size: 20px;
        }

    .btn-primary {
        font-size: 15px;
        padding: 10px;
    }
}
