
body {
    font-family: 'Alexandria', sans-serif;
    padding-right: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
}

.overlay-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    user-select: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* تخصيص TomSelect */
.tom-select {
    width: 100%;
    margin-bottom: 1rem;
}

/* تخصيص حقل الإدخال */
.ts-control {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: all 0.3s ease !important;
}

.ts-control.focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* تخصيص القائمة المنسدلة */
.ts-dropdown {
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* تخصيص العناصر في القائمة */
.ts-dropdown .option {
    padding: 10px 15px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
}


.ts-dropdown .active {
    background-color: #3b82f6 !important;
    color: white !important;
}

/* تخصيص العنصر المختار */
.ts-wrapper.multi .ts-control > div {
    background-color: #3b82f6 !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    margin: 2px !important;
}

/* أيقونة السهم */
.ts-control::after {
    border-color: #64748b transparent transparent transparent !important;
    transition: all 0.3s ease !important;
}

.ts-control.dropdown-active::after {
    border-color: transparent transparent #64748b transparent !important;
}
.table > tbody > tr > td, .table > tfoot > tr > td, .table > thead > tr > td
{
    padding: 10px 10px !important;
}

.table-responsive {
    min-height: 500px;
}