
@font-face {
    font-family: 'Cairo-Bold';
    src: url('/fonts/Cairo/static/Cairo-Bold.ttf') format('truetype');
}



@font-face {
    font-family: 'Jomhuria-Regular';
    src: url('/fonts/Jomhuria/Jomhuria-Regular.ttf') format('truetype');
}

body, h1, h2, h3, p, label, a, input, li, option, table, th, td {
    font-family: "Cairo-Bold"
}

input, table, td {
    font-family: "Cairo-Bold"
}

h1, h2 {
    font-family: "Jomhuria-Regular"
}

html {
    font-size: 14px;
}
table{
    width:100%
}
table , th , tr , td {
    text-align:center
}
body {
    margin: 0;
    direction: rtl;
    text-align: right
}

.Dnone {
    display: none
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    text-align: right;
    direction: rtl
}

.text-right {
    text-align: right !important
}

.text-left {
    text-align: left !important
}

.select2-container--classic .select2-selection--single .select2-selection__rendered,
.select2-container--classic .select2-results__option {
    direction: rtl !important
}

.select2 {
    width: 100% !important
}

.select2-selection {
    height: 35px !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 32px;
}



/* اجعل كل الحقول داخل المشروع RTL */
input,
textarea,
select {
    direction: rtl; /* اجعل النص من اليمين لليسار */
    text-align: right; /* اجعل الكتابة على اليمين */
}


/*/////////////////////////////////////////////////////////////////////////////*/ /**/
.sys-btn {
    font-size: 20px;
    width: 150px;
    height: 60px;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.25s ease-in-out;
}

    /* حركة احترافية */
    .sys-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    }

    .sys-btn:active {
        transform: translateY(0px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

/* الألوان */

/* جديد */
.btn-new {
    background: linear-gradient(135deg, #3E5C76, #2F4858);
}

/* حفظ */
.btn-save {
    background: linear-gradient(135deg, #1D3557, #14243A);
}

/* تعديل */
.btn-edit {
    background: linear-gradient(135deg, #457B9D, #2F5D80);
}

/* عرض */
.btn-view {
    background: linear-gradient(135deg, #6C8EBF, #4F6F9E);
}

/* طباعة */
.btn-print {
    background: linear-gradient(135deg, #8DA9C4, #6E8CA8);
}

/* حذف */
.btn-delete {
    background: linear-gradient(135deg, #B56576, #8C3F4F);
}


.btn-kuid {
    background: linear-gradient(135deg, #6A4F9C, #9B59B6); /* اخترت ألوان بنفس أسلوب Gradients */
}

.btn-rten {
    background: linear-gradient(135deg, #7B93B5, #5A78A0); /* اخترت ألوان بنفس أسلوب Gradients */
}

.btn-otthhrs {
    background: linear-gradient(135deg, #2F3986, #4A4FC8); /* اخترت ألوان بنفس أسلوب Gradients */
}
/*.sys-btn i {
    margin-right: 8px;*/ /* مسافة صغيرة بين الأيقونة والنص */
/*}*/


/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/

/* ====== الشكل العام ====== */
.form-control,
.form-select {
    border-radius: 12px !important;
    border: 1px solid #c8d2dc !important;
    background-color: #f8fafc;
    padding: 10px 14px;
    font-size: 20px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    /* ====== عند التركيز ====== */
    .form-control:focus,
    .form-select:focus {
        border-color: #457B9D !important;
        background-color: #ffffff;
        box-shadow: 0 0 8px rgba(69,123,157,0.35);
        outline: none;
    }

    /* ====== readonly ====== */
    .form-control[readonly] {
        background-color: #e9eef3;
        color: #495057;
        font-weight: 500;
    }

    /* ====== disabled ====== */
    .form-control:disabled,
    .form-select:disabled {
        background-color: #dde3ea;
        cursor: not-allowed;
        opacity: 0.8;
    }

/* ====== Labels ====== */
label {
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

/* ====== Placeholder ====== */
.form-control::placeholder {
    color: #9aa6b2;
    font-style: italic;
}

/* ====== Input Group (لو عندك ايقونة) ====== */
.input-group-text {
    background: linear-gradient(135deg, #3E5C76, #2F4858);
    color: white;
    border: none;
    border-radius: 12px 0 0 12px;
}

/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/

.select2-container {
    width: 100% !important;
    direction: rtl !important;
    z-index: 20000 !important;
}

.select2-dropdown {
    direction: rtl !important;
    border-radius: 12px !important;
    border: 1px solid #c8d2dc !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 20000 !important;
}

.select2-container .select2-selection--single {
    height: 50px !important;
    border-radius: 12px !important;
    border: 1px solid #c8d2dc !important;
    background-color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.25s ease-in-out;
    padding: 0 10px !important;
}

.select2-selection__rendered {
    width: 100% !important;
    text-align: right !important;
    direction: rtl !important;
}




/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
/* الزرار الأساسي */
.sys-btn.btn-view2 {
    font-size: 20px;
    width: 150px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6C8EBF, #4F6F9E); /* اللون الخاص بالـ view */
    color: black;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.25s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* حركة احترافية */
    .sys-btn.btn-view2:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    }

    .sys-btn.btn-view2:active {
        transform: translateY(0px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    /* أيقونة الزرار */
    .sys-btn.btn-view2 i {
        margin-right: 8px;
    }

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    padding: 0;
}

/* Dropdown Items */
.dropdown-item {
    font-size: 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #212529;
    transition: all 0.2s ease-in-out;
}

    /* Hover على العناصر */
    .dropdown-item:hover {
        background-color: #dbe7f5;
        color: #1D3557;
    }

/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
.daterangepicker {
    z-index: 30000 !important;
}
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
.swal2-container {
    z-index: 40000;
}
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/
/*mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm*//**/

