body {
    font-family: Tahoma;
    background: #f4f6f9;
    direction: rtl;
    text-align: right;
}

.form-box {
    width: 450px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;
    border: 2px solid #28316e; /* اللون الداكن */
}

h2 {
    text-align: center;
    color: #28316e; /* اللون الداكن */
}

label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #1089c9; /* اللون الأزرق */
}

input, textarea, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #accb38; /* اللون الفاتح */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #007bff; /* اللون الأزرق عند المرور */
}

.msg {
    text-align: center;
    margin: 15px;
    font-weight: bold;
    color: #28316e; /* اللون الداكن */
}

/* تنسيق بيانات الحملة */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #28316e; /* اللون الداكن */
    color: white;
}

td {
    background-color: #f9f9f9;
}

.actions {
    margin-top: 20px;
    text-align: center;
}

/* تنسيق الأزرار */
.btn-edit, .btn-enable, .btn-disable, .btn-delete {
    padding: 10px 20px;
    margin: 5px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn-edit {
    background-color: #007bff;
}

.btn-edit:hover {
    background-color: #0056b3;
}

.btn-enable {
    background-color: #28a745;
}

.btn-enable:hover {
    background-color: #218838;
}

.btn-disable {
    background-color: #dc3545;
}

.btn-disable:hover {
    background-color: #c82333;
}

.btn-delete {
    background-color: #ffc107;
}

.btn-delete:hover {
    background-color: #e0a800;
}

/* تنسيق زر عرض جميع الحملات */
.btn-view-all {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-view-all:hover {
    background-color: #218838;
}

/* تنسيق الإطار العام */
.form-box {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* تنسيق جدول الحملات */
.campaign-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    border: 1px solid #ddd;
}

.campaign-table th, .campaign-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.campaign-table th {
    background-color: #28316e;
    color: white;
}

.campaign-table td {
    background-color: #f9f9f9;
}

/* تنسيق أزرار تعديل/تعطيل/تفعيل */
.btn-edit, .btn-enable, .btn-disable {
    padding: 10px 20px;
    margin: 5px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.btn-edit {
    background-color: #007bff;
}

.btn-edit:hover {
    background-color: #0056b3;
}

.btn-enable {
    background-color: #28a745;
}

.btn-enable:hover {
    background-color: #218838;
}

.btn-disable {
    background-color: #dc3545;
}

.btn-disable:hover {
    background-color: #c82333;
}

