:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}
body {
    background-color: #fff!important;
  }
.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

/* .back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
} */


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}
.btn.btn-primary:hover {
    box-shadow: 0 0 0 0rem rgb(255 255 255 / 50%);
}
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 20px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: capitalize;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}
@media (max-width: 767px) {
    .pageWrapper {
    min-height: calc(100vh - 19vh)!important;
    }
    .seating-hall,  #all-hall-list {
        overflow-y: auto;
        position: relative;
    }
    .fs-5 {
        font-size: 0.9rem!important;
    }
    .row-label {
    border: 1px solid #aaa;
    border-radius: 5px;
    /* position: fixed; */
    margin-left: 20px;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    max-width: 30px!important;
    min-width: 30px!important;
    background-color: #fff;
    display: block;
    margin-top: 5px;
    text-align: center;
    }

.seat-wrapper {
    display: -webkit-inline-box;
    margin-left: 50px;
}
#order-list table, .table-scrollable-sm {
    min-width: 1200px;
}
.table-scrollable {
    min-width: 700px
}
.food-name {
    max-width: 120px!important;
}
.row.custom-theatre-row:last-child {
    margin-bottom: 20px;
}
.text-start-sm {
    text-align: left!important;
} 
.float-start-sm {
    float: left!important;
}
.mt-sm-0-cust {
    margin-top: 0px!important;
}
.p-sm-0,.p-sm-0-cust {
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.text-md-end {
    float: right;
    text-align: right!important;
}
/* .category-wrapper-outer {
    max-height: 67vh;
    overflow-y: auto;
} */
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
    .container-xxl.position-relative.p-0 {
        padding-bottom: 0px!important;
    }
    #paymentPage  { 
        min-height: calc(100vh - 33vh);
        }
        .ff-secondary-mobile {
            margin-top: 20px;
            text-align: left;
        }
        .ff-secondary-mobile::after {
            content: none;
            width: 0px !important;
        }
        .ps-sm-0 {
            padding-left: 0px!important;
        }
        .navbar-toggler {
            margin-left: auto!important;
            margin-left: 100%;
            float: right;
        }
        .navbar.nav-custom {
            padding-bottom: 1rem;
        }
}

@media (min-width: 992px) {
    .nav-custom.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
        /* margin-bottom: 20px; */

    }
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
    .container-xxl.position-relative.p-0 {
        padding-bottom: 60px!important;
    }
    .theatreHeader.container-xxl.position-relative.p-0 {
        padding-bottom: 60px!important;
    }

    .pageWrapper {
        min-height: calc(100vh - 134px);
    }
    #paymentPage  { 
    min-height: calc(100vh - 30vh);
    }
    .tabs-wrapper {
        padding: 0px 5rem;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(/static/assets/images/bg-hero.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


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

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: capitalize;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}
.section-title.ff-secondary {
    margin-top: 30px;
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    position: relative;
}
.howItWorkImg {
    width: 65px;
    height: auto;
    margin-bottom: 20px;
}
.table-status {
    position: absolute;
    padding: 5px 8px;
    color: #fff;
    right: 0px;
    
}
.table-status a {
    color: #fff;
}
.table-status.busy {
    background-color: #fea116    
}
.table-status.free {
    background-color: #198754;    
}
.cursor-pointer {
    cursor: pointer;
}
.order-list {
    min-height: 60px;
}
/* .service-item:hover {
    background: var(--primary);
} */

/* .service-item * {
    transition: .5s;
} */

/* .service-item:hover * {
    color: var(--light) !important;
} */


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
     background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../images/YoutubeThumbNail.png);
    /* background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(https://guru-sevak-singh.github.io/scan2food-static/static/assets/images/order2.jpeg);  */
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent user interaction */
    z-index: 1;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.custom-table th, .custom-table td {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  


  /* custom css to override bootstrap styyles */


@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 100%!important;
    }
}

/* form */
label.form-label {
    margin-bottom: 0px!important;
    font-size: 0.85rem;
}
/* input.form-control {
margin-bottom: 15px!important;
} */
.btn-secondary.btn-custom {
    border: 1px solid #FEA116!important;
    color: #FEA116!important;
    background-color: transparent!important;
}
.btn:focus {
    box-shadow: 0 0 0 0rem transparent;
}
.w-140 {
    min-width: 140px;
}
/* .w-140 {
    min-width: 180px;
} */
.w-200 {
    min-width: 200px;
}
.w-50 {
    width: 50%;
}
.w-65 {
    width: 65%;
}
.custom-table thead tr {
    background-color: #2c406e;;
    color: #fff;
    letter-spacing: 0.8px;
    min-width: 100px;
}
.brandLogo {
    max-width: 50%;
}
.fa-2x {
    font-size: 1.5em;
}
.smaller {
    font-size:  0.75rem;
}
.order-item {
border-bottom: 1px solid #bbb;
    padding: 10px;
}
.nav-item h6 {
    text-transform: capitalize!important;
}
/* .bg-danger {
background-color: #ffffff !important;
    border: 1px solid #dc3545;
    color: #dc3545!important;
}

    .bg-success {        
        background-color: #ffffff !important;
        border: 1px solid #198754;
        color: #198754!important;
    } */
    label {
        text-transform: capitalize!important;
    }
   .food-details-add-menu {
    font-size: 13px;
   }
   .food-name {
    max-width: 152px;
    word-break: normal;
   }
   .food-description {
    font-size: 0.7rem;
   }
   .seating-hall {
    position: relative;
   }
   .brder-t-1 {
    border-top: 1px solid #fff;
   }
   .category-img-wrapper {
    /* max-width: 100%;
    max-height: 200px; */
    border: 1px solid #0f172b;
   }
   .category-card-link:hover .category-name p {
    color: #FEA116;
   }
   .category-img {
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    max-height: 130px;
    min-height: 130px;
   }
   .category-name p {
    font-size: 0.8rem;
   }
   .menu-food-img {
    width: 80px;
    height: 80px;
   }
   .category-name {
    border: 1px solid #fff;
   }
   .app-brand-logo {
    width: 110px;
    max-width: 100%;
   }
   .app-theatre-details {
    padding-top: 60px!important;
   }
   .custom-pagination {
    margin-top : 15px
   }
   /* @media (min-width: 1024px) {
   .order-item-small-device {
        display: none;
   }
}
@media (max-width: 1023px) {
    .order-item-large-device {
        display: none;
    }
 } */
 .food-item {
    width: 60px
 }

 .blank-div {
    width: 100%;
    height: 35px;
 }
 /* .food-category.active {
    margin-top: 50px;
 } */
  .blank-div.more-margin_bottom {
    width: 100%;
    height: 125px;
 }
 .food-category:last-child .blank-div:last-child {
    height: 40px;
 }
 #food-item-content {
    overflow-y: auto;
    max-height: 600px;
    position: relative;
    overflow-x: hidden;
}
.brdr-left-2px {
    border-left: 2px solid;
}
#chat-box .bg-primary {
    background-color: #fef1dd !important;
    color: #555 !important;

}
/* admin dashboard css */  
    /* unified variables */
    :root {
      --nav-h: 64px;
      /* navbar height used throughout */
      --sidebar-full: 220px;
      /* desktop sidebar width */
      --sidebar-mini: 60px;
      /* compact sidebar width */
      --sf-bg: var(--bs-dark, #071239);
      /* fallback bg if not defined elsewhere */
      --sf-text: #ffffff;
    }

    /* Sidebar (desktop) fixed below navbar so main starts after it */
    .sidebar,
    #sidebar {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      height: calc(100vh - var(--nav-h) + 5px);
      width: var(--sidebar-full);
      background: var(--sf-bg);
      color: var(--sf-text);
      transition: width .25s ease, transform .25s ease, left .25s ease;
      z-index: 1030;
      box-shadow: 3px 0 12px rgba(2, 6, 23, .08);
      overflow-y: auto;
      overscroll-behavior: contain;
      margin-top: -5px;
    }

    /* collapsed / compact variants */
    .sidebar.collapsed,
    #sidebar.collapsed {
      width: var(--sidebar-mini);
    }

    #sidebar.mini {
      width: var(--sidebar-mini) !important;
      min-width: var(--sidebar-mini) !important;
    }

    /* Desktop: main starts after sidebar */
    main.content,
    .content {
      margin-top: var(--nav-h);
      margin-left: var(--sidebar-full);
      padding: 1rem;
      transition: margin-left .18s ease, padding .18s ease;
    }

    /* When sidebar is compact, shift main accordingly (support different class names) */
    #sidebar.mini+main.content,
    .sidebar.mini+.content,
    .sidebar.collapsed~.content {
      margin-left: var(--sidebar-mini);
    }

    /* Nav item visuals (kept from existing rules) */
    .sidebar .menu {
      padding: .5rem .5rem 2rem;
    }

    .sidebar .nav-link {
      display: flex;
      align-items: center;
      gap: .75rem;
      color: #fff;
      border-radius: .75rem;
      padding: .65rem .85rem;
      font-weight: 500;
      margin-bottom: 5px;
    }

    .sidebar .nav-link .bi {
      font-size: 1.1rem;
      width: 1.4rem;
      text-align: center;
      flex: 0 0 1.4rem;
    }

    .nav-text {
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow-wrap: anywhere;
      font-size: 14px;
    }

    .sidebar .nav-link:hover,
    .sidebar .nav-link.active {
      background: #FEA116;
      color: #111827;
    }

    .submenu .nav-link {
      padding: .5rem .85rem .5rem 2.55rem;
      color: #f8fafc;
    }

    .chev {
      margin-left: auto;
      transition: transform .2s;
    }

    .nav-link[aria-expanded="true"] .chev {
      transform: rotate(90deg);
    }

    .drop-list {
      background: #1f2e52;
      border-radius: .75rem;
      padding: .25rem;
      margin: .25rem .25rem .5rem 2.6rem;
    }

    .drop-list .dropdown-item {
      color: #fff;
      border-radius: .5rem;
    }

    .drop-list .dropdown-item:hover {
      background: var(--sf-accent);
      color: #111827;
    }

    .dropdown-item {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    /* mini state: hide labels and center icons */
    #sidebar.mini .nav-text,
    #sidebar.mini .chev,
    #sidebar.mini .drop-list {
      display: none !important;
    }

    #sidebar.mini .menu .nav-link {
      justify-content: center;
      padding-left: .5rem;
      padding-right: .5rem;
    }

    #sidebar.mini .menu .nav-link .bi {
      margin-right: 0 !important;
    }

    /* Mobile behaviour: overlay under navbar; ensure main has no left margin */
    @media (max-width: 991.98px) {

      /* Sidebar is an overlay on mobile */
      .sidebar,
      #sidebar {
        position: fixed;
        top: var(--nav-h);
        /* guarantee overlay starts below navbar */
        left: 0;
        transform: translateX(-100%);
        width: 85vw;
        max-width: 400px;
        /* height: calc(100vh - var(--nav-h)); */
        height: calc(100vh - var(--nav-h) + 5px);
        box-shadow: 3px 0 12px rgba(2, 6, 23, .08);
        
      }

      /* When shown, slide in under navbar */
      .sidebar.show,
      #sidebar.show {
        transform: translateX(0);
      }

      /* main content on mobile must not have side margin and should start below navbar */
      main.content,
      .content {
        margin-left: 0;
        margin-top: var(--nav-h);
      }

      /* ensure mini/collapsed states don't force widths on mobile */
      #sidebar.mini {
        width: auto;
        min-width: 0;
      }

      .sidebar.collapsed {
        width: auto;
      }
    }

    .dashboard-navbar.sf-navbar,
    .dashboard-sideBar#sidebar {
      background: #2c406e;
    }
    .dashboard-navbar.sf-navbar {
            position: fixed;
    width: 100%;
    top: 0px;
    float: left;
    }

    /* other existing helpers kept (cards, kpi, etc.) */
    .card {
      border: 0;
      box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
      border-radius: 1rem;
    }

    .kpi {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .kpi .icon {
      width: 44px;
      height: 44px;
      border-radius: .9rem;
      background: rgba(254, 161, 22, .12);
      display: grid;
      place-items: center;
      font-size: 1.25rem;
    }

    #miniToggle {
      height: 36px;
      width: 36px;
      padding: 0.25rem;
    }

/* admin dashboard cs */
.border-1px-primary {
    border: 1px solid #fff !important;
}