body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    direction: rtl;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], input[type="file"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.hidden {
    display: none;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

/* button_styles.css */

/* تصميم الزر الأساسي */
.custom-btn {
    display: block; /* تحويل الزر إلى عنصر block لتوسيطه */
    padding: 15px; /* تعديل حجم البادينج ليكون مشابهًا للحقول */
    width: 100%; /* عرض الزر ليكون بعرض الحقول */
    max-width: 300px; /* نفس أقصى عرض للحقول */
    background-color: #997102; /* لون الخلفية الأساسي */
    color: white; /* لون النص */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-align: center; /* توسيط النص أفقياً */
    margin: 20px auto; /* توسيط الزر بإضافة margin:auto */
    cursor: pointer;
    line-height: 1.5; /* يساعد على توسيط النص عمودياً */
}

/* تأثير عند تمرير الماوس فوق الزر */
.custom-btn:hover {
    background-color: #a6872d; /* اللون عند التحويم */
}

/* تحسين العرض على الشاشات الصغيرة */
@media (max-width: 768px) {
    .custom-btn {
        width: 100%; /* ملء العرض على الشاشات الصغيرة */
        font-size: 1rem; /* حجم النص على الشاشات الصغيرة */
        padding: 12px;
    }
}
