
@font-face {
    font-family: 'arabtype';
    src: URL('../Font/Tajawal-Regular.ttf')
}
.my-popup {
    display: none;
    position: absolute;
    overflow: hidden;
    height: 300px;
    width: 300px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
    box-shadow: var(--rz-panel-shadow);
    border-radius: var(--rz-border-radius);
}
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(90deg, #e6f0ff, #c1d9f0, #8eb6dd, #2c5aa0);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}
.buttons-container {
    position: fixed; 
    top: 0;
    background: white; 
    z-index: 1000; 
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.fawaz-tabs {
    --rz-tabs-tab-font-weight: bold;
    --rz-tabs-tab-font-size: medium;
    --rz-tabs-tab-color: #64777ad6;
    font-family: arabtype;
    overflow: auto;

}
.TEXT_LABEL {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: arabtype;
    font-size: medium;
    color: black;
    font-weight: bold;
    width: 100%;
    height: 100%;
    height: 44px;
}
.TEXT_HEAD {
    align-items: center;
    text-align: center;
    font-family: arabtype;
    font-size: x-large;
    color: white;
    font-weight: bolder;
    width: 100%;
    height: 40px;
    text-shadow: 0 2px 6px rgba(0, 0, 0);
}
.TEXT_EDIT {
    align-items: center;
    text-align: center;
    /*border-radius: 10px;*/
    font-family: arabtype;
    font-size: medium;
    color: #2C5AA0;
    font-weight: bold;
    width: 100%;
    border: 1px solid #93abe8;
    height: 40px;
}
    .TEXT_EDIT:focus {
        box-shadow: 0 0 0 0 whitesmoke, 0 0 0 0.15rem green;
    }
    .TEXT_EDIT:hover {
        box-shadow: 0 0 0 0 whitesmoke, 0 0 10px #1b6ec2;
    }
.TEXT_EDIT_DATE {
    align-items: center;
    text-align: center;
    font-family: arabtype;
    font-size: medium;
    color: #2C5AA0;
    font-weight: bold;
    width: 100%;
    border: 1px solid #93abe8;
    height: 44px;
}

    .TEXT_EDIT_DATE:focus {
        box-shadow: 0 0 0 0 whitesmoke, 0 0 0 0.15rem #87CEEB;
        border: 0px solid gray;
    }

    .TEXT_EDIT_DATE:hover {
        box-shadow: 0 0 0 0 whitesmoke, 0 0 10px #87CEEB;
    }
.fawaz_butt {
    font-family: arabtype;
    font-size: medium;
    border-radius: 10px;
    width : 100%;
    font-weight : bold;
    
}
.fawaz_center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 10px;
    /*width: 100%;*/ /* لضمان احتواء كامل */
    /*max-width: 100%;*/ /* مهم */
}


.fawaz_butt_pri {
    font-family: arabtype, 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px; /* اختياري — للتحكم في العرض الأقصى */
    height: 38px;
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية خفيفة */
    backdrop-filter: blur(8px); /* تأثير زجاجي — تأكد من دعم المتصفح */
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; /* مساحة داخلية لتحسين المظهر */
}

    /* التأثير الخلفي الذي يملأ الزر من اليمين */
    .fawaz_butt_pri::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-pri);
        transform: scaleX(0);
        transform-origin: right;
        z-index: -1;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 8px;
    }

    /* عند التحويم */
    .fawaz_butt_pri:hover {
        color: white;
        box-shadow: 0 6px 16px rgba(44, 90, 160, 0.25);
        background: transparent;
        border-color: transparent; /* نخفي الحدود لأن الخلفية ممتلئة */
        transform: translateY(-2px); /* يرفع الزر قليلًا — إحساس تفاعلي */
    }

        .fawaz_butt_pri:hover::before {
            transform: scaleX(1);
            transform-origin: right; /* يبدأ التعبئة من اليسار عند التحويم — عصري أكثر */
        }

    /* عند الضغط */
    .fawaz_butt_pri:active {
        transform: translateY(0) scale(0.98); /* يصغر الزر قليلًا */
        box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
        color: white;
    }

    /* تأثير التركيز (للإمكانية الوصول) */
    .fawaz_butt_pri:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
    }
/*.fawaz_butt_pri {
    font-family: arabtype;
    font-size: medium;
    border-radius: 10px;
    width: 100%;
    font-weight: bold;
    background: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    height: 44px;
    position: relative;*/ /* مهم جدًا لتمكين ::before من التحكم بالحجم */
    /*overflow: hidden;*/ /* يخفي أي شيء يخرج عن حدود الزر */
    /*cursor: pointer;
    transition: color 0.3s ease;*/ /* تغيير لون النص فقط */
/*}
    .fawaz_butt_pri::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        background: var(--gradient-pri);
        transform: scaleX(0);*/ /* يضغط العنصر أفقيًا إلى 0% (غير مرئي) */
        /*transform-origin: right;*/ /* المحور هو اليمين، ليبدأ التمدد من اليمين */
        /*z-index: -1;*/ /* يبقى خلف النص */
        /*transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/ /* تحول سلس */
    /*}

    .fawaz_butt_pri:hover::before {
        transform: scaleX(1);*/ /* يصبح عرضه 100% */
    /*}

    .fawaz_butt_pri:hover {
        color: black;
        border-color: transparent;
    }

    .fawaz_butt_pri:active {
        transform: translateY(0);
        color : white;
    }*/
.fawaz_butt_save {
    font-family: arabtype, 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px; /* اختياري — للتحكم في العرض الأقصى */
    height: 38px;
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية خفيفة */
    backdrop-filter: blur(8px); /* تأثير زجاجي — تأكد من دعم المتصفح */
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; /* مساحة داخلية لتحسين المظهر */
}

    /* التأثير الخلفي الذي يملأ الزر من اليمين */
    .fawaz_butt_save::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-pri);
        transform: scaleX(0);
        transform-origin: right;
        z-index: -1;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 8px;
    }

    /* عند التحويم */
    .fawaz_butt_save:hover {
        color: white;
        box-shadow: 0 6px 16px rgba(44, 90, 160, 0.25);
        background: transparent;
        border-color: transparent; /* نخفي الحدود لأن الخلفية ممتلئة */
        transform: translateY(-2px); /* يرفع الزر قليلًا — إحساس تفاعلي */
    }

        .fawaz_butt_save:hover::before {
            transform: scaleX(1);
            transform-origin: right; /* يبدأ التعبئة من اليسار عند التحويم — عصري أكثر */
        }

    /* عند الضغط */
.fawaz_butt_save:active {
    transform: translateY(0) scale(0.98); /* يصغر الزر قليلًا */
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
    color: white;
}

    /* تأثير التركيز (للإمكانية الوصول) */
.fawaz_butt_save:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
}

html, body {
    height: 100%;
    width: 100%;
    overflow-y: auto;
}

.top-navbar {
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 5px;
}

.text-head-dark {
    color: black;
}

.text-head-medium {
    font-size: medium;
}

.inline-anchor {
    position: relative;
    display: inline-block;
}

.notification-button {
    color: black;
    background: transparent;
}

.layout-popup {
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.main-button {
    background-color: rgba(52, 152, 219, 0.2);
    color: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-left: 10px;
}

.main-button:hover,
.main-button:active,
.main-button:focus {
    background-color: rgba(52, 152, 219, 0.3);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-content {
    flex: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page {
    position: relative;
    display: flex;
    min-height: 100%;
    overflow: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #2c5aa0;
    transition: transform 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-radius: 15px 0 0 0;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.rtl-sidebar {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

.rtl-sidebar.open {
    transform: translateX(0);
}

.rtl-sidebar.closed {
    transform: translateX(100%);
}

.page-content {
    min-height: 100%;
    transition: all 0.4s ease;
    background: transparent;
}

.page-content[dir="rtl"].sidebar-open {
    margin-right: 280px;
}

.page-content[dir="ltr"].sidebar-open {
    margin-left: 280px;
}

.content-container {
    background: transparent;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    min-height: 100%;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid white;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite;
}

.notification-list {
    display: none;
    position: absolute;
    overflow: hidden;
    height: 360px;
    width: 600px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
    box-shadow: var(--rz-panel-shadow);
    border-radius: var(--rz-border-radius);
    animation: slideIn 0.3s ease-out;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.notification-item {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.notification-item.unread {
    background: #f8f9fa;
    font-weight: 500;
}

.notification-content {
    flex: 1;
}

.notification-content h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.notification-content p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.empty-notifications {
    padding: 20px;
    text-align: center;
    color: #999;
}

.main-content {
    flex: 1;
    transition: margin-left 0.3s ease-in-out;
    padding: 1rem;
    overflow-y: auto;
}

.main-content.expanded {
    margin-left: 0 !important;
}

.dashboard-action-card {
    border-radius: 12px;
}

.full-width-button {
    width: 100%;
}

.margin-10 {
    margin: 10px;
}

.text-danger-center {
    color: red;
}

.text-dark-button {
    color: black;
}

.font-arabtype {
    font-family: arabtype;
}

.print-date-label {
    text-align: right;
    color: red;
    font-size: small;
}

.text-head-medium-only {
    font-size: medium;
}

.bg-lightgray {
    background-color: lightgray;
}

.hr-green {
    color: green;
}

.rounded-10 {
    border-radius: 10px;
}

.scroll-container-auto {
    overflow-x: auto;
    max-width: 100%;
    margin: auto;
}

.gray-border {
    border: 1px solid gray;
}

.label-strong {
    font-family: arabtype;
    font-size: medium;
    color: black;
    font-weight: bold;
}

.table-scroll-box {
    max-height: 400px;
    margin: 20px;
    max-width: 100%;
    overflow: auto;
}

.table-column-width-200 {
    width: 200px;
}

.min-width-200 {
    min-width: 200px;
}

.popup-overlay-shell {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1999;
}

.popup-content-large {
    width: 90vw;
    height: 90vh;
    max-width: 90vw;
    overflow: auto;
}

.popup-body-fill {
    height: 100%;
    width: 100%;
    overflow: auto;
}

.form-field-ar {
    width: 100%;
    font-family: arabtype;
}

.form-field-ar-blue {
    width: 100%;
    font-family: arabtype;
    color: blue;
}

.form-field-transparent {
    background-color: transparent;
}

.dropdown-standard {
    width: 100%;
    border: 1px solid #93abe8;
    height: 40px;
    font-family: arabtype;
    font-size: small;
}

.tabs-scroll-500 {
    width: 100%;
    height: 500px;
    overflow: auto;
}

.text-left-medium {
    text-align: left;
    font-size: medium;
}

.square-image-100 {
    width: 100px;
    height: 100px;
}

.inline-flex-gap-10 {
    display: flex;
    gap: 10px;
}

.flex-1 {
    flex: 1;
}

.mt-5-inline-fix {
    margin-top: 5px;
}

.table-column-width-30 {
    width: 30px;
}

.table-column-width-50 {
    width: 50px;
}

.table-avatar-30 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.text-blue {
    color: blue;
}

.tabs-height-500 {
    width: 100%;
    height: 500px;
}

.nav-transparent-bg {
    background-color: transparent;
}

.nav-brand-center-dark {
    margin: auto;
    color: black;
}

.fixed-table-layout {
    table-layout: fixed;
}

.padding-10 {
    padding: 10px;
}

.table-column-width-80 {
    width: 80px;
}

.table-column-width-150 {
    width: 150px;
}

.bg-transparent-important {
    background-color: transparent;
}

.preview-image-frame {
    max-width: 100%;
    max-height: 600px;
    border: 1px solid #ccc;
}

.preview-iframe-frame {
    width: 100%;
    height: 600px;
    border: 1px solid #ccc;
}

.tabs-height-450 {
    width: 100%;
    height: 450px;
}

.max-height-400 {
    max-height: 400px;
}

.tabs-scroll-600 {
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
}

.tabs-font-small {
    --rz-tabs-tab-font-size: small;
}

.inline-flex-gap-20 {
    display: flex;
    gap: 20px;
}

.side-panel-250 {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 250px;
    overflow-x: auto;
}

.min-width-250 {
    min-width: 250px;
}

.flex-auto-overflow-x {
    flex: 1 1 auto;
    overflow-x: auto;
}

.full-width-box {
    width: 100%;
    box-sizing: border-box;
}

.padded-20 {
    padding: 20px;
}

.max-height-500 {
    max-height: 500px;
}

.overflow-y-auto {
    overflow-y: auto;
}

.text-small {
    font-size: small;
}

.bg-green-row {
    background-color: green;
}

.bg-lightseagreen-row {
    background-color: lightseagreen;
}

.checkbox-left-30 {
    float: left;
    width: 30%;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        max-width: 280px;
    }

    .page-content[dir="rtl"].sidebar-open {
        margin-right: 0;
    }

    .page-content[dir="ltr"].sidebar-open {
        margin-left: 0;
    }

    .top-navbar .TEXT_HEAD {
        font-size: smaller;
    }

    .navbar-right {
        gap: 10px;
    }

    .main-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 80vw;
        overflow: auto;
        min-width: 80vw;
    }
    .sidebar-content{
        width : 100%;
    }
    .top-navbar .TEXT_HEAD,
    .top-navbar.TEXT_HEAD {
        font-size: xx-small;
    }

    .main-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/*.fawaz_butt_save {
    font-family: arabtype;
    font-size: medium;
    border-radius: 10px;
    width: 100%;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    height: 44px;
    margin-bottom: 8px;
    margin-top: 8px;
    position: relative;*/ /* مهم جدًا لتمكين ::before من التحكم بالحجم */
    /*overflow: hidden;*/ /* يخفي أي شيء يخرج عن حدود الزر */
    /*cursor: pointer;
    transition: color 0.3s ease;*/ /* تغيير لون النص فقط */
/*}
    .fawaz_butt_save::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;*/ /* نبدأ بعرض 100% لكننا سنحركه من اليمين */
        /*height: 100%;
        background: var(--gradient-save);
        transform: scaleX(0);*/ /* يضغط العنصر أفقيًا إلى 0% (غير مرئي) */
        /*transform-origin: right;*/ /* المحور هو اليمين، ليبدأ التمدد من اليمين */
        /*z-index: -1;*/ /* يبقى خلف النص */
        /*transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/ /* تحول سلس */
    /*}

    .fawaz_butt_save:hover::before {
        transform: scaleX(1);*/ /* يصبح عرضه 100% */
    /*}

    .fawaz_butt_save:hover {
        color: black;
    }

    .fawaz_butt_save:active {
        transform: translateY(0);
    }*/

.fawaz_butt_print {
    font-family: arabtype, 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px; /* اختياري — للتحكم في العرض الأقصى */
    height: 38px;
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية خفيفة */
    backdrop-filter: blur(8px); /* تأثير زجاجي — تأكد من دعم المتصفح */
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; /* مساحة داخلية لتحسين المظهر */
}

    /* التأثير الخلفي الذي يملأ الزر من اليمين */
    .fawaz_butt_print::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-pri);
        transform: scaleX(0);
        transform-origin: right;
        z-index: -1;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 8px;
    }

    /* عند التحويم */
    .fawaz_butt_print:hover {
        color: white;
        box-shadow: 0 6px 16px rgba(44, 90, 160, 0.25);
        background: transparent;
        border-color: transparent; /* نخفي الحدود لأن الخلفية ممتلئة */
        transform: translateY(-2px); /* يرفع الزر قليلًا — إحساس تفاعلي */
    }

        .fawaz_butt_print:hover::before {
            transform: scaleX(1);
            transform-origin: right; /* يبدأ التعبئة من اليسار عند التحويم — عصري أكثر */
        }

/* عند الضغط */
    .fawaz_butt_print:active {
        transform: translateY(0) scale(0.98); /* يصغر الزر قليلًا */
        box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
        color: white;
    }

/* تأثير التركيز (للإمكانية الوصول) */
    .fawaz_butt_print:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
    }


/*.fawaz_butt_print {
    font-family: arabtype;
    font-size: medium;
    border-radius: 10px;
    width: 100%;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    height: 44px;
    position: relative;*/ /* مهم جدًا لتمكين ::before من التحكم بالحجم */
    /*overflow: hidden;*/ /* يخفي أي شيء يخرج عن حدود الزر */
    /*cursor: pointer;
    transition: color 0.3s ease;*/ /* تغيير لون النص فقط */
/*}
    .fawaz_butt_print::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;*/ /* نبدأ بعرض 100% لكننا سنحركه من اليمين */
        /*height: 100%;
        background: var(--gradient-print);
        transform: scaleX(0);*/ /* يضغط العنصر أفقيًا إلى 0% (غير مرئي) */
        /*transform-origin: right;*/ /* المحور هو اليمين، ليبدأ التمدد من اليمين */
        /*z-index: -1;*/ /* يبقى خلف النص */
        /*transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/ /* تحول سلس */
    /*}

    .fawaz_butt_print:hover::before {
        transform: scaleX(1);*/ /* يصبح عرضه 100% */
    /*}

    .fawaz_butt_print:hover {
        color: black;
    }

    .fawaz_butt_print:active {
        transform: translateY(0);
    }*/

.fawaz_butt_cancel {
    font-family: arabtype, 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px; /* اختياري — للتحكم في العرض الأقصى */
    height: 38px;
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية خفيفة */
    backdrop-filter: blur(8px); /* تأثير زجاجي — تأكد من دعم المتصفح */
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #d32f2f;
    color: #d32f2f;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; /* مساحة داخلية لتحسين المظهر */
}

    /* التأثير الخلفي الذي يملأ الزر من اليمين */
    .fawaz_butt_cancel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-red);
        transform: scaleX(0);
        transform-origin: right;
        z-index: -1;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 8px;
    }

    /* عند التحويم */
    .fawaz_butt_cancel:hover {
        color: white;
        box-shadow: 0 6px 16px rgba(44, 90, 160, 0.25);
        background: transparent;
        border-color: transparent; /* نخفي الحدود لأن الخلفية ممتلئة */
        transform: translateY(-2px); /* يرفع الزر قليلًا — إحساس تفاعلي */
    }

.fawaz_butt_cancel:hover::before {
    transform: scaleX(1);
    transform-origin: right; /* يبدأ التعبئة من اليسار عند التحويم — عصري أكثر */
}

    /* عند الضغط */
.fawaz_butt_cancel:active {
    transform: translateY(0) scale(0.98); /* يصغر الزر قليلًا */
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
    color: white;
}

    /* تأثير التركيز (للإمكانية الوصول) */
.fawaz_butt_cancel:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
}


.fawaz_butt_post {
    font-family: arabtype, 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    width: 100%;
    max-width: 320px; /* اختياري — للتحكم في العرض الأقصى */
    height: 38px;
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية خفيفة */
    backdrop-filter: blur(8px); /* تأثير زجاجي — تأكد من دعم المتصفح */
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px; /* مساحة داخلية لتحسين المظهر */
}

    /* التأثير الخلفي الذي يملأ الزر من اليمين */
    .fawaz_butt_post::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient-pri);
        transform: scaleX(0);
        transform-origin: right;
        z-index: -1;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 8px;
    }

    /* عند التحويم */
    .fawaz_butt_post:hover {
        color: white;
        box-shadow: 0 6px 16px rgba(44, 90, 160, 0.25);
        background: transparent;
        border-color: transparent; /* نخفي الحدود لأن الخلفية ممتلئة */
        transform: translateY(-2px); /* يرفع الزر قليلًا — إحساس تفاعلي */
    }

        .fawaz_butt_post:hover::before {
            transform: scaleX(1);
            transform-origin: right; /* يبدأ التعبئة من اليسار عند التحويم — عصري أكثر */
        }

    /* عند الضغط */
    .fawaz_butt_post:active {
        transform: translateY(0) scale(0.98); /* يصغر الزر قليلًا */
        box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
        color: white;
    }

    /* تأثير التركيز (للإمكانية الوصول) */
    .fawaz_butt_post:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
    }

:root {
    --rz-text-font-family: arabtype;
    --rz-text-title-color: #333746;
    --rz-text-color: #333746;
    --rz-text-secondary-color: #394652;
    --rz-text-disabled-color: #DEDEE0;
    --rz-body-background-color: #ffffff;
    --rz-grid-border: 1px solid #333746;
    --rz-grid-stripe-background-color: #DEDEE0;
    --rz-grid-cell-color: #333746;
    --rz-grid-hover-color: #394652;
    --rz-grid-selected-background-color: #394652;
    --rz-grid-hover-background-color: #394652;
    --rz-grid-column-resizer-helper-background-color: #333746;
    --rz-grid-header-background-color: #DEDEE0;
    --rz-grid-filter-focus-color: #394652;
    --rz-grid-apply-filter-button-background-color: #394652;
    --rz-grid-foot-background-color: #ffffff;
    --rz-grid-header-filter-icon-active-color: #00B2A9;
    --rz-primary: #333746;
    --rz-secondary: #394652;
    --rz-success: #00B2A9;
    --rz-info: #DEDEE0;
    --rz-warning: #FFB500;
    --rz-danger: #ED0089;
    --gradient-side: linear-gradient(90deg, #2c5aa0, #2c5aa0);
    --gradient-red: linear-gradient(90deg, #d32f2f, #c62828);
    --gradient-print: linear-gradient(90deg, #E2725B, #E2725B);
    --gradient-save: linear-gradient(90deg, #2c5aa0, #2c5aa0);
    --gradient-pri: linear-gradient(90deg, #2c5aa0, #3a7bd5);
    --header-bg: #8eb6dd;
    --row-even-bg: #f0f7ff;
    --border-color: #d0e2ff;
    --text-color: #000;
    --header-text: #fff;
    --primary: #2C5AA0;
    --primary-dark: #1b6ec2;
    --success: #b7d19f;
    --bg-light: #ffffffd6;
    --shadow-hover: rgba(27, 110, 194, 0.4);
    --shadow-normal: rgba(183, 209, 159, 0.4);
    --text: #444;
    --text-light: #777;
    --primary1: #2c3e50;
    --secondary1: #3498db;
    --accent: #1abc9c;
    --light1: #ecf0f1;
    --dark1: #2c3e50;
    --danger1: #e74c3c;
    --warning1: #f39c12;
    --success1: #27ae60;
    --gray1: #95a5a6;
}
.fawaz {
    font-family: arabtype;
    color: white;
    text-align: center;
    font-size: medium;
    --rz-grid-header-color: black;
    --rz-grid-header-font-size: medium;
    --rz-grid-cell-color: #2C5AA0;
    --rz-grid-cell-font-size: medium;
    --rz-grid-header-background-color: #8eb6dd;
    --rz-grid-selected-background-color: #FFFACD;
    --rz-grid-hover-background-color: #dcdcdc;
    --rz-grid-border-radius: 14px;
    width: 100%;
    table-layout: auto;
    border-radius: 14px;
    box-shadow: 0 0 10px #b7d19f;
    overflow: auto;
    margin: auto;
 
}
.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto; /* أو auto إذا أردت تمرير عمودي أيضًا */
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.fawaz1 {
    border-collapse: collapse;
    min-width: 100%;
    font-family: arabtype;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    border-radius: 14px 14px 14px 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    font-size: medium;
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    margin: auto;
    max-height: 300px;
    /*white-space: nowrap;*/
    min-width: 100%;
   /* table-layout: fixed;*/
}
    .fawaz1 thead th {
        position: sticky;
        top: 0;
        background-color: #8eb6dd;
        z-index: 3;
    }
    .fawaz1 th {
        position: sticky;
        top: 0;
        z-index: 2;
        background-color: #8eb6dd;
        color: white;
    }
    .fawaz1 thead tr {
        background-color: #8eb6dd;
        color: white;
        font-size: medium;
        font-family: arabtype;
        font-weight: bold;
        padding: 12px 20px;
    }

    .fawaz1 th, .fawaz1 td {
        padding: 12px 20px;
        color: black;
        font-family: arabtype;
        white-space : nowrap;
    }

    .fawaz1 tbody tr {
        border-bottom: 1px solid #9ec66c;
        font-size: medium;
        color: black;
    }

        .fawaz1 tbody tr:nth-of-type(even) {
            background-color: #7fa5ea;
            color: black;
        }

        .fawaz1 tbody tr:last-of-type {
            border-bottom: 1px solid white;
        }
.fawaz_report {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    font-family: arabtype;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.875rem;
    overflow-x: auto;
    margin: 20px auto;
    background: white;
    border: 1px solid #e0e9f5;
}
    .fawaz_report thead th {
        position: sticky;
        top: 0;
        background-color: var(--header-bg);
        color: var(--header-text);
        font-weight: bold;
        padding: 8px 12px;
        vertical-align: middle;
        height: 32px;
        z-index: 3;
        text-shadow: 0 1px 1px rgba(0,0,0,0.1);
        font-size: 0.875rem;
    }

    .fawaz_report tbody tr {
        border-bottom: 1px solid var(--border-color);
        transition: background-color 0.15s ease;
    }

        .fawaz_report tbody tr:hover {
            background-color: #d0e4ff !important; /* ✅ أصبح أغمق قليلاً للإشارة الواضحة */
            cursor: pointer;
        }

        .fawaz_report tbody tr:nth-of-type(even) {
            background-color: var(--row-even-bg);
        }

        .fawaz_report tbody tr:last-of-type {
            border-bottom: 2px solid var(--header-bg);
        }

    .fawaz_report th,
    .fawaz_report td {
        padding: 6px 12px;
        color: var(--text-color);
        white-space: nowrap;
        vertical-align: middle;
        height: 30px;
        border: 1px solid #e8f0fa;
        font-size: 0.875rem;
        line-height: 1.3;
    }
    .table-responsive {
    overflow-x: auto;
    margin: auto; 
}
.sticky-column {
    position: sticky;
    right: 0;
    z-index: 2;
    background-color: #8eb6dd;
    border-left: 1px solid #ddd;
}
.sticky-header {
    position: sticky;
    top: 0;
    background-color: #8eb6dd;
    z-index: 5;
}
    .cont1 {
    display: flex;
    overflow: auto;
    gap: 20px;
}
.hr {
    margin : 15px;
}
.fawaz_crad {
    border-radius: 14px;
    box-shadow: 0 0 10px #b7d19f;
    align-content: center;
    align-items: center;
    background-color: #ffffffd6;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    transform: translateY(30px) scale(0.98);
    position: relative;
    overflow: hidden;
}
    .fawaz_crad:hover .card-icon {
        transform: scale(1.1) rotate(45deg);
        color: var(--primary-dark);
    }
    .fawaz_crad:hover {
        box-shadow: 0 12px 30px var(--shadow-hover);
        transform: translateY(-8px) scale(1.03) !important;
        background: #ffffff;
    }
        .fawaz_crad:hover .fawaz_card_title {
            color: var(--primary-dark);
        }
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.fawaz_crad.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}
.fawaz_card_title {
    color: var(--primary);
    font-family: arabtype;
    font-weight: bold;
    font-size: large;
    text-align: center;
    margin: 5px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e9ff;
    transition: color 0.3s ease;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}
@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fawaz_card_text {
    color: green;
    font-family: arabtype;
    font-weight: bold;
    font-size: medium;
    text-align: center;
    align-items: center;
    margin : 5px;
}
/**/.fawaz_grid {
    grid-template-columns : 1fr 1fr 1fr 1fr ;
    display : grid;
    column-gap : 10px;
    row-gap : 3px;

}
.fawaz_crad1 {
    border-radius: 14px;
    box-shadow: 0 0 10px #b7d19f;
    align-content: center;
    align-items: center;
    background-color: #ffffffd6;
    position: relative;
    text-align: center;
}

  /*  .fawaz_crad1:hover {
        box-shadow: 0 0 10px #1b6ec2;
    }*/
.fawaz_card_title1 {
    color: var(--primary);
    font-family: arabtype;
    font-weight: bold;
    font-size: large;
    text-align: center;
    align-items: center;
    margin: 5px;
}
@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.fawaz_crad1::after,
.fawaz_crad1::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient( from var(--angle), #a0f0d0, #70e0b0, #40c090, #70e0b0, #a0f0d0 );
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 14px;
    animation: 2s spin linear infinite;
}

.fawaz_crad1::before {
    filter: blur(1.5rem);
    opacity: 0.45;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}
/*.fawaz_crad1-wrapper {
    position: relative;
    display: inline-block;*/ /* مهم لتحديد الأبعاد */
    /*border-radius: 14px;
}

.fawaz_crad1 {
    border-radius: 14px;
    background-color: #ffffffd6;
    position: relative;
    text-align: center;
    padding: 16px;*/ /* أضف padding لرؤية المحتوى */
    /*z-index: 2;
}*/
    /* الإطار الدوار */
    /*.fawaz_crad1-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    padding: 3px;
    background: conic-gradient( from 0deg, #a0f0d0, #70e0b0, #40c090, #70e0b0, #a0f0d0 );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    animation: spinFast 1.5s linear infinite;
}*/
    /* التوهج الخلفي */
    /*.fawaz_crad1-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    padding: 3px;
    background: conic-gradient( from 0deg, #a0f0d0, #70e0b0, #40c090, #70e0b0, #a0f0d0 );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    filter: blur(12px);
    opacity: 0.45;
    animation: spinFast 1.5s linear infinite;
}

@keyframes spinFast {
    to {
        transform: rotate(360deg);
    }
}*/
    /* HTML: <div class="loader"></div> */
    .loader {
    --d: 22px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    color: #1F4782;
    box-shadow: calc(1*var(--d)) calc(0*var(--d)) 0 0, calc(0.707*var(--d)) calc(0.707*var(--d)) 0 1px, calc(0*var(--d)) calc(1*var(--d)) 0 2px, calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3px, calc(-1*var(--d)) calc(0*var(--d)) 0 4px, calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5px, calc(0*var(--d)) calc(-1*var(--d)) 0 6px;
    animation: l27 1s infinite steps(8);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
}

@keyframes l27 {
    100% {
        transform: rotate(1turn)
    }
}
.spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 42%;
    top: 42%;
    width: 56px;
    height: 56px;
    --c: radial-gradient(farthest-side,blue 92%,#0000);
    --a: radial-gradient(farthest-side,blue 92%,#0000);
    --b: radial-gradient(farthest-side,blue 92%,#0000);
    --d: radial-gradient(farthest-side,blue 92%,#0000);
    background: var(--c) 50% 0, var(--a) 50% 100%, var(--b) 100% 50%, var(--d) 0 50%;
    background-size: 13.4px 13.4px;
    background-repeat: no-repeat;
    animation: spinner-kh173p 4s 1;
    animation-fill-mode: forwards;
}
.anime1 {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.anime2 {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}
#contextMenu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid black;
    z-index: 1000;
}

    #contextMenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #contextMenu ul li {
            padding: 8px;
            cursor: pointer;
        }

            #contextMenu ul li:hover {
                background-color: #ccc;
            }

.item1 {
    grid-column : 1 / span 4;
}
.item2 {
  grid-column : 1 / span 2;
}
.item3 {
    text-align : center;
    font-family : arabtype;
    font-size : medium;
    color : blue;
}
.pic_card {
    width: 48px;
    height: 48px;
}
.pic_card1 {
    width: 32px;
    height: 32px;
}
/*ستايل الطباعة */
@page {
    size: A4;
    margin-bottom: 1cm;
    margin-top: 1cm;
    margin-left: 0cm;
    margin-right: 0cm;
}
@media print {
    .footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        text-align: right;
        font-size: small;
    }
  
}
.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: auto;
    border: 2px solid #ddd;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-control {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
}

    .carousel-control:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }
.fawaz_scroll {
    width: 150px;
    display: flex;
    overflow-x: auto;
    flex-flow: row;
    padding: 5px;
    justify-content: space-around;
    align-items: center;
}
.fawaz_soc {
    width: 32px;
    height: 32px;
    line-height: 32px;
    justify-content: center;
    margin-right: 3px;
}
.whatsapp{
    color : #022706;
}
.whatsapp:hover{
    color : green;
}
.facebook {
    color: #040538;
}

    .facebook:hover {
        color: blue;
    }
.youtube {
    color: #2b0202;
}

    .youtube:hover {
        color: red;
    }
.fawaz_chk {
    font-family: arabtype;
    font-size: medium;
    color: black;
    font-weight: bold;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 450px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
.system-name {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.company-name {
    color: #555;
    font-size: 18px;
    font-weight: 500;
}
.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: fill;
    border: 5px solid #f0f2f5;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .profile-image:hover {
        transform: scale(1.05);
    }
.TEXT_EDIT_TA {
    align-items: center;
    text-align: center;
    font-size: small;
    color: black;
    font-weight: bold;
    width: 100%;
    height: 35px;
    font-family: arabtype;
    border: none; /* إزالة الحدود */
    outline: none; /* إزالة الحدود عند التركيز */
    background-color: transparent; /* خلفية شفافة */
    box-shadow: none; /* إزالة أي ظلال */
    padding: 0; /* إزالة الحشو الداخلي إذا كان غير مرغوب */
    margin: 0; /* إزالة الهوامش إذا كان غير مرغوب */
}

    .TEXT_EDIT_TA:focus {
        box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent;
    }

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .system-name {
        font-size: 22px;
    }

    .company-name {
        font-size: 16px;
    }
}
.datagrid-header-gradient {
    background: linear-gradient(90deg, #e6f0ff, #c1d9f0, #8eb6dd, #2c5aa0);
    color: white !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: none !important;
    padding: 12px 16px !important;
    border-radius: 8px 8px 0 0 !important;
    box-shadow: 0 2px 6px rgba(44, 90, 160, 0.2);
    text-align: center !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* لجعل النص في الأعمدة محاذاة بشكل متناسق */
.rz-datagrid th {
    text-align: center !important;
    font-weight: normal !important;
}
/* ============ Scrollbar Design ============ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
    margin: 4px 0;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary1);
    border-radius: 4px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }

/*البوب*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.popup-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 800px;
    animation: popup-open 0.3s ease-out;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.popup-body {
    padding: 20px;
}

@keyframes popup-open {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
.employee-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    overflow: hidden;
    border: 2px solid #ddd;
    cursor: pointer;
    position: relative;
}
.employee-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ← هذا يجعل الصورة تظهر كاملة */
    object-position: center; /* ← يضمن توسيط الصورة */
    background-color: #f9f9f9; /* خلفية فاتحة لو كانت الصورة شفافة */
}
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: auto;
    max-width: 100vw;
    margin: 0 auto;
/*    height: 400px;*/
}
.card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}
    .card-header:hover {
        background-color: #f5f5f5;
    }
.employee-photo::after {
    transition: opacity 0.2s;
}

.employee-photo:hover::after {
    opacity: 1;
}

.header-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.header-info p {
    font-size: 14px;
    color: #777;
    margin-top: 4px;
}

.toggle-icon {
    margin-right: auto;
    font-size: 18px;
    color: #888;
}

.card-body5 {
    padding: 0;
    height: 400px;
    overflow: auto;
    transition: height 0.4s ease, padding 0.4s ease;
    scrollbar-width: none;
}
    .card-body5::-webkit-scrollbar {
        display: none;
    }

    .card-body5.collapsed {
        height: 0;
        padding: 0 20px;
    }
.form-group {
    display: flex;
    padding: 7px;
    border-bottom: 1px solid #f5f5f5;
}

    .form-group:last-child {
        border-bottom: none;
    }

.form-label {
    width: 30%;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    padding-top: 6px;
}

.form-control {
    width: 70%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s;
}

    .form-control:focus {
        outline: none;
        border-color: #999;
    }
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.rz-notification-container {
    z-index: 99999 !important;
    pointer-events: auto;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* إخفاء أسهم الزيادة/النقصان في Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}
.rz-form-field-label {
    font-family: arabtype !important;
    font-size: 12px !important;
    color: black !important;
    font-weight: bold !important;
}
/* class شامل لجميع Radzen components المعطلة */
.fawaz-disabled-component .rz-textbox,
.fawaz-disabled-component .rz-dropdown,
.fawaz-disabled-component .rz-datepicker {
    font-family: arabtype !important;
    font-size: 14px !important;
    color: black !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

    .fawaz-disabled-component .rz-textbox input,
    .fawaz-disabled-component .rz-dropdown .rz-dropdown-label {
        color: black !important;
        font-family: arabtype !important;
        cursor: not-allowed !important;
    }

.fawaz-disabled-component .rz-dropdown-trigger,
.fawaz-disabled-component .rz-datepicker-trigger {
    color: black !important;
    background-color: #f1f5f9 !important;
    cursor: not-allowed !important;
}
.designer {
    display: flex;
    gap: 20px;
}

.panel {
    width: 280px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #fafafa;
}

.preview {
    flex: 1;
    border: 1px solid #ddd;
    padding: 20px;
    background: white;
}
