.app-sidebar {
  background: white !important;
  border-bottom: 3px solid var(--bs-border-color);
}
:root {
  --app-header-h: 56px; /* matches AdminLTE’s 3.5rem header */
}
:root,
[data-bs-theme=light] {
  --bs-body-bg-rgb: 0, 36, 71;
  --bs-emphasis-color-rgb: 255, 255, 255;

}

.nvarbar,
.navbar-nav {
  --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 1) !important;
}

:root,
[data-bs-theme=light] {
  --bs-nav-link-font-size: 20px;
}

/*Body background*/
:root,
[data-bs-theme=light] {
  --bs-tertiary-bg-rgb: 217, 221, 215;
  /* 119, 129, 120;*/
}

.sidebar-wrapper {
  background: rgb(217, 221, 215);
}

[data-bs-theme=light] {
  --lte-sidebar-hover-bg: #FFC15E;

}

:root,
[data-bs-theme=light] {
  --bs-border-color: #FFC15E !important;
}

.sidebar-brand {
  padding: 1.75rem 0.5rem;

}

.sidebar-brand .brand-text {
  color: white !important;
}

.sidebar-brand,
.app-header {
  border-bottom: 5px solid var(--bs-border-color);
  background: rgba(0, 36, 71);
  box-shadow: 0px 10px 27px -8px rgba(0, 0, 0, 0.47);
  -webkit-box-shadow: 0px 10px 27px -8px rgba(0, 0, 0, 0.47);
  -moz-box-shadow: 0px 10px 27px -8px rgba(0, 0, 0, 0.47);
}

.sidebar-mini.sidebar-collapse .sidebar-menu .nav-link {
  width: 3.6rem;
  /*color: #ff8d00;*/
  border: 1px solid #FFC15E !important;
}

.sidebar-wrapper .nav-link p {
  font-size: 13px;
}

.app-main {
  margin-top: 60px;
}

.card-primary,
.bg-primary,
.text-bg-primary {
  color: #212529 !important;
  background-color: #fff !important;
  border: 1px solid #FFC15E;
}

.card-primary,
.bg-primary,
.text-bg-primary:hover {
  background-color: #FFC15E !important;
}

.badge b {
  font-size: medium;
}

.sidebar-menu .nav-item>.nav-link {
  border: 1px solid #FFC15E !important;

  color: white;
  background: rgb(0, 29, 57);
}

/* If the screen size is 1200px wide or more, set the font-size to 80px */
@media (min-width: 1200px) {
  .responsive-font-example {
    font-size: 20px;
    margin-top: 10px;
    margin: auto;
    font-weight: bold;
    /*background: #7BADEC;
background: linear-gradient(181deg, rgba(123, 173, 236, 1) 22%, rgba(255, 132, 64, 1) 89%);*/
    border: 1px solid;
    border-radius: 2px;
    /* color: lightyellow; */
    padding: 3px;
    color: white;
  }

  .marathi-span {
    font-size: 13px;
  }

}

/* If the screen size is smaller than 1200px, set the font-size to 80px */
@media (max-width: 1199.98px) {
  .responsive-font-example {
    font-size: 15px;
    margin-top: 10px;
    margin: auto;
    font-weight: bold;
    /*background: #7BADEC;
background: linear-gradient(181deg, rgba(123, 173, 236, 1) 22%, rgba(255, 132, 64, 1) 89%);*/
    border: 1px solid;
    border-radius: 2px;
    /* color: lightyellow; */
    padding: 1px;
    text-align: center;
    color: white;
  }
}

.pading01 {
  padding: 0.1rem 0.75rem;
}

.margin-top-label {
  margin-top: 2px;
  margin-bottom: 0rem;
}

.registration-form-size {
  max-width: 25rem;
}

.form-label,
.form-check-label {
  font-weight: 600;
}

.form-control,
.form-select {

  padding: 0.2rem;
}

.marathi-span {
  font-size: 14px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gradient-1 {
  background-color: #0093E9;
  background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);
}

.gradient-2 {
  background: #FFC15E;
  background: linear-gradient(96deg, rgba(255, 193, 94, 0.71) 22%, rgba(255, 132, 64, 0.71) 95%);
}

.gradient-3 {
  background: #7DACEA;
  background: linear-gradient(284deg, rgba(125, 172, 234, 1) 16%, rgba(32, 52, 153, 1) 58%);
  color: white;
}

.gradient-4 {
  /*background: #21a8de;
	background: linear-gradient(90deg, rgba(33, 168, 222, 1) 0%, rgba(87, 199, 133, 1) 100%);
	box-shadow: 0px 14px 17px -1px rgba(127,135,143,0.67);
	-webkit-box-shadow: 0px 14px 17px -1px rgba(127,135,143,0.67);
	-moz-box-shadow: 0px 14px 17px -1px rgba(127,135,143,0.67);*/
  background: rgb(0, 36, 71);
  color: rgb(251, 235, 235);

}

.card-border-1 {
  border: 1px solid #FFC15E;
}

.card-header {
  border-bottom: 3px solid #FFC15E;
}


.button-3d {
  background-color: #002447;
}

.button-3d:hover {
  box-shadow: 0 6px #002447;
}

.button-3d-success {
  box-shadow: 0 6px #198754;
}

.button-3d-danger {
  box-shadow: 0 6px #dc3545;
}

.button-3d-primary {
  box-shadow: 0 6px #0D6EC8;
}

.btn-search {
  background-color: #002447;
  color: white;
}

.btn-search:hover {
  background-color: #0D6EC8;
  color: white;
}

.button-3d-warning {
  box-shadow: 0 6px #ffc107;
  color: white;
}

.seat {
  width: 2rem;
  height: 2rem;
  margin: 4px;
  border-radius: 5px;
  line-height: 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.seat.available {
  border: 1px solid rgb(255, 193, 94)
}

.seat.booked {
  background-color: rgb(108, 117, 125);
  color: white;
  cursor: not-allowed;
}

.seat.selected {
  background-color: rgb(255, 193, 94);
  color: #002447;
}

.legend-box {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.width-auto {
  width: auto;
}

.row-label {

  text-align: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #6c757d;
}

.custome-checkbox {
  margin-right: 0.3rem;
  padding-left: 3px;
  padding-right: 3px;
  border-radius: 5px;
  font-size: 15px;
}

.seatlayout-container {
  max-height: 485px;
  overflow: auto;
}

.nav-mod {
  --bs-nav-link-padding-x: 0.2rem;
  --bs-nav-link-padding-y: 0.1rem;
}

.nav-tabs-mod {

  border: none;
}

.nav-border-mod {
  border-color: #002447 !important;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-right: 2px solid;
}

.fs-15 {
  font-size: 15px;
}

.fs-20 {
  font-size: 20px;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
  min-height: auto !important;

}

.navbar-expand .navbar-nav .nav-link {
  padding-right: 1px !important;
  padding-left: var(--bs-navbar-nav-link-padding-x);
}

/* ====== Global modal overlay  mobile-friendly sizing ====== */
.modal-overlay {
  background: rgba(0, 0, 0, .45);
}

@media (max-width: 575.98px) {
  .modal-overlay .modal-dialog {
    max-width: 92vw;
    margin: .5rem auto;
  }

  .modal-overlay .modal-content {
    border-radius: .75rem;
  }

  .modal-overlay .modal-header,
  .modal-overlay .modal-footer {
    padding: .5rem .75rem;
  }

  .modal-overlay .modal-title {
    font-size: 1rem;
  }

  .modal-overlay .modal-body {
    padding: .75rem;
    max-height: calc(100vh - 9rem);
    overflow: auto;
  }

  .modal-overlay .form-control,
  .modal-overlay .form-select {
    height: 36px;
    padding: .375rem .5rem;
    font-size: .95rem;
  }

  .modal-overlay .btn {
    padding: .375rem .5rem;
    font-size: .9rem;
  }
}

/* Floating scroll buttons (used by Customers.jsx) — bottom-right */
.scroll-fabs {
  position: fixed;
  right: 12px;
  bottom: 16px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 575.98px) {
  .scroll-fabs {
    right: 8px;
    bottom: 12px;
  }
}

.scroll-fabs .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Toggle button when scroll-fabs are hidden */
.scroll-fab-toggle {
  position: fixed;
  right: 12px;
  bottom: 72px;
  z-index: 1080;
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

@media (max-width: 575.98px) {
  .scroll-fab-toggle {
    right: 8px;
    bottom: 84px;
  }
}

.btn-outline-warning-edit {
  --bs-btn-color: black;
  --bs-btn-border-color: black;
}

.btn-outline-warning-edit:hover {
  border: 1px solid black;
  background-color: #ffc107;

}

.btn-outline-print {

  background-color: #eb2869;
  --bs-btn-border-color: white;
  color: white;
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.btn-outline-print:hover {
  border: 1px solid #fff;
  color: white;
  background-color: #ed5a89;

}

.form-label {
  margin: 0.1rem !important;
}

/* Full-screen loading overlay (used by Customers.jsx) */
.screen-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1100;
  /* above page content and cards; below Bootstrap modals (1050–1060 is default) */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Prevent background scroll while overlay is shown */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: auto;
}

/* Print-friendly view for Customers table */
@media print {

  /* Hide global chrome you don’t want in PDF */
  nav,
  .navbar,
  .filters,
  .scroll-fabs,
  .scroll-fab-toggle,
  .card .card-header,
  .btn,
  .pagination,
  .modal,
  .modal-backdrop {
    display: none !important;
  }

  /* Show only the printable area */
  .printable-customers {
    visibility: visible !important;
    position: static !important;
  }

  /* Make table full width and readable */
  .printable-customers .table {
    font-size: 12px;
    width: 100% !important;
  }

  /* Avoid sticky artifacts when printing */
  .table-sticky thead th {
    position: static !important;
  }
}

/* Keep label chip on one line across tablet/fold widths */
.filters .input-group-text {
  white-space: nowrap;
  /* don't split label like "Status" */
  padding-inline: .5rem;
  /* compact chip */
  max-width: 8rem;
 
  /* safety: avoid pushing control too small */
  overflow: hidden;
  text-overflow: ellipsis;
  /* if a long custom label ever appears */
  padding: 5px;
}

/* iPad-ish widths: give each cell breathing room so chips don't force wraps */
@media (min-width: 576px) and (max-width: 991.98px) {
  .filters .col-md-2 {
    flex: 0 0 auto;
    width: 33.3333%;
  }

  /* 3 per row */
  .filters .col-md-3 {
    flex: 0 0 auto;
    width: 33.3333%;
  }
}

/* --- Prebookings Filters (match Employees/Customers) --- */
.filters .form-control,
.filters .form-select { height: 36px; font-size: .95rem; }
.filters .input-group { height: 36px; }

/* Keep label chips (From/To/Status/Customer/Page) on ONE line */
.filters .input-group-text{
  white-space: nowrap;
  padding-inline: .5rem;
  max-width: 8rem;            /* safety for unusually long labels */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* XS spacing for stacked inputs */
@media (max-width: 575.98px) {
  .filters .row > [class^="col-"] { margin-bottom: .25rem; }
}

/* iPad/fold widths: make 3 items per row so chips never wrap */
@media (min-width: 576px) and (max-width: 991.98px){
  .filters .col-sm-2,
  .filters .col-md-2,
  .filters .col-md-3 { flex: 0 0 auto; width: 33.3333%; }
}

/* (If you use sticky headers in tables on this page) */
.table-sticky thead th { position: sticky; top: 0; z-index: 1; background: var(--bs-body-bg); }

/* ===== XS modal comfort ===== */
@media (max-width: 575.98px) {
  .modal-dialog {
    max-width: 95vw;
    margin: .5rem auto;
  }
  .modal-body {
    padding: .75rem;
  }
  .modal-footer {
    position: sticky;
    bottom: 0;
    background: var(--bs-body-bg);
    z-index: 1;
  }
}
/* ===== Payments: scrollable cards on phones ===== */
@media (max-width: 575.98px) {
  .payments-cards {
    max-height: 50vh;        /* adjust 45–60vh to taste */
    overflow: auto;
    padding-right: .25rem;   /* keep text clear of scrollbar */
    -webkit-overflow-scrolling: touch;
  }
  .payments-cards .card {
    margin-bottom: .5rem;
  }
} 
@media (max-width: 575.98px) {
  .card > .card-header { position: sticky; top: 0; z-index: 2; background: var(--bs-body-bg); }
}


@media (max-width: 575.98px) {
  .payments-cards {
    max-height: 50vh;
    overflow: auto;
    padding-right: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .payments-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
}
.text-truncate-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.smalltext-seat-label
{
  font-size: 0.7em !important;
  font-weight: bold;
}

.btn-reinstate{
  background-color: #5f50af;
    color: white;
}
.btn-reinstate:hover{
  background-color: #5f50af;
    color: white;
    border-color: white;
}
.sidebar-expand-lg.sidebar-open .sidebar-overlay{
  position: fixed !important;
}
.sidebar-wrapper {
  overflow: scroll !important;
}
@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        min-width: 880px !important;
    }
  }

