/* Custom styles goes here */

*, body, html {
    font-family: "Cairo", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.no-spin {
    -moz-appearance: textfield;
}

.tohide{
    display: none;
}

.menu-icon {
    font-size: 1rem !important;
}
.modal-open {
    padding-right: 0 !important;
}

html {
    overflow-y: scroll !important;
}

.swal2-container {
    z-index: 20000 !important;
}

@font-face {
    font-family: Cairo;
    src: url(../fonts/cairo/Cairo-Medium.ttf);
}
.arabic-font {
    font-family: "Cairo", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

.table th {
    text-transform: none !important;
    font-size:16px; 
    text-align: center !important;
}

.table td {
    text-align: center !important;
}

.app-brand {
    line-height: 2 !important;
}

.menu-hidden {
    display:none !important;
}
/*
select > .error {
    color: none !important;
    font-size: 100% !important;
    margin-top: 0rem !important;
}*/

/*
.password-field:after {
    line-break:initial;
}*/
/*.error:not(li):not(input) {*/
    /*color: #ff4c51;*/
    /*font-size: 100% !important;
    margin-top: 0rem !important;
}*/

/*.ui-autocomplete {
    z-index: 1000 !important;*/ /* Ensure it appears above other elements */
    /*background-color: white;*/ /* Make sure background is visible */
    /*border: 1px solid #ccc;*/ /* Make it stand out */
    /*max-height: 200px;*/ /* Prevent large dropdowns */
    /*overflow-y: auto;*/ /* Enable scrolling */
/*}*/

.ui-autocomplete {
    z-index: 2147483647 !important;
}

.loader-overlay {
    position: fixed;
    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: 9999;
    display: none; /* Initially hidden */
}


/* Modal Customization */
.modal-content-full-img {
    background: transparent;
    border: none;
}

/* *** FIX: Dynamic Sizing CSS *** */
.modal-dialog-fit-image {
    /* Forces the dialog to shrink-wrap its content (the image) */
    max-width: fit-content !important;
}

/* Ensures the modal content matches the dialog width */
.modal-content-fit-image {
    width: fit-content;
    /* Optional: ensure it doesn't exceed screen width */
    max-width: 90vw;
    margin: auto;
}

/* Set max width/height on the image inside the modal to prevent overflow */
.modal-body-preview img {
    max-height: 90vh; /* Prevents overflow on tall images */
    max-width: 100%; /* Ensures it respects the 90vw max-width of the content */
    height: auto;
    display: block;
}

[v-cloak] {
    display: none !important;
}

#content-skeleton {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 10;
}

#content-skeleton.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Skeleton */
/*.skeleton {
    background: linear-gradient( 90deg, #e0e0e0 25%, #f5f5f5 37%, #e0e0e0 63% );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s infinite ease;
    border-radius: 6px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.skeleton-input {
    height: 38px;
}

.skeleton-row {
    height: 42px;
}
*/