:root{

    /* --color-main-light: #fab3663a; */
    /* --color-main: #000080; */
    --color-main: #000066;
    --color-main-d: #000080;
    /* --color-main-light: #00008010; */
    --color-main-light: #cfe2ff;
    --color-main-light-d: #00008010;
    --color-main-dark: #000080;
    /* --color-main-darker: #00004d; */
    /* --color-main-darker: #050c1e; */
    --color-main-darker: #00004d;
    /* --color-main-darker: #00004d; */
    --category: #000080;
    --color-bright: #000999;
    --test:#000;

}
/* Rotates the icon 180 degrees when the parent link is expanded */
.nav-link[aria-expanded="true"] .transition-icon {
    transform: rotate(-180deg);
}

/* Ensures a smooth flipping animation */
.transition-icon {
    transition: transform 0.3s ease;
    display: inline-block; /* Required for transform to work properly */
}
 /* Modern Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.8);
    /* background: rgba(5, 12, 30,0.95); */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.blurred-bg {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}
.blurred-bg-dark {
    background: rgba(5, 12, 30,0.95);
    backdrop-filter: blur(10px);
}
.blurred {
    filter: blur(10px);
}
/* Normal weight */
@font-face {
    font-family: 'Noto Sans Arabic';
    src: url('/fonts/noto-sans-arabic/NotoSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold weight */
@font-face {
    font-family: 'Noto Sans Arabic';
    src: url('/fonts/noto-sans-arabic/NotoSansArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* @font-face {
    font-family: 'dinnext';
    src: url('../fonts/DIN NEXT ARABIC REGULAR.otf') format('opentype');
    font-weight: bolder;
    font-style: normal;
}
*{
    font-family: 'dinnext'
} */
.pattern{
    color: var(--color-main) !important;
    background-image: url("pattern-nb.webp");
    background-position: center;
    background-size: 20%;
}
#container1{
    /* max-width: 960px; */
    /* width: 560px; */

    width: 100%;
    /* height: 100%; */
    min-height: 100vh;
}
.bill-notes{
    white-space: pre-line;
}
#container{
    max-width: 960px;
    /* width: 560px; */

    height: 100%;
    min-height: 100vh;
    /*
    */
}


.text-main{
    color: var(--color-main-dark);
}
.text-bright{
    color: var(--color-bright);
}

.text-default{
    color: #000080;
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 15px);}
    100%   { transform: translate(0, -0px);}
}
/* Define your custom font for Arabic. Make sure you've processed it with Dompdf!*/
/* @font-face {
    font-family: 'arialbd';
    src: url('/fonts/arialbd.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
} */
/* Custom CSS for MD screens and up (768px+) */
@media (min-width: 768px) {
    /*modern squircle entire website */
    @supports (corner-shape: squircle) {
    /* @supports (corner-shape: squircle) { */
        button,a,.modal-content ,input,select,.select2-selection,.select2-search__field,
        .form-control,.card{
            border-radius: 15px !important;
            corner-shape: squircle !important;
        }
    /* } */

        .squircle{
            border-radius: 15px !important;
            corner-shape: squircle !important;
        }
    }

}
.noto-sans-arabic{
    font-family: "Noto Sans Arabic", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}

.liquid_shape{
    background: linear-gradient(45deg, var(--color-main-dark) 0%, var(--color-main-light) 100%);
    width:  200px;
    height: 200px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquid 8s ease-in-out infinite;
}

@keyframes liquid{
    0%{
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; background-size:100% 100%;
    }
    50%{
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; background-size:300% 150%;
    }
    100%{
        border-radius:60% 40% 30% 70% / 60% 30% 70% 40%; background-size:100% 100%;
    }
}
  /* Grid Layout */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: .75rem; /* Adjust gap as needed */
}
.menu-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: .75rem; /* Adjust gap as needed */
}
.menu-grid>div{
    background-color: #fff;

}
.shadow-md{
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
    , 0 -2px 3px 1px rgba(0, 0, 0, 0.06)
    ;
}
.font-30{
    font-size: 30px;
}
.font-25{
    font-size: 25px;
}
.font-12{
    font-size: 12px;
}
/* Example usage in Bootstrap 5.3 */

.btn-primary {
--bs-btn-bg: var(--color-main);
--bs-btn-border-color: var(--color-main);
--bs-btn-hover-bg: var(--color-main-light); /* Slightly darker for hover */
--bs-btn-hover-border-color: var(--color-main) !important;
--bs-btn-hover-color: var(--color-main);
font-weight: 900;
}
.btn-default {
--bs-btn-bg: var(--color-main-d);
--bs-btn-border-color: var(--color-main-d);
--bs-btn-hover-bg: var(--color-main-light-d); /* Slightly darker for hover */
--bs-btn-hover-border-color: var(--color-main-d);
--bs-btn-hover-color: var(--color-main-d);
--bs-btn-active-color: #fff;
font-weight: 900;
color: var(--bs-btn-active-color);
}
.btn-outline-primary {
--bs-btn-active-color: white !important;
--bs-btn-active-bg: var(--color-main);
--bs-btn-active-border-color: var(--color-main);

--bs-btn-color: var(--color-main) !important;
--bs-btn-bg: var(--color-main-light);
--bs-btn-border-color: var(--color-main);

font-weight: 900;
}
.badge{
    --bs-badge-color: black;

}
.btn-primary:visited {
--bs-btn-bg: var(--color-main);
--bs-btn-border-color: var(--color-main);
--bs-btn-hover-bg: var(--color-main-light); /* Slightly darker for hover */
--bs-btn-hover-border-color: var(--color-main);
--bs-btn-hover-color: var(--color-main);
}
.accordion-button:not(.collapsed) {
    color: var(--color-main);
    background-color: var(--color-main-light);
}
/* Example usage for other elements */

.nav-link.active,
.nav-link:hover {
color: var(--color-main);
}
      /* Target the individual list items in the dropdown menu */
/* .select2-container--bootstrap-5 .select2-results__option { */
    /* height: 60px !important; */
    /* display: flex !important; */
    /* align-items: center;  */
    /* Vertically center the text */
    /* padding-left: 15px !important;  */
    /* Optional: better spacing for large items */
    /* font-size: 1.1rem;  */
    /* Optional: make text slightly larger to match height */
/* } */
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option{

    padding: 1.1rem .75rem;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{
    padding: 1.1rem .75rem;
}
#sidebar1{
    background-color: var(--color-main-darker);
    /* color: var(--color-main-darker); */
    overflow-y: scroll;
    padding-bottom: 150px;
}
#sidebar1 .nav-link{
    height: 48px;
    padding: 12px 0 12px 12px ;
    display: flex;
}
#sidebar1 .nav-link:hover{
    background-color: #0000ce40 !important;
}
#sidebar1 .nav-link:hover::before{
    background-color: white !important;
}
#sidebar1 .bg-hover{
    background-color: var(--color-bright) !important;
}
#sidebar1 .bg-hover::before{
    background-color: white !important;
}
#sidebar1 .nav-link::before{
    content: "";
    display: flex;
    width: 4px;
    height: 28px;
    border-radius: 2px;
    /* margin-inline-end: 44px; */
    margin-inline-end: 12px;
}

.text-primary {
color: var(--color-main-darker);
}
/* Bootstrap 5.3 color classes */

.bg-main {
    background-color: var(--color-main);
}
.bg-darker {
    background-color: var(--color-main-darker) !important;
}
.text-primary {
color: var(--color-main) !important;
}

.bg-dark {
background-color: var(--color-main-dark);
}

.text-dark {
color: var(--color-main-dark);
}

.bg-main-light {
background-color: var(--color-main-light);
}
.bg-instagram {
    background: radial-gradient(
      circle farthest-corner at 10% 75%,
      rgba(255, 225, 125, 1) 0%,
      rgba(255, 205, 105, 1) 12%,
      rgba(250, 145, 55, 1) 25%,
      rgba(235, 65, 65, 1) 40%,
      transparent 75%
    ),
    linear-gradient(-15deg, rgba(35, 75, 215, 1) 20%, rgba(195, 60, 190, 1) 90%);
  }
  .bg-yellow{
    background-color: #fffc00;
  }
  .rounded-1{
    border-radius: 8px !important;
  }
.text-light {
color: var(--color-main);
}
.border-dark {
border-color: var(--color-main) !important;
}
.border-main{
    border-color: var(--color-main-light) !important;
}
/* Example usage */

/* ... add more CSS rules as needed ... */

.accordion-button::after{
    margin-right: auto !important;
    margin-left: 0 !important;
    position: absolute;
    left: 10px;
}
.switch-success:checked{
    background-color: rgb(82, 196, 26) ;
    border-color: rgb(82, 196, 26) ;
}
.list-group-item{
    /* height: 70px; */
    min-height: 56px;
}
.form-switch input {
    height: 23px !important;
    width: 40px !important;
}

.currency {
    color: white !important;
    border-top-right-radius: 0.375rem;
}

.shadow-1{
    box-shadow: 0 -3px 5px rgba(0, 0, 0, .09), 0px 24px 32px rgba(0, 0, 0, .08);
}

.counter{
    z-index: 9;
}

.rounded-bottom-right-0{
    border-bottom-right-radius: 0;
}
.no-bullets {
    list-style-type: none;
}
@font-face {
    font-family: 'saudi_riyal';
    src: url("../../fonts/saudi_riyal.woff2") format('woff2'),
         url("../../fonts/saudi_riyal.woff") format('woff'),
         url("../../fonts/saudi_riyal.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

  /* Ensure the icon class correctly loads the Riyal symbol */
  .icon-saudi_riyal::before {
    content: "\e900";
    font-family: 'saudi_riyal' !important;
    font-size: 1.3em;
    font-weight: 100;
    color: inherit;
  }
  .w-33{
    width: 33% !important;
  }
  .drag-handle {
    cursor: grab; /* Indicate it's draggable */
    margin-right: 5px; /* Add some spacing */
}
.btn-sm{
    font-size: 12px;
}
.btn-primary:hover,.btn-outline-primary:hover {
    background-color: #000080;
    color: #fff;
}
.no-select {
  /* Standard property for modern browsers */
  user-select: none;

  /* Vendor prefixes for older browsers */
  -webkit-user-select: none; /* Safari, Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
}

.veg {
    background-color: #28a745; /* A shade of green for vegetarian */
    color: white;
}

.non_veg {
    background-color: #dc3545; /* A shade of red for non-vegetarian */
    color: white;
}

.egg {
    background-color: #ffc107; /* A shade of yellow for egg-based */
    color: black;
}
.cheese {
    background-color: #fd7e14; /* Orange */
}
.sea_item {
    background-color: #2B9CFB; /* Orange */
}

/* Sets the default transition for the icon */
#sidebar1 .collapse-icon {
    transition: transform 0.3s ease;
}

/* Target the icon when the link's aria-expanded attribute is 'true'
Bootstrap automatically sets aria-expanded="true" when the collapse is open.
*/
#sidebar1 .nav-link[aria-expanded="true"] .collapse-icon {
    transform: rotate(-180deg);
}

/* Handle the initial state (optional, only if you need the icon
to start rotated when the PHP condition is true,
but Bootstrap should handle this on load/refresh if the collapse is active)
*/
#sidebar1 .nav-link[aria-expanded="false"] .collapse-icon {
    transform: rotate(0deg);
}
/* Example custom CSS for btn-sm-down */
@media (max-width: 767.98px) { /* Adjust breakpoint as needed for 'sm' */
  .btn-sm-down {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
  }
}
 .pagination-links div{
        width: 100%;
        direction: ltr
    }
    .pagination-links div:first-child{
        text-align: start
    }
    .pagination-links .pagination{
        justify-content: flex-end;
    }
    .table-main {
        --bs-table-color: #white;
        --bs-table-bg: var(--color-main);
        --bs-table-border-color: var(--color-main);
        --bs-table-striped-bg: var(--color-main);
        --bs-table-striped-color: var(--color-bright);
        --bs-table-active-bg: var(--color-main);
        --bs-table-active-color: var(--color-bright);
        --bs-table-hover-bg: var(--color-main);
        --bs-table-hover-color: var(--color-bright);
        color: var(--bs-table-color);
        border-color: var(--bs-table-border-color);
    }
/* DON:T apply this in all pages */
@media print{
    #__bring{
        padding: 0 !important;
        margin: 0 !important;
    }
    #container1,#container{
        max-width: 100%;
        height: 100%;
        min-height: 0vh;

    }
    #sidebar1,#navbar1{
        display: none !important;
    }
}
