/* --- تنسيق الجسم --- */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
}

/* --- عناوين الصفحات --- */
h2 {
    color: #2c3e50;
    text-align: center;
}

/* --- تنسيق النماذج --- */
form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 20px auto;
}

/* --- حقول الإدخال --- */
input[type="text"], input[type="password"], input[type="date"], input[type="time"], input[type="number"], select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* --- زر الإرسال --- */
input[type="submit"] {
    background-color: #27ae60;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #219150;
}

/* --- رسائل الخطأ أو النجاح --- */
.message {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.success {
    color: green;
}

.error {
    color: red;
}
