body {
    background-color: #f0f2f5;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
    max-width: 100%;
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h2 {
    color: #166673;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.table thead {
    background-color: #166673;
    color: #fff;
}

.table-responsive {
    overflow-x: auto;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.form-control, .btn {
    border-radius: 20px;
}



.btn-success, .btn-danger {
    border: none;
    border-radius: 15px;
}
.category-title {
    background-color: #17a2b8 !important; /* لون موحد لجميع الكاتيجوريات مع ضمان عدم التعديل عليه */
    color: #fff !important; /* لون النص الأبيض مع ضمان عدم التعديل عليه */
    padding: 10px;
    font-weight: bold;
    text-align: center; /* توسيط النص */
    border-radius: 5px;
    margin-top: 20px; /* إضافة مسافة أعلى الفئة لتمييزها */
    display: table-row; /* لضمان أنها تظهر كترويسة صف في الجدول */
    width: 100%;
}

.category-separator {
    height: 2px; /* ارتفاع الفاصل */
    background: linear-gradient(to right, #36cbe3, #f8f9fa, #e0e0e0); /* تدرج لوني خفيف */
    margin: 20px 0; /* مسافة أعلى وأسفل الفاصل */
    border: none;
}



/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1rem;
        text-align: center;
    }

.btn-primary {
    font-size: 0.9rem;
    background-color: #166673 !important; /* إضافة !important لضمان استخدام اللون الصحيح */
    border: none;
    width: 100%;
    color: #fff; /* تأكد من أن لون النص هو الأبيض */
}


    .btn-sm {
        font-size: 0.8rem;
    }
}
