/*
    Created on : 25 Aug 2022, 10:19:25
    Author     : yosefgad
*/
body {
  font-family: "Noto Sans", "Amiri", "Open Sans", sans-serif, cursive;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin: 0;
  color: #333333;
  font-size: 1em;
}

.mt-75 {
  margin-top: 75px;
}

.wrapper {
  height: 100%;
  overflow: hidden;
  width: 100%;
  /*padding-top: 66px;*/
}

.sidebar-menu {
  background-color: rgb(167, 25, 75);
  width: 260px;
  z-index: 10;
  bottom: 0;
  position: fixed;
  top: 0;
  /*padding-top: 70px;*/
}

.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: 5px;
  right: auto;
  margin-top: var(--bs-dropdown-spacer);
}

.thin-sidebar {
  /*position: absolute;*/
  width: 70px;
  z-index: 5;
  padding-top: 70;
  visibility: visible;
}

.content-page {
  margin-inline-start: 260px;
  -webkit-margin-start: 260px;
  overflow: hidden;
  padding: 0 0 65px;
  min-height: 100vh;
}

.content_thin-sidebar {
  margin-inline-start: 70px;
  -webkit-margin-start: 70px;
}

.footer_thin-sidebar {
  margin-inline-start: 0px !important;
  -webkit-margin-start: 80px !important;
}

.logo_css {
  width: 30px;
  height: 30px;
}

.side-nav {
  padding-left: 0;
  padding-right: 0;
  list-style-type: none;
}

/*.side-nav li a.active {
    background-color: $primary !important;
}*/
dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
}

.nav-link {
  color: #fce4ea;
}

.nav-link:hover,
.nav-link:focus {
  color: #81d3fa;
}

a.active {
  color: #039BE5 !important;
  font-weight: 700;
}

.fa-solid,
.fas,
.far,
.fal {
  width: 30px;
}

.slct-row-cntry {
  padding: 0 0 0 10px;
  background-image: none;
  cursor: pointer;
}

.side-nav>li a i.fa-solid,
.side-nav>li a i.fas,
.side-nav>li a i.far,
.side-nav>li a i.fal {
  height: 15px;
  font-size: 15px;
}

.side-menu-icon {
  display: inline-block;
  width: 30px;
}

.side-nav .list-group-item {
  border: 0 !important;
  padding: 0;
}

.larg-gray {
  font-size: 24px;
  color: #333333;
}

.page-title-box .page-title {
  font-size: 1.5rem;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
  margin: 0;
  line-height: 33px;
  margin-top: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333333;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-weight: 700;
}

.h5,
h5 {
  font-size: 0.94rem;
}

.card {
  border: none;
}

.widget-number {
  font-size: 20px;
  background-color: rgba(0, 109, 179, 0.1215686275);
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 3px;
  display: inline-block;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

div.scroll {
  margin: 4px, 4px;
  padding: 4px;
  width: 100%;
  max-height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
}

.map-container {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-container iframe {
  left: 0;
  top: 0;
  height: auto;
  width: 100%;
  position: absolute;
}

.card-body {
  padding: 1.5rem 1.5rem;
}

#tableList>.card-body {
  min-height: 150px;
}

.mb-s3 {
  margin-bottom: 0 !important;
}

.user-menu-ltr {
  left: auto !important;
  right: 0 !important;
}

.border-user {
  border: 1px solid #f1f3fa;
  border-width: 0 1px;
}

.div-shadow {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.dropdown-menu a {
  color: #333333;
  font-size: 0.9rem;
}

.rowLineHeight {
  min-height: 50px;
}

.semiTitle {
  font-size: 0.95rem;
  font-weight: 600;
}

.w200px {
  width: 200px;
}

.w300px {
  width: 300px !important;
}

.addHours {
  padding: 0;
}

.addHours:hover {
  padding: 0;
  border-color: #999;
  background-color: var(--bs-btn-hover-bg);
}

.fz-09 {
  font-size: 0.9rem;
}

.fz-85 {
  font-size: 0.85rem;
}

.fz-07 {
  font-size: 0.7rem;
}

.fz-2 {
  font-size: 2rem;
}

.btn-middel {
  width: 100px;
  padding: 0.25rem 1rem 0.25rem 1rem !important;
}

.btn-square-sm {
  width: 24px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: 24px !important;
  text-align: center;
  padding: 0px;
  font-size: 12px;
}

.btn-default {
  background-color: #FFFFFF;
  border-color: #dee2e6;
  color: #444;
  padding: 0 3px;
}

.btn-default:hover {
  background-color: #f8f9fa;
  border: 1px solid;
  border-color: #ced3d9;
}

.fa-dropdown {
  width: 13px !important;
  margin-inline-start: 5px;
}

.fa-dropdown-rtl {
  width: 13px !important;
  padding-left: 5px;
}

.w20px {
  width: 20px;
}

.w50px {
  width: 50px;
}

.w70px {
  width: 70px;
}

.w100px {
  width: 100px !important;
}

.w120px {
  width: 120px !important;
}

.w150px {
  width: 150px;
}

.w180px {
  width: 180px !important;
}

.h38 {
  height: 38px;
}

.s-grid {
  padding: 0;
  border: 1px solid #dee2e6;
  margin-bottom: 1rem;
}

.s-grid-upper {
  padding: 0.4rem 0.4rem;
  border-left: 0;
  border-right: 0;
  background-color: white;
}

.s-grid-middle {
  padding: 0;
  border: 0;
  margin-bottom: 0;
}

.s-grid-lower {
  padding: 0.4rem 0.4rem;
  border-left: 0;
  border-right: 0;
  background-color: white;
}

.px-lr {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

table tr:last-child {
  border-bottom: 1px solid white;
}

/*form label {
    font-weight: 700
}*/
.vbuttom {
  position: absolute;
  bottom: 0;
  alignment-baseline: central;
}

.textarea-form {
  width: 400px !important;
}

.s-btn {
  min-width: 75px;
  padding: 0 !important;
}

#file-select {
  opacity: 0;
  z-index: -1;
}

.s-pt015 {
  padding-top: 0.15rem !important;
}

input:indeterminate {
  background: lime;
}

.s-icon {
  font-size: 1rem;
  width: 1rem;
  text-align: center;
  margin-inline-end: 0.5rem !important;
  -webkit-margin-end: 0.5rem !important;
}

.divSearch {
  width: 300px;
}

.s-img {
  width: 120px;
  height: 120px;
}

.d-important {
  display: block !important;
}

#file-upload {
  opacity: 0;
  z-index: -1;
}

.em-img-select {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.salon-image-droparea {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.salon-image-actions {
  z-index: 2;
  inset: 4px;
}

.salon-image-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem;
  color: #6c757d;
  text-align: center;
  background: radial-gradient(circle at top, rgba(13, 110, 253, 0.08), transparent 62%);
}

.salon-image-empty-icon {
  font-size: 1.6rem;
  color: #9aa4b2;
}

.salon-image-empty-copy {
  font-size: 0.75rem;
  line-height: 1.25;
}

.salon-image-empty-cta {
  line-height: 1.2;
}

#drop-area {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  height: 200px;
  border: 3px dashed #e9e9e9;
}

.lbldrop {
  background-color: #e75410;
  color: white;
  padding: 0.5em 2em;
}

#msgAlert {
  top: 30px;
  padding: 20px;
  min-width: 200px;
  max-width: 400px;
  height: auto;
  z-index: 9999;
  visibility: none;
}

.img-added {
  max-width: 100%;
}

.img-container {
  position: relative;
  text-align: center;
  color: white;
  width: auto;
  max-width: 100%;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

.bg-primary-light {
  background-color: #ffe6e6 !important;
}

.alertDialog {
  background-color: #fdf3cd;
  width: 95%;
  margin-right: auto !important;
  margin-left: auto !important;
  color: #664d03;
}

.w0 {
  width: 0px;
}

.w14 {
  width: 14px;
}

.s-list-group {
  border: 0 !important;
}

.s-list-group:hover {
  border: 0 !important;
  background-color: white;
}

.s-list-group.active {
  background-color: white;
  color: #03569b !important;
}

.section-header {
  margin-bottom: 1rem;
}

.fw-300 {
  font-weight: 300;
}

.section label {
  font-weight: 300;
  margin: 0 0.5rem 0.5rem 0;
}

.border-gray {
  border-color: #D8D8D8;
}

div.sticky {
  position: sticky;
  top: 0;
}

.footer {
  margin-inline-start: 260px;
  -webkit-margin-start: 260px;
  padding: 0 0 10px;
  text-align: center;
  color: #a6a6a6;
}

.getApp {
  height: 24px;
}

.pastBg {
  opacity: 0.5;
}

.btn-blue-100 {
  background-color: #cfe2ff;
  border: none;
}

.btn-blue-100:hover,
.btn-blue-100:focus {
  background-color: #9ec5fe;
  border: none;
}

.btn-blue-200 {
  background-color: #9ec5fe;
  border: none;
}

.btn-blue-200:hover,
.btn-blue-200:focus {
  background-color: #9ec5fe;
  border: none;
}

.btn-blue-300 {
  background-color: #6ea8fe;
  border: none;
  color: #FFFFFF;
}

.btn-blue-300:hover,
.btn-blue-300:focus {
  background-color: #0d6efd;
  border: none;
  color: #FFFFFF;
}

.btn-gray-200 {
  background-color: #e9ecef;
  border: none;
}

.btn-gray-200:hover,
.btn-gray-200:focus {
  background-color: #dee2e6;
  border: none;
}

.clientBg {
  background-color: #cfe2ff;
  color: #0d6efd;
  width: 80px;
  text-align: center;
  font-size: 0.7rem;
}

.staffBg {
  background-color: #d1e7dd;
  color: #198754;
  width: 80px;
  text-align: center;
  font-size: 0.7rem;
}

.btn-green {
  background-color: #2aaa6f;
  color: white;
  width: 80px;
  text-align: center;
}

.alert_replay_closed {
  background-color: #dbf5e1;
  color: #198754;
}

.min-w-500px {
  min-width: 500px;
  width: 600px;
}

.mb-last-0 {
  margin-bottom: 0 !important;
}

.bg-blue {
  background-color: #039BE5 !important;
}

.bg-yellow {
  background-color: #ffdd51 !important;
}

.yellow {
  color: #ffdd51 !important;
}

.yellow-lighter {
  color: #ffeb99 !important;
}

.blue-light {
  color: #4ec2f7 !important;
}

.table-list {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  padding: var(--table-container-table-padding);
}

.dataTable {
  clear: both;
  max-width: none !important;
  border-collapse: separate !important;
}

.table,
table {
  position: relative;
  background: var(--table-bg);
  border-collapse: unset;
  border-spacing: 0;
}

table {
  display: table;
  border-collapse: separate;
  box-sizing: border-box;
  text-indent: initial;
  border-spacing: 2px;
  border-color: gray;
}

.tabletr th,
.tabletr td {
  white-space: nowrap;
}

.top-country-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.42rem 0.62rem;
  border: 1px solid transparent;
}

.top-country-rank {
  opacity: 0.9;
}

.top-country-count {
  display: inline-block;
  margin-inline-start: 0.25rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.top-country-rank-1 {
  background: #FDE2E4;
  border-color: #F8B4BC;
  color: #7A1D2C;
}

.top-country-rank-2 {
  background: #FFF1D6;
  border-color: #F8DDA2;
  color: #7C4A03;
}

.top-country-rank-3 {
  background: #E0EAFF;
  border-color: #BBD0FF;
  color: #1E3A8A;
}

.top-country-rank-4 {
  background: #DDF6F1;
  border-color: #A7E4D8;
  color: #0F5C56;
}

.top-country-rank-5 {
  background: #ECEFF4;
  border-color: #D6DCE6;
  color: #334155;
}

.billing-mobile-table td {
  overflow-wrap: anywhere;
}

.table .billing-expired-row>td,
.table .billing-expired-row>th {
  background-color: #FDECEC !important;
  border-color: #F5C2C7 !important;
  color: #842029;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .card:has(#galeryEditForm) {
  width: min(100%, 58rem);
  max-width: 58rem;
  margin-inline: auto;
  border: 1px solid var(--gallery-border) !important;
  border-radius: 20px !important;
  background: var(--gallery-surface);
  box-shadow: var(--gallery-shadow);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm {
  max-width: 46rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm > .row,
body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .row {
  align-items: center;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm label {
  color: var(--gallery-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .img-thumbnail,
body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .gallery-copy-preview {
  width: min(100%, 24rem);
  max-width: 24rem;
  padding: 0.55rem;
  border: 1px solid var(--gallery-border);
  border-radius: 18px !important;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .insertedImgae,
body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .insertedImage,
body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .gallery-copy-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  border-radius: 14px !important;
  object-fit: contain;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm textarea,
body[data-sidebar-mode][data-page="sidebar-gallery"] #galeryEditForm .gallery-form-textarea {
  width: min(100%, 26rem) !important;
  min-height: 6.5rem;
  border-color: var(--gallery-border);
  border-radius: 14px;
}

@media (max-width: 767.98px) {
  .billing-mobile-table {
    border: 0;
  }

  .billing-mobile-table thead {
    display: none;
  }

  .billing-mobile-table tbody,
  .billing-mobile-table tr,
  .billing-mobile-table td {
    display: block;
    width: 100%;
  }

  .billing-mobile-table tr {
    border: 1px solid #e6e8eb;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    background: #fff;
  }

  .billing-mobile-table tr.billing-expired-row {
    border-color: #F5C2C7;
    background: #FDECEC;
  }

  .billing-mobile-table td {
    white-space: normal !important;
    border: 0;
    padding: 0.35rem 0 !important;
  }

  .billing-mobile-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #6c757d;
    margin-bottom: 0.12rem;
  }

  .billing-mobile-table td .btn {
    width: 100%;
  }
}

.border-top-primary {
  border-top-color: #a7194b !important;
}

.border-top-3 {
  border-top-width: 3px !important;
}

.delSplitHours,
.delHours,
.removeShift {
  color: #c5c5c5;
}

.delSplitHours:hover,
.delHours:hover {
  color: #a7194b;
}

.editSplitHours {
  color: #c5c5c5;
}

.editSplitHours:hover {
  color: #198754;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.horizontal-scroll {
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  border: 1px solid #ddd;
  /* Optional border */
}

.schedule-table {
  min-width: 800px;
  /* Adjust based on content width */
  border-collapse: collapse;
}

.scroll-wrapper {
  display: flex;
  align-items: center;
}

.scroll-left,
.scroll-right {
  background: #a7194b;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
}

.scroll-left:hover,
.scroll-right:hover {
  background: #a7194b;
}

/* Premium services page refresh */
.services-shell {
  --services-surface: #ffffff;
  --services-surface-soft: #f8fafc;
  --services-border: #e3e8f0;
  --services-text: #172033;
  --services-muted: #64748b;
  --services-primary: #a7194b;
  --services-primary-soft: rgba(167, 25, 75, 0.1);
  --services-blue-soft: rgba(3, 155, 229, 0.1);
  --services-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  color: var(--services-text);
  padding-block: 1rem 1.25rem;
}

.services-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--services-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--services-shadow);
}

.services-hero-copy {
  min-width: 0;
}

.services-kicker {
  margin-block-end: 0.35rem;
  color: var(--services-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-title {
  color: var(--services-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.services-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--services-primary);
  background: var(--services-primary-soft);
}

.services-hero-icon i,
.services-readiness-icon i,
.services-readiness-btn i,
.services-empty-icon i,
.services-action-btn i,
.services-drag-cell i {
  width: auto;
}

.services-readiness-panel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 194, 199, 0.8);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9f2 0%, #fff 100%);
  box-shadow: 0 12px 28px rgba(124, 74, 3, 0.08);
}

.services-readiness-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  color: #9a6700;
  background: rgba(255, 193, 7, 0.16);
  font-size: 1.1rem;
}

.services-readiness-title {
  color: var(--services-text);
  font-size: 1rem;
  font-weight: 800;
  margin-block-end: 0.2rem;
}

.services-readiness-copy {
  color: #475569;
  line-height: 1.55;
  margin-block-end: 0.65rem;
}

.services-readiness-list {
  margin-block: 0 0.85rem;
  padding-inline-start: 1.15rem;
  color: #475569;
}

.services-readiness-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  font-weight: 700;
}

.services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--services-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.services-toolbar-search {
  width: 100%;
}

.services-toolbar-search>.mb-2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.55rem !important;
}

.services-toolbar-search form {
  margin: 0;
}

.services-toolbar-search .divSearch {
  width: min(100%, 32rem);
  margin-block-end: 0 !important;
}

.services-toolbar-search .btn {
  border-radius: 999px;
}

.services-toolbar-search .form-control {
  min-height: 2.35rem;
  border-radius: 999px !important;
  border-color: var(--services-border);
  color: var(--services-text);
}

.services-toolbar-search .form-control:focus {
  border-color: rgba(3, 155, 229, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

.services-panel {
  overflow: visible;
  border: 1px solid var(--services-border) !important;
  border-radius: 20px !important;
  background: var(--services-surface);
  box-shadow: var(--services-shadow);
}

.services-panel-header {
  border-color: var(--services-border);
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.services-panel-header .row {
  align-items: center;
}

.services-panel-header .btn {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
}

.services-list-body {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.services-list-head {
  align-items: center;
  min-height: 3rem;
  border-block-end: 1px solid var(--services-border);
  color: var(--services-muted);
  background: var(--services-surface-soft) !important;
  font-size: 0.76rem;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-select-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.25rem;
  width: 3.25rem !important;
  min-width: 3.25rem;
  margin-inline: 0.25rem !important;
}

.services-select-cell .form-check-input {
  margin-top: 0;
}

.services-list {
  margin-block-end: 0;
  padding-inline-start: 0;
}

.services-list .draggable {
  box-sizing: border-box;
  vertical-align: top;
}

.services-list>li,
.services-shell ul.grid li {
  box-sizing: border-box;
  vertical-align: top;
}

.services-list>li.placeholder,
.services-shell ul.grid li.placeholder {
  min-height: 6rem;
  border: 1px dashed rgba(3, 155, 229, 0.45) !important;
  border-radius: 18px;
  background: rgba(3, 155, 229, 0.05) !important;
}

.services-shell ul.dropdown-menu li {
  border: 0 !important;
}

.services-row {
  align-items: center;
  min-height: 6.25rem;
  border: 0 !important;
  border-block-end: 1px solid var(--services-border) !important;
  color: var(--services-text);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.services-row:last-child {
  border-block-end: 0 !important;
}

.services-row:hover {
  position: relative;
  z-index: 1;
  background: #fbfdff;
  box-shadow: inset 0 0 0 1px rgba(3, 155, 229, 0.1);
}

.services-title-cell {
  color: var(--services-text);
  overflow-wrap: anywhere;
}

.services-description-cell {
  color: var(--services-muted);
  line-height: 1.45;
}

.services-thumbnail {
  width: 4.75rem;
  height: 4.75rem;
  padding: 0;
  border: 1px solid var(--services-border);
  border-radius: 16px !important;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.services-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: var(--services-muted);
  background: #fff;
}

.services-action-btn:hover,
.services-action-btn:focus {
  color: var(--services-primary);
  border-color: rgba(167, 25, 75, 0.24);
  background: rgba(167, 25, 75, 0.06);
}

.services-action-btn::after {
  margin-inline-start: 0.25rem;
}

.services-drag-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem !important;
  min-height: 2rem;
  border-radius: 999px;
  color: #94a3b8 !important;
  cursor: grab;
  transition:
    color 0.18s ease,
    background-color 0.18s ease;
}

.services-row:hover .services-drag-cell {
  color: var(--services-primary) !important;
  background: var(--services-primary-soft);
}

.services-drag-cell:active {
  cursor: grabbing;
}

.services-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid var(--services-border);
  border-radius: 20px;
  color: var(--services-muted);
  background:
    radial-gradient(circle at top, rgba(3, 155, 229, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--services-shadow);
  text-align: center;
}

.services-empty-card-inline {
  min-height: 10rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.services-empty-row {
  padding: 0;
  border: 0 !important;
}

.services-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  color: #03569b;
  background: var(--services-blue-soft);
  font-size: 1.1rem;
}

.services-empty-title {
  color: var(--services-text);
  font-weight: 800;
}

.services-empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.services-panel .card-footer {
  min-height: 0.65rem;
  border-color: var(--services-border);
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  background: #fff;
}

/* Premium services delete confirmation refresh */
.services-delete-shell {
  --services-delete-surface: #ffffff;
  --services-delete-surface-soft: #fff7f8;
  --services-delete-border: #f0d8dd;
  --services-delete-border-soft: #e3e8f0;
  --services-delete-text: #172033;
  --services-delete-muted: #64748b;
  --services-delete-danger: #b42318;
  --services-delete-danger-soft: rgba(180, 35, 24, 0.1);
  --services-delete-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  color: var(--services-delete-text);
  padding-block: 1rem 1.25rem;
}

.services-delete-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--services-delete-border-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(180, 35, 24, 0.1), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fffafa 60%, #f8fafc 100%);
  box-shadow: var(--services-delete-shadow);
}

.services-delete-hero-copy {
  min-width: 0;
}

.services-delete-kicker {
  margin-block-end: 0.35rem;
  color: var(--services-delete-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-delete-title {
  color: var(--services-delete-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.services-delete-hero-icon,
.services-delete-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.services-delete-hero-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--services-delete-danger);
  background: var(--services-delete-danger-soft);
}

.services-delete-hero-icon i,
.services-delete-warning-icon i {
  width: auto;
}

.services-delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 194, 199, 0.88);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%);
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.08);
}

.services-delete-warning-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  color: var(--services-delete-danger);
  background: rgba(220, 53, 69, 0.12);
  font-size: 1.05rem;
}

.services-delete-warning-title {
  color: var(--services-delete-text);
  font-size: 1rem;
  font-weight: 800;
  margin-block-end: 0.2rem;
}

.services-delete-warning-copy {
  color: #475569;
  line-height: 1.55;
}

.services-delete-panel {
  overflow: hidden;
  border: 1px solid var(--services-delete-border-soft) !important;
  border-radius: 20px !important;
  background: var(--services-delete-surface);
  box-shadow: var(--services-delete-shadow);
}

.services-delete-list-body {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.services-delete-table {
  border-collapse: separate;
  border-spacing: 0;
}

.services-delete-table thead th {
  border-block-end: 1px solid var(--services-delete-border-soft);
}

.services-delete-table-head th {
  color: var(--services-delete-muted);
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-delete-row>td {
  vertical-align: middle;
  border-color: var(--services-delete-border-soft);
  color: var(--services-delete-text);
}

.services-delete-row:hover>td {
  background: #fffafa;
}

.services-delete-thumbnail {
  width: 4.75rem;
  height: 4.75rem;
  padding: 0;
  border: 1px solid var(--services-delete-border-soft);
  border-radius: 16px !important;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.services-delete-title-cell {
  font-weight: 800;
  color: var(--services-delete-text);
  overflow-wrap: anywhere;
}

.services-delete-description-cell {
  color: var(--services-delete-muted);
  line-height: 1.45;
}

.services-delete-meta-cell {
  color: #475569;
}

.services-delete-empty {
  color: var(--services-delete-danger);
  font-weight: 800;
}

.services-delete-actions {
  border-color: var(--services-delete-border-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  padding-block: 0.85rem;
}

.services-delete-confirm-btn,
.services-delete-cancel-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

.services-delete-confirm-btn {
  box-shadow: 0 12px 22px rgba(180, 35, 24, 0.18);
}

.services-delete-confirm-btn:hover,
.services-delete-confirm-btn:focus {
  box-shadow: 0 16px 26px rgba(180, 35, 24, 0.24);
}

.services-delete-cancel-btn {
  color: var(--services-delete-muted);
  background: #fff;
}

/* Premium service add form refresh */
.service-form-shell {
  --service-form-surface: #ffffff;
  --service-form-surface-soft: #f8fafc;
  --service-form-border: #e3e8f0;
  --service-form-text: #172033;
  --service-form-muted: #64748b;
  --service-form-primary: #a7194b;
  --service-form-primary-soft: rgba(167, 25, 75, 0.1);
  --service-form-blue: #039BE5;
  --service-form-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  color: var(--service-form-text);
  padding-block: 1rem 1.25rem;
}

.service-form-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--service-form-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--service-form-shadow);
}

.service-form-hero-copy {
  min-width: 0;
}

.service-form-kicker {
  margin-block-end: 0.35rem;
  color: var(--service-form-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-form-title {
  color: var(--service-form-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.service-form-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.service-form-mode-pill.is-add {
  color: #03569b;
  background: rgba(3, 155, 229, 0.12);
}

.service-form-mode-pill.is-copy {
  color: var(--service-form-primary);
  background: var(--service-form-primary-soft);
}

.service-form-mode-pill.is-edit {
  color: #6b21a8;
  background: rgba(107, 33, 168, 0.1);
}

.service-form-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--service-form-primary);
  background: var(--service-form-primary-soft);
}

.service-form-mode-pill i,
.service-form-hero-icon i,
.service-media-btn i {
  width: auto;
}

.service-form-panel {
  margin-inline: auto;
  border: 1px solid var(--service-form-border) !important;
  border-radius: 20px !important;
  background: var(--service-form-surface);
  box-shadow: var(--service-form-shadow);
}

.service-form-alert:empty {
  padding-block: 0 !important;
}

.service-form {
  --bs-gutter-x: 0;
}

.service-form-section {
  margin-block-end: 1rem;
  padding: 1rem;
  border: 1px solid var(--service-form-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.service-form-section-media {
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.service-form-section-heading {
  margin-block-end: 0.9rem;
  color: var(--service-form-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-form-row:last-child {
  margin-block-end: 0 !important;
}

.service-form-label {
  color: var(--service-form-text);
  font-weight: 800;
}

.service-form-control,
.service-form-select {
  min-height: 2.65rem;
  border-color: var(--service-form-border);
  border-radius: 14px;
  color: var(--service-form-text);
  background: #fff;
}

.service-form-control:focus,
.service-form-select:focus {
  border-color: rgba(3, 155, 229, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

.service-form-control.border-danger,
.service-form-select.border-danger,
.service-media-droparea.border-danger {
  border-color: #dc3545 !important;
}

.service-form-textarea {
  width: 100% !important;
  min-height: 7rem;
  resize: vertical;
}

.service-media-droparea {
  position: relative;
  overflow: hidden;
  border-color: var(--service-form-border);
  border-radius: 20px !important;
  background:
    radial-gradient(circle at top, rgba(3, 155, 229, 0.1), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.service-media-preview {
  object-fit: cover;
}

.service-media-actions {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service-media-btn {
  min-height: 2.25rem;
  border: 1px solid var(--service-form-border);
  border-radius: 999px;
  color: var(--service-form-text);
  background: #fff;
}

.service-media-btn:hover,
.service-media-btn:focus {
  color: #03569b;
  border-color: rgba(3, 155, 229, 0.3);
  background: rgba(3, 155, 229, 0.08);
}

.service-media-divider {
  color: var(--service-form-muted);
}

.service-duration-group {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.service-duration-group .service-form-select {
  min-width: 4.5rem;
}

.service-setting-row {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding-block: 0.65rem;
  padding-inline: 0.8rem;
  border: 1px solid var(--service-form-border);
  border-radius: 16px;
  background: var(--service-form-surface-soft);
}

.service-setting-row small {
  color: #475569;
}

.service-team-section {
  margin-block-end: 1rem;
}

.service-team-row {
  margin-inline: 0;
  padding-block: 0.8rem;
  border-radius: 16px;
}

.service-team-list {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-form-required {
  width: auto;
  margin-inline: 0;
  border-radius: 16px;
  font-weight: 700;
}

.service-form-actions {
  align-items: center;
  padding-block-start: 0.35rem;
}

.service-form-submit-btn,
.service-form-cancel-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

.service-form-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

.service-form-submit-btn:hover,
.service-form-submit-btn:focus {
  box-shadow: 0 16px 26px rgba(3, 155, 229, 0.24);
}

.service-form-cancel-btn {
  color: var(--service-form-muted);
  background: #fff;
}

/* Premium staff pages refresh */
body[data-sidebar-mode][data-page="sidebar-staff"] {
  --staff-primary: var(--account-primary, #a7194b);
  --staff-primary-soft: rgba(167, 25, 75, 0.1);
  --staff-blue: #039be5;
  --staff-blue-soft: rgba(3, 155, 229, 0.1);
  --staff-success: #15803d;
  --staff-success-soft: rgba(21, 128, 61, 0.12);
  --staff-surface: #ffffff;
  --staff-surface-soft: #f8fafc;
  --staff-border: #e3e8f0;
  --staff-text: #172033;
  --staff-muted: #64748b;
  --staff-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-shell,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-shell {
  color: var(--staff-text);
  padding-block: 1rem 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--staff-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--staff-shadow);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero-copy,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-kicker,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-kicker {
  margin-block-end: 0.35rem;
  color: var(--staff-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-title,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-title {
  color: var(--staff-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-helper {
  max-width: 42rem;
  color: var(--staff-muted);
  line-height: 1.5;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-primary-cta,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.4rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-primary-cta i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-cta i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-icon i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-btn i,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-mode-pill i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero-icon,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--staff-primary);
  background: var(--staff-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--staff-border);
  border-radius: 18px;
  background: var(--staff-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search>.mb-2 {
  margin-block-end: 0.35rem !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search #showSearch,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search>.mb-2 .btn {
  margin-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search form {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search .divSearch {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search .form-control,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search #btn-search {
  min-height: 2.15rem;
  border-radius: 10px;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel {
  position: relative;
  overflow: visible;
  border: 1px solid var(--staff-border) !important;
  border-radius: 20px !important;
  background: var(--staff-surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel:has(.dropdown-menu.show) {
  z-index: 20;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel-header {
  border-color: var(--staff-border);
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel-header .row {
  align-items: center;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel-header .btn {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  border-color: #dbeafe;
  color: #0369a1;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel-header .btn:hover,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel-header .btn:focus {
  color: #075985;
  border-color: rgba(3, 155, 229, 0.22);
  background: var(--staff-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-table-wrap {
  overflow: visible;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-table {
  min-width: 38rem;
  border-collapse: separate;
  border-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-table thead th {
  padding-block: 0.68rem;
  padding-inline: 0.75rem;
  border-block-end: 1px solid var(--staff-border);
  color: #52647d;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-row>td {
  padding: 0.58rem 0.75rem;
  border-color: var(--staff-border);
  color: var(--staff-text);
  vertical-align: middle;
}

body[data-page="sidebar-staff"] #tableList table tbody td {
  vertical-align: middle;
}

body[data-page="sidebar-staff"] #tableList table tbody td:first-child {
  text-align: center;
  vertical-align: middle;
}

body[data-page="sidebar-staff"] #tableList table tbody td:first-child .form-check-input {
  margin-top: 0;
  vertical-align: middle;
}

body[data-page="sidebar-staff"] #tableList table thead th:first-child {
  text-align: center;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-row:hover>td {
  background: #f8fbff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar {
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid var(--staff-border);
  border-radius: 999px !important;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-name-cell {
  min-width: 10rem;
  color: var(--staff-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-cell {
  color: #475569;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #dbeafe !important;
  border-radius: 999px;
  color: #0369a1;
  background: #eff8ff;
  box-shadow: 0 8px 18px rgba(3, 155, 229, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-btn:hover,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-btn:focus {
  color: #075985;
  border-color: rgba(3, 155, 229, 0.26) !important;
  background: #e0f2fe;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-btn::after {
  margin-inline-start: 0.25rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-cell {
  position: relative;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-cell .dropdown-menu {
  --bs-dropdown-bg: #ffffff;
  border: 1px solid var(--staff-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  z-index: 1080;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-cell .dropdown-item {
  border-radius: 10px;
  color: #334155;
  font-weight: 750;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-cell .dropdown-item:hover,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-action-cell .dropdown-item:focus {
  color: #0369a1;
  background: var(--staff-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--staff-border);
  background: var(--staff-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-status-pill.is-on {
  border-color: rgba(21, 128, 61, 0.16);
  background: var(--staff-success-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-status-pill.is-off {
  color: var(--staff-muted);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-status-input {
  margin: 0;
  opacity: 1;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel .card-footer {
  min-height: 0.65rem;
  border-color: var(--staff-border);
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid var(--staff-border);
  border-radius: 20px;
  color: var(--staff-muted);
  background:
    radial-gradient(circle at top, rgba(3, 155, 229, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--staff-shadow);
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  color: #03569b;
  background: var(--staff-blue-soft);
  font-size: 1.1rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-empty-title {
  color: var(--staff-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-mode-pill.is-add {
  color: #03569b;
  background: var(--staff-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-mode-pill.is-edit {
  color: #6b21a8;
  background: rgba(107, 33, 168, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-panel {
  margin-inline: auto;
  max-width: 62rem;
  border: 1px solid var(--staff-border) !important;
  border-radius: 20px !important;
  background: var(--staff-surface);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-alert:empty {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form {
  --bs-gutter-x: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-section {
  margin-block-end: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--staff-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-section-photo {
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-section-heading {
  display: inline-flex;
  align-items: center;
  margin-block-end: 0.75rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(3, 105, 161, 0.12);
  border-radius: 999px;
  color: #0369a1;
  background: rgba(3, 105, 161, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-row {
  align-items: center;
  max-width: 44rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-section-photo .staff-form-row {
  max-width: 34rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-row:last-child {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-label {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-control,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-country {
  min-height: 2.65rem;
  border-color: #dbe3ef;
  border-radius: 12px;
  color: var(--staff-text);
  background: #fff;
  box-shadow: none !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-control {
  width: min(100%, 28rem);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-country:focus {
  border-color: rgba(3, 155, 229, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar-droparea {
  position: relative;
  overflow: hidden;
  width: 8.75rem !important;
  height: 8.75rem !important;
  border-color: var(--staff-border);
  border-radius: 999px !important;
  background:
    radial-gradient(circle at top, rgba(3, 155, 229, 0.1), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar-preview {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar-overlay {
  z-index: 1;
  inset: 5px;
  width: auto !important;
  height: auto !important;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  pointer-events: none;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar-upload {
  min-height: 2rem;
  padding-inline: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.78);
  pointer-events: auto;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-group {
  width: min(100%, 28rem);
  gap: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-country {
  width: 8rem;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border-inline-start: 0;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-option-list {
  display: grid;
  max-width: 34rem;
  gap: 0.6rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-option-row {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.55rem;
  padding-inline: 0.8rem;
  border: 1px solid var(--staff-border);
  border-radius: 16px;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-option-row.is-disabled {
  opacity: 1;
  color: #64748b;
  background: #f8fafc;
  border-style: dashed;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-option-row.is-disabled .form-check-input {
  opacity: 0.7;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-option-row.is-disabled .form-check-label {
  color: #64748b;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-card {
  max-width: 44rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--staff-border);
  border-radius: 16px;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-card .small {
  max-width: 32rem;
  color: #52647d;
  line-height: 1.5;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-card .d-flex {
  margin-top: 0.7rem !important;
  padding: 0.65rem;
  border: 1px solid #e4eef8;
  border-radius: 14px;
  background: #f8fbff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-edit {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding-inline: 0.8rem;
  border: 1px solid rgba(3, 105, 161, 0.16);
  border-radius: 999px;
  color: #0369a1;
  font-weight: 800;
  text-decoration: none;
  background: rgba(3, 105, 161, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-edit:hover,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-edit:focus {
  color: #075985;
  background: rgba(3, 105, 161, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-actions {
  align-items: center;
  padding-block-start: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-submit-btn,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-cancel-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-submit-btn:hover,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-submit-btn:focus {
  box-shadow: 0 16px 26px rgba(3, 155, 229, 0.24);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-cancel-btn {
  color: var(--staff-muted);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-modal-content {
  overflow: hidden;
  border: 1px solid var(--staff-border);
  border-radius: 20px;
  box-shadow: var(--staff-shadow);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-modal-content .modal-header,
body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-modal-content .modal-footer {
  border-color: var(--staff-border);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-list {
  margin-block-start: 0.9rem;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-list .list-group-item {
  border-color: var(--staff-border);
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-list .list-group-item:first-child {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

body[data-sidebar-mode][data-page="sidebar-staff"] .staff-services-list .list-group-item:last-child {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

@media (max-width: 767.98px) {

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-shell,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-hero {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-hero-actions {
    width: 100%;
    justify-content: space-between;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-panel,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-panel {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-toolbar-search .divSearch {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-table {
    min-width: 36rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-table thead th,
  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-row>td {
    padding-inline: 0.55rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-avatar {
    width: 3.75rem;
    height: 3.75rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-phone-group {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-section {
    padding: 0.9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-actions .col {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staff"] .staff-form-cancel-btn {
    margin-inline: 0 !important;
  }
}

/* Premium customers CRM refresh */
body[data-sidebar-mode][data-page="sidebar-customers"] {
  --customers-primary: var(--account-primary, #a7194b);
  --customers-primary-soft: rgba(167, 25, 75, 0.07);
  --customers-blue: #0369a1;
  --customers-blue-soft: rgba(3, 105, 161, 0.1);
  --customers-success: #15803d;
  --customers-surface: #ffffff;
  --customers-surface-soft: #f8fafc;
  --customers-border: #e3e8f0;
  --customers-text: #172033;
  --customers-muted: #64748b;
  --customers-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-shell,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-shell {
  color: var(--customers-text);
  padding-block: 1rem 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--customers-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 105, 161, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--customers-shadow);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-kicker,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-section-heading {
  margin-block-end: 0.35rem;
  color: var(--customers-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-title {
  color: var(--customers-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-primary-cta,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.4rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(3, 105, 161, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-primary-cta i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-cta i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-icon i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-icon i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-btn i,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-mode-pill i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-icon,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-icon,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-icon {
  color: var(--customers-primary);
  background: var(--customers-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-panel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 58rem);
  margin-block-end: 1rem;
  margin-inline: auto;
  padding: 0.85rem 1rem;
  border: 1px solid var(--customers-border);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-icon {
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--customers-blue);
  border: 1px solid rgba(3, 105, 161, 0.14);
  background: var(--customers-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-copy,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-copy {
  color: var(--customers-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--customers-border);
  border-radius: 20px;
  background: var(--customers-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search>.mb-2 {
  margin-block-end: 0.35rem !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search #showSearch,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search>.mb-2 .btn {
  margin-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search form {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search .divSearch {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search .form-control,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search #btn-search {
  min-height: 2.2rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-panel {
  position: relative;
  overflow: visible;
  border: 1px solid var(--customers-border) !important;
  border-radius: 20px !important;
  background: var(--customers-surface);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel:has(.dropdown-menu.show) {
  z-index: 20;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel-header {
  border-color: var(--customers-border);
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel-header .row {
  align-items: center;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel-header .btn {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table-wrap {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table-wrap:has(.dropdown-menu.show) {
  overflow: visible;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table {
  --bs-table-hover-bg: #f8fbff;
  --bs-table-hover-color: var(--customers-text);
  min-width: 52rem;
  border-collapse: separate;
  border-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table thead th {
  padding-block: 0.75rem;
  border-block-end: 1px solid var(--customers-border);
  color: var(--customers-muted);
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row>td {
  padding-block: 0.68rem;
  border-color: var(--customers-border);
  color: var(--customers-text);
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row:hover>td {
  --bs-table-bg: #f8fbff;
  --bs-table-accent-bg: transparent;
  background-color: #f8fbff !important;
  box-shadow: inset 0 0 0 9999px transparent !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-col,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-col,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell {
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell {
  position: relative;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row:has(.dropdown-menu.show)>td {
  --bs-table-bg: #f8fbff;
  --bs-table-accent-bg: transparent;
  background-color: #f8fbff !important;
  box-shadow: inset 0 0 0 9999px transparent !important;
  position: relative;
  /* z-index: 5; */
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-col,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell {
  width: 3.25rem !important;
  min-width: 3.25rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell {
  position: relative;
}

body[data-sidebar-mode][data-page="sidebar-customers"] #tableList .form-check-input {
  margin-top: 0;
  vertical-align: middle;
}

@media (min-width: 768px) {
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell .multi-select {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
  }
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-name-cell {
  color: var(--customers-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-cell {
  color: #475569;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-email-cell,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-date-cell {
  color: var(--customers-muted);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: var(--customers-muted);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-btn:hover,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-btn:focus {
  color: var(--customers-blue);
  border-color: rgba(3, 105, 161, 0.22);
  background: var(--customers-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-btn::after {
  margin-inline-start: 0.25rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell .dropdown-menu {
  --bs-dropdown-bg: #ffffff;
  background-color: #ffffff;
  z-index: 1080;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell .dropdown-item:hover,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell .dropdown-item:focus {
  color: var(--customers-blue);
  background-color: var(--customers-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel-footer {
  min-height: 0.45rem;
  border-color: var(--customers-border);
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 13rem;
  padding: 1.4rem;
  border: 1px solid var(--customers-border);
  border-radius: 20px;
  color: var(--customers-muted);
  background:
    radial-gradient(circle at top, rgba(3, 105, 161, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--customers-shadow);
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-icon {
  color: var(--customers-blue);
  background: var(--customers-blue-soft);
  font-size: 1.1rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-title {
  color: var(--customers-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-shell {
  max-width: 1320px;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-mode-pill.is-add {
  color: var(--customers-blue);
  background: var(--customers-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-mode-pill.is-edit {
  color: #6b21a8;
  background: rgba(107, 33, 168, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-mode-pill.is-delete {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-hero-icon {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-block-end: 1rem;
  padding: 1rem;
  border: 1px solid rgba(180, 35, 24, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(180, 35, 24, 0.08), transparent 14rem),
    linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  box-shadow: var(--customers-shadow);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning-icon i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning-title {
  color: var(--customers-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning-copy {
  color: var(--customers-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-alert:empty {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-table {
  min-width: 44rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-table thead th,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-row>td {
  padding-inline: 0.95rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-actions {
  border-color: var(--customers-border);
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-confirm-btn,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-cancel-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-confirm-btn {
  border-color: #b42318;
  background: #b42318;
  box-shadow: 0 12px 22px rgba(180, 35, 24, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-confirm-btn:hover,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-confirm-btn:focus {
  border-color: #9f1f16;
  background: #9f1f16;
  box-shadow: 0 16px 26px rgba(180, 35, 24, 0.24);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-cancel-btn {
  color: var(--customers-muted);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-alert:empty {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form {
  --bs-gutter-x: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-section {
  width: 100%;
  margin-block-end: 1rem;
  padding: 1rem;
  border: 1px solid var(--customers-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-section-heading {
  margin-block-end: 0.9rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-row:last-child {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-label {
  color: var(--customers-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-name-group,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-birthday-group,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-field-wrap,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-group {
  width: min(100%, 24rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-control,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-country {
  min-height: 2.65rem;
  border-color: var(--customers-border);
  color: var(--customers-text);
  background-color: #fff;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-country:focus {
  border-color: rgba(3, 105, 161, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 105, 161, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-country {
  width: 8rem;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border-inline-start: 0;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-customers"] #mobile:disabled {
  color: var(--customers-muted);
  background-color: var(--customers-surface-soft);
  opacity: 1;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-actions {
  align-items: center;
  padding-block-start: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-submit-btn,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-cancel-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 105, 161, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-submit-btn:hover,
body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-submit-btn:focus {
  box-shadow: 0 16px 26px rgba(3, 105, 161, 0.24);
}

body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-cancel-btn {
  color: var(--customers-muted);
  background: #fff;
}

@media (max-width: 767.98px) {

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-shell,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-info-panel,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-warning {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-actions,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-primary-cta,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar-search .divSearch {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-hero-actions {
    justify-content: space-between;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-primary-cta,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-empty-cta {
    justify-content: center;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-toolbar,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-panel,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-panel {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table {
    min-width: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table thead {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-table tbody,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row>td {
    display: block;
    /* width: 100% !important; */
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row {
    margin: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--customers-border);
    border-radius: 16px;
    background: #fff;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row>td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.5rem;
    border: 0;
    text-align: end;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-row>td::before {
    content: attr(data-label);
    color: var(--customers-muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-align: start;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell {
    justify-content: flex-start !important;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-select-cell::before,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-action-cell::before {
    content: "";
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-section {
    padding: 0.9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-name-group,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-birthday-group,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-field-wrap,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-phone-group,
  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-control {
    width: 100% !important;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-actions .d-flex {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-actions .d-flex {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-form-cancel-btn {
    margin-inline: 0 !important;
  }

  body[data-sidebar-mode][data-page="sidebar-customers"] .customers-delete-cancel-btn {
    margin-inline: 0 !important;
  }
}

body[data-sidebar-mode] #tableList table thead th:first-child:has(#checkAll),
body[data-sidebar-mode] #tableList table tbody td:first-child:has(.multi-select) {
  width: 3.25rem !important;
  min-width: 3.25rem;
  padding-inline: 0.75rem;
  text-align: center;
  vertical-align: middle;
}

body[data-sidebar-mode] #tableList table tbody td:first-child:has(.multi-select) {
  position: relative;
}

@media (min-width: 768px) {
  body[data-sidebar-mode] #tableList table tbody td:first-child:has(.multi-select)>.multi-select {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 0;
    transform: translate(-50%, -50%);
  }
}

/* Premium gallery media manager refresh */
body[data-sidebar-mode][data-page="sidebar-gallery"] {
  --gallery-primary: var(--account-primary, #a7194b);
  --gallery-primary-soft: rgba(167, 25, 75, 0.1);
  --gallery-blue: #039BE5;
  --gallery-surface: #ffffff;
  --gallery-surface-soft: #f8fafc;
  --gallery-border: #e3e8f0;
  --gallery-text: #172033;
  --gallery-muted: #64748b;
  --gallery-danger: #b42318;
  --gallery-danger-soft: rgba(180, 35, 24, 0.1);
  --gallery-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-shell,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-add-shell,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-shell {
  color: var(--gallery-text);
  padding-block: 1rem 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-hero,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--gallery-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--gallery-shadow);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero {
  background:
    radial-gradient(circle at top right, rgba(180, 35, 24, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fffafb 58%, #fdf5f5 100%);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-hero-copy,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-kicker {
  margin-block-end: 0.35rem;
  color: var(--gallery-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-title {
  color: var(--gallery-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-subtitle {
  max-width: 42rem;
  color: var(--gallery-muted);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-hero-icon,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--gallery-primary);
  background: var(--gallery-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero-icon {
  color: var(--gallery-danger);
  background: var(--gallery-danger-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.45rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-primary-btn i,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-drop-icon i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-toolbar {
  padding: 0.9rem;
  border: 1px solid var(--gallery-border);
  border-radius: 18px;
  background: var(--gallery-surface);
  box-shadow: var(--gallery-shadow);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-toolbar-search {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-panel,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-panel,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-panel {
  overflow: hidden;
  border: 1px solid var(--gallery-border) !important;
  border-radius: 20px !important;
  background: var(--gallery-surface);
  box-shadow: var(--gallery-shadow);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-panel-header {
  border-block-end: 1px solid var(--gallery-border);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-select-all-bar {
  display: flex;
  align-items: center;
  padding-block: 0.75rem;
  padding-inline: 1rem;
  border-block-end: 1px solid var(--gallery-border);
  background: var(--gallery-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--gallery-muted);
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-grid,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 300px));
  justify-content: start;
  align-items: start;
  gap: 1rem;
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-card {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  border: 1px solid var(--gallery-border);
  border-radius: 18px;
  background: var(--gallery-surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card:hover,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-card:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 155, 229, 0.22);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.11);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-media,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-media {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-image,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-topbar {
  position: absolute;
  inset-block-start: 0.65rem;
  inset-inline: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-select,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-select .form-check-input {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-action-btn::after {
  display: none;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-body,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-body {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-description,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-description {
  min-height: 2.7rem;
  color: var(--gallery-text);
  line-height: 1.35;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-meta,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--gallery-muted);
  font-size: 0.82rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-visibility {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-date {
  text-align: end;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-panel-footer {
  min-height: 0;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-empty-card {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  width: min(100%, 34rem);
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--gallery-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(3, 105, 161, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  color: var(--gallery-primary);
  background: var(--gallery-primary-soft);
  font-size: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-empty-title {
  color: var(--gallery-text);
  font-size: 1.15rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-empty-copy {
  max-width: 25rem;
  color: var(--gallery-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-panel {
  margin-inline: auto;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-alert:empty {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form {
  --bs-gutter-x: 0;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-section {
  margin-block-end: 1rem;
  padding: 1rem;
  border: 1px solid var(--gallery-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-section-media {
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-section-heading {
  margin-block-end: 0.9rem;
  color: var(--gallery-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-row:last-child {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-label {
  color: var(--gallery-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-control {
  min-height: 2.65rem;
  border-color: var(--gallery-border);
  border-radius: 14px;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-control:focus {
  border-color: rgba(3, 155, 229, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-textarea {
  width: 100% !important;
  min-height: 7rem;
  resize: vertical;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-copy-preview {
  overflow: hidden;
  max-width: 28rem;
  border-color: var(--gallery-border);
  border-radius: 18px !important;
  background: var(--gallery-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-copy-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-setting-row {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding-block: 0.65rem;
  padding-inline: 0.8rem;
  border: 1px solid var(--gallery-border);
  border-radius: 16px;
  background: var(--gallery-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-setting-row small {
  color: #475569;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-actions {
  align-items: center;
  padding-block-start: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-submit-btn,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-cancel-btn,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-danger-btn {
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-cancel-btn {
  color: var(--gallery-muted);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-upload-panel {
  max-width: 42rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--gallery-border);
  border-radius: 22px;
  background: var(--gallery-surface);
  box-shadow: var(--gallery-shadow);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-upload-status {
  min-height: 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] #drop-area.gallery-drop-area {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.35rem;
  width: 100%;
  height: auto;
  min-height: 15rem;
  margin-inline: 0;
  border: 2px dashed rgba(3, 155, 229, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(3, 155, 229, 0.12), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  color: var(--gallery-blue);
  background: rgba(3, 155, 229, 0.12);
  font-size: 1.35rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-upload-select {
  background: var(--gallery-primary);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-progress-wrap {
  height: 1.35rem;
  padding: 0.3rem;
  border: 1px solid var(--gallery-border);
  border-radius: 999px;
  background: var(--gallery-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-progress-wrap .progress-bar {
  height: 0.65rem;
  margin: 0;
  border-radius: 999px;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-upload-results .img-container {
  overflow: hidden;
  border: 1px solid var(--gallery-border);
  border-radius: 18px;
  background: var(--gallery-surface-soft) !important;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-terms-note,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-results-panel {
  border: 1px solid var(--gallery-border);
  border-radius: 18px;
  background: var(--gallery-surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-terms-note {
  padding: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 18px;
  background: #fff7f7;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  color: var(--gallery-danger);
  background: var(--gallery-danger-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-summary-title {
  color: var(--gallery-danger);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-summary-copy {
  color: var(--gallery-muted);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-actions {
  padding: 1rem;
  border-block-start: 1px solid var(--gallery-border);
  background: var(--gallery-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-danger-btn {
  box-shadow: 0 12px 22px rgba(180, 35, 24, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-danger-btn:hover,
body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-danger-btn:focus {
  box-shadow: 0 16px 26px rgba(180, 35, 24, 0.24);
}

@media (max-width: 767.98px) {

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-shell,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-add-shell,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-hero,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-primary-btn {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-panel,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-panel,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-panel {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-meta,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-panel {
    padding: 1rem !important;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-section {
    padding: 0.9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-row>[class*=col-sm-] {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-label {
    padding-block-start: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-form-actions .d-flex {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-submit-btn,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-cancel-btn,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-danger-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-summary {
    flex-direction: column;
  }
 body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-grid,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-grid {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-card {
    max-width: none;
  }

  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-card-media,
  body[data-sidebar-mode][data-page="sidebar-gallery"] .gallery-delete-media {
    height: 240px;
  }

}

/* Premium dashboard refresh */
.dashboard-shell,
.dashboard-switch-modal {
  --dashboard-surface: #ffffff;
  --dashboard-surface-soft: #f8fafc;
  --dashboard-border: #e3e8f0;
  --dashboard-text: #172033;
  --dashboard-muted: #64748b;
  --dashboard-primary: #a7194b;
  --dashboard-primary-soft: rgba(167, 25, 75, 0.1);
  --dashboard-blue: #039BE5;
  --dashboard-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.dashboard-shell {
  color: var(--dashboard-text);
  padding-block: 1rem 1.25rem;
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--dashboard-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.16), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 55%, #f5f8fc 100%);
  box-shadow: var(--dashboard-shadow);
}

.dashboard-hero-copy {
  min-width: 0;
}

.dashboard-kicker {
  margin-block-end: 0.35rem;
  color: var(--dashboard-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-title {
  color: var(--dashboard-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.85rem;
  padding-block: 0.22rem;
  padding-inline: 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-status-pill i,
.dashboard-meta i,
.dashboard-action-btn i,
.dashboard-readiness-btn i,
.dashboard-section-label i,
.dashboard-setup-title i,
.dashboard-link-btn i {
  width: auto;
}

.dashboard-status-pill.is-open {
  background: rgba(25, 135, 84, 0.12);
  color: #146c43;
}

.dashboard-status-pill.is-closed {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}

.dashboard-status-pill.is-muted {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.dashboard-status-pill.is-danger {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}

.dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--dashboard-muted);
  font-size: 0.9rem;
}

.dashboard-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.dashboard-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.45rem;
  border-radius: 999px;
  font-weight: 700;
  padding-inline: 0.95rem;
}

.dashboard-action-btn.btn-light {
  color: var(--dashboard-text);
  background: #fff;
  border: 1px solid var(--dashboard-border);
}

.dashboard-action-btn.btn-light:hover,
.dashboard-action-btn.btn-light:focus {
  color: var(--dashboard-text);
  background: #f8fafc;
  border-color: #d4dce8;
}

.dashboard-readiness-panel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 194, 199, 0.8);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9f2 0%, #fff 100%);
  box-shadow: 0 12px 28px rgba(124, 74, 3, 0.08);
}

.dashboard-readiness-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  background: rgba(255, 193, 7, 0.16);
  color: #9a6700;
  font-size: 1.1rem;
}

.dashboard-readiness-title {
  color: var(--dashboard-text);
  font-size: 1rem;
  font-weight: 800;
  margin-block-end: 0.2rem;
}

.dashboard-readiness-copy {
  color: #475569;
  line-height: 1.55;
  margin-block-end: 0.65rem;
}

.dashboard-readiness-list {
  margin-block: 0 0.85rem;
  padding-inline-start: 1.15rem;
  color: #475569;
}

.dashboard-readiness-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  font-weight: 700;
}

.dashboard-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--dashboard-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-setup-card,
.dashboard-metric-card,
.dashboard-map-card {
  overflow: hidden;
  border: 1px solid var(--dashboard-border);
  border-radius: 20px;
  background: var(--dashboard-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-setup-card .card-body,
.dashboard-metric-card .card-body,
.dashboard-map-card .card-body {
  padding: 1rem;
}

.dashboard-setup-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(167, 25, 75, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.dashboard-setup-copy {
  min-width: 0;
}

.dashboard-setup-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  margin-block-end: 0.65rem;
  border-radius: 999px;
  background: var(--dashboard-primary-soft);
  color: var(--dashboard-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-setup-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.3rem;
  color: var(--dashboard-text);
  font-size: 1.05rem;
  font-weight: 800;
}

.dashboard-setup-main {
  color: #334155;
  line-height: 1.45;
}

.dashboard-setup-note {
  color: var(--dashboard-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-block-start: 0.3rem;
}

.dashboard-setup-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-block-start: 0.8rem;
  border-radius: 999px;
  color: var(--dashboard-primary);
  background: var(--dashboard-primary-soft);
  font-weight: 700;
  padding-inline: 0.72rem;
}

.dashboard-setup-cta i {
  width: auto;
}

.dashboard-setup-cta:hover,
.dashboard-setup-cta:focus {
  color: #87113d;
  background: rgba(167, 25, 75, 0.16);
}

.dashboard-setup-media {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.dashboard-setup-media img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.dashboard-main-grid {
  margin-block-end: 0;
}

.dashboard-card-top {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-block-end: 0.65rem;
}

.dashboard-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 15px;
  background: rgba(3, 155, 229, 0.12);
  color: #03569b;
}

.dashboard-icon-wrap img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.dashboard-icon-wrap i {
  width: auto;
  font-size: 1.05rem;
}

.dashboard-card-label {
  color: var(--dashboard-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-card-subtitle {
  color: var(--dashboard-muted);
  font-size: 0.9rem;
  margin-block-end: 0.25rem;
}

.dashboard-card-value {
  color: var(--dashboard-text);
  font-size: clamp(1.45rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0.25rem 0 0.72rem;
}

.dashboard-card-value-name {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dashboard-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.dashboard-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 0;
  border-radius: 999px;
  color: var(--dashboard-blue);
  background: rgba(3, 155, 229, 0.08);
  font-weight: 700;
  padding-inline: 0.7rem;
}

.dashboard-link-btn:hover,
.dashboard-link-btn:focus {
  color: #03569b;
  background: rgba(3, 155, 229, 0.14);
}

.dashboard-inline-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-inline-status.is-open {
  background: rgba(25, 135, 84, 0.12);
  color: #146c43;
}

.dashboard-inline-status.is-closed {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}

.dashboard-card-footnote {
  min-height: 1.8rem;
}

.dashboard-map-card .card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dashboard-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.65rem;
}

.dashboard-map-header h3 {
  color: var(--dashboard-text);
  font-size: 1.15rem;
  margin-block: 0.35rem 0.2rem;
}

.dashboard-map-address-panel {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-block-end: 0.75rem;
  padding-block: 0.62rem;
  padding-inline: 0.72rem;
  border: 1px solid var(--dashboard-border);
  border-radius: 14px;
  color: var(--dashboard-muted);
  background: var(--dashboard-surface-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.dashboard-map-address-panel i {
  flex: 0 0 auto;
  width: auto;
  margin-block-start: 0.12rem;
  color: #64748b;
}

.dashboard-map-frame {
  overflow: hidden;
  min-height: 11rem;
  border: 1px solid var(--dashboard-border);
  border-radius: 18px;
  background: #eef2f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.dashboard-map-frame iframe {
  display: block;
  min-height: 11rem;
  opacity: 0.96;
}

.dashboard-switch-modal {
  overflow: hidden;
  border: 1px solid var(--dashboard-border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.dashboard-switch-modal .modal-header,
.dashboard-switch-modal .modal-footer {
  border-color: var(--dashboard-border);
}

.switch-branch-list {
  display: grid;
  gap: 0.65rem;
}

.switch-branch-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--dashboard-border);
  border-radius: 18px;
  color: var(--dashboard-text);
  background: #fff;
  padding: 0.7rem;
  text-align: start;
}

.switch-branch-item:hover,
.switch-branch-item:focus {
  border-color: rgba(3, 155, 229, 0.35);
  background: #f8fbff;
}

.switch-branch-item.is-current {
  border-color: rgba(167, 25, 75, 0.28);
  background: rgba(167, 25, 75, 0.04);
}

.switch-branch-index {
  color: var(--dashboard-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.switch-branch-media {
  display: inline-flex;
}

.switch-branch-avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 16px;
  font-size: 1.25rem;
  font-weight: 800;
  object-fit: cover;
}

.switch-branch-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 0.25rem;
}

.switch-branch-copy .stitle {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.switch-branch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding-inline: 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.switch-branch-badge.is-danger {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}

.switch-branch-badge.is-muted {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.switch-branch-current {
  color: var(--dashboard-primary);
}

.switch-branch-current i {
  width: auto;
  font-size: 1.1rem;
}

/* Premium working hours page refresh */
body[data-sidebar-mode][data-page="sidebar-workinghours"] {
  --workinghours-surface: #ffffff;
  --workinghours-surface-soft: #f8fafc;
  --workinghours-border: #e3e8f0;
  --workinghours-text: #172033;
  --workinghours-muted: #64748b;
  --workinghours-primary: var(--account-primary, #a7194b);
  --workinghours-primary-soft: rgba(167, 25, 75, 0.1);
  --workinghours-blue: #039BE5;
  --workinghours-blue-soft: rgba(3, 155, 229, 0.1);
  --workinghours-success: #15803d;
  --workinghours-success-soft: rgba(21, 128, 61, 0.12);
  --workinghours-closed-soft: rgba(100, 116, 139, 0.12);
  --workinghours-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shell {
  color: var(--workinghours-text);
  padding-block: 1rem 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--workinghours-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.14), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--workinghours-shadow);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-kicker {
  margin-block-end: 0.35rem;
  color: var(--workinghours-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-title {
  color: var(--workinghours-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero-icon,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 18px;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero-icon {
  width: 3.1rem;
  height: 3.1rem;
  color: var(--workinghours-primary);
  background: var(--workinghours-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-icon i,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-off-note i,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-add-btn i,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .editSplitHours i,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .delSplitHours i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-panel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid var(--workinghours-border);
  border-radius: 20px;
  background: var(--workinghours-surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-icon {
  width: 2.7rem;
  height: 2.7rem;
  color: #03569b;
  background: var(--workinghours-blue-soft);
  font-size: 1.1rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-copy {
  max-width: 62rem;
  color: #475569;
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-panel {
  padding: 0;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  align-items: flex-start;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-col {
  display: flex;
  align-self: flex-start;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--workinghours-border) !important;
  border-radius: 20px !important;
  background: var(--workinghours-surface);
  box-shadow: var(--workinghours-shadow);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card:has(.onOff:not(:checked)) {
  border-color: #d8dee8 !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-header {
  align-items: center;
  gap: 0.85rem;
  min-height: 3.65rem;
  padding: 0.78rem 1rem;
  border-color: var(--workinghours-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-title {
  min-width: 0;
  color: var(--workinghours-text);
  font-size: 1.02rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch-wrap {
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.15rem;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--workinghours-border);
  border-radius: 999px;
  background: var(--workinghours-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch .form-check-input {
  flex: 0 0 auto;
  margin-block-start: 0;
  margin-inline-start: 0;
  cursor: pointer;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-status-pill {
  display: inline-flex;
  align-items: center;
  min-width: 3.5rem;
  margin: 0;
  padding-inline: 0.5rem;
  border-radius: 999px;
  color: var(--workinghours-success);
  background: var(--workinghours-success-soft);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card:has(.onOff:not(:checked)) .workinghours-status-pill {
  color: #475569;
  background: var(--workinghours-closed-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body {
  padding: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card:has(.onOff:not(:checked)) .workinghours-day-body {
  padding-block: 0.85rem 1rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-off-note {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
  background: var(--workinghours-surface-soft);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card:has(.onOff:not(:checked)) .workinghours-day-off-note {
  display: flex;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-list {
  gap: 0.45rem;
  margin-block-end: 0;
  padding-inline-start: 0;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-list>.list-group-item,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body>.list-group>.list-group-item {
  align-items: center;
  min-height: 2.9rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--workinghours-border);
  border-radius: 16px !important;
  color: var(--workinghours-text) !important;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-time-range,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .liclass {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--workinghours-text);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-time-range .sopen,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-time-range .sclose,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .liclass .sopen,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .liclass .sclose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.3rem;
  border-radius: 999px;
  background: var(--workinghours-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-time-separator {
  color: #94a3b8;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-actions,
body[data-sidebar-mode][data-page="sidebar-workinghours"] [id^="split"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .editSplitHours,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .delSplitHours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #52637a;
  background: var(--workinghours-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .editSplitHours:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .editSplitHours:focus {
  color: #03569b;
  border-color: rgba(3, 155, 229, 0.26);
  background: var(--workinghours-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .delSplitHours:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .delSplitHours:focus {
  color: var(--workinghours-primary);
  border-color: rgba(167, 25, 75, 0.2);
  background: var(--workinghours-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body input[type="time"],
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .workinghours-time-picker {
  width: 7.2rem;
  min-height: 2.35rem;
  padding-inline: 0.75rem;
  border-color: var(--workinghours-border);
  border-radius: 999px;
  color: var(--workinghours-text);
  background: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body input[type="time"]:focus,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .workinghours-time-picker:focus {
  border-color: rgba(3, 155, 229, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker {
  display: inline-flex;
  width: auto;
  max-width: 10.25rem;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker .workinghours-time-picker {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker [role="right-icon"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding-inline: 0.75rem;
  color: #03569b;
  border-color: var(--workinghours-border);
  border-inline-start: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker [role="right-icon"] .btn i {
  width: auto;
  margin: 0;
  line-height: 1;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker [role="right-icon"] .btn:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker [role="right-icon"] .btn:focus {
  color: var(--workinghours-blue);
  background: var(--workinghours-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-modal {
  background-color: rgba(15, 23, 42, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker {
  overflow: hidden;
  border: 1px solid var(--workinghours-border);
  border-radius: 22px;
  color: var(--workinghours-text);
  background: #fff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="header"] {
  padding: 1rem 1.25rem 0.85rem;
  border-block-end: 1px solid var(--workinghours-border);
  color: var(--workinghours-text);
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.16), transparent 9rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="header"] div {
  color: #172033 !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="header"] .selected {
  color: #0369a1 !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="body"] {
  padding: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="body"] [role="dial"] {
  width: 254px;
  height: 254px;
  margin: 0.25rem auto;
  color: var(--workinghours-text);
  background:
    radial-gradient(circle at center, #ffffff 0%, #f8fbff 55%, #eef6fc 100%);
  box-shadow: inset 0 0 0 1px rgba(3, 155, 229, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="body"] [role="hour"] {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="body"] [role="hour"].selected {
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(15, 23, 42, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="body"] [role="arrow"],
body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker .arrow-begin {
  background-color: var(--workinghours-blue) !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker .arrow-end {
  border-color: var(--workinghours-blue) !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] {
  float: none;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.9rem;
  border-block-start: 1px solid var(--workinghours-border);
  background: var(--workinghours-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button {
  min-width: 5rem;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--workinghours-border);
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 2.25rem;
  text-transform: none;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button:focus {
  color: var(--workinghours-blue);
  border-color: rgba(3, 155, 229, 0.22);
  background: var(--workinghours-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button:last-child {
  color: #fff;
  border-color: var(--workinghours-blue);
  background: var(--workinghours-blue);
  box-shadow: 0 10px 20px rgba(3, 155, 229, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button:last-child:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .gj-picker.timepicker [role="footer"] button:last-child:focus {
  color: #fff;
  border-color: #028acb;
  background: #028acb;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .btn-success,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) {
  align-items: center;
  gap: 0.75rem;
  margin-block: 0.2rem 0.55rem;
  padding: 0.85rem;
  border-color: rgba(3, 155, 229, 0.26);
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 12px 24px rgba(15, 23, 42, 0.07);
  overflow: visible;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart)>div:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart)>div:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) span {
  padding-inline: 0.15rem !important;
  color: #94a3b8;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-success,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-danger {
  width: 2.15rem;
  height: 2.15rem;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-success {
  color: var(--workinghours-success);
  border-color: rgba(21, 128, 61, 0.18);
  background: var(--workinghours-success-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-success:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-success:focus {
  color: #fff;
  background: var(--workinghours-success);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-danger {
  color: var(--workinghours-primary);
  border-color: rgba(167, 25, 75, 0.18);
  background: var(--workinghours-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-danger:hover,
body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart) .btn-danger:focus {
  color: #fff;
  background: var(--workinghours-primary);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-list:has(.timeStart) {
  margin-block-end: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(3, 155, 229, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-add-btn:disabled {
  color: #64748b;
  border-color: #e2e8f0;
  background: #eef2f7;
  box-shadow: none;
  opacity: 1;
}

body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-error {
  margin-block-start: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(220, 53, 69, 0.08);
  font-weight: 700;
}

@media (min-width: 1200px) {

  .h3,
  h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1199.98px) {
  .small-text-center {
    text-align: center !important;
  }

  .tabletr th,
  .tabletr td {
    font-size: 0.85rem;
  }

  .services-hero {
    align-items: flex-start;
  }

  .dashboard-hero {
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero {
    align-items: flex-start;
  }

  .dashboard-hero-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 576px) {
  .form-control {
    display: inline-flex;
    max-width: none;
    width: auto;
  }
}

@media (max-width: 991.98px) {
  .mt-75 {
    margin-top: 30px;
  }

  .mb-s3 {
    margin-bottom: 1rem !important;
  }

  .small-text-center {
    text-align: center !important;
  }

  .wrapper {
    padding-top: 70px;
  }

  #nav-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
  }

  .sidebar-menu {
    background-color: rgb(167, 25, 75);
    width: 70px;
    z-index: 10;
    bottom: 0;
    top: 0;
    padding-top: 0px;
    visibility: hidden;
  }

  .thin-sidebar {
    /*position: absolute;*/
    width: 260px;
    z-index: 5;
    padding-top: 70;
    visibility: visible;
    margin-top: 66px;
  }

  .sidebar-menu.thin-sidebar {
    z-index: 1050;
  }

  .nav ul.side-nav li a .d-none {
    display: inline-block !important;
  }

  .content-page {
    margin: auto;
    overflow: hidden;
    padding: 0px;
    min-height: 100vh;
  }
}

@media (max-width: 767.98px) {
  .wrapper {
    padding-top: 70px;
  }

  #nav-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
  }

  .sidebar-menu {
    background-color: rgb(167, 25, 75);
    width: 70px;
    z-index: 10;
    bottom: 0;
    top: 0;
    padding-top: 0px;
    visibility: hidden;
  }

  .thin-sidebar {
    /*position: absolute;*/
    width: 260px;
    z-index: 5;
    padding-top: 70;
    visibility: visible;
    margin-top: 66px;
  }

  .sidebar-menu.thin-sidebar {
    z-index: 1050;
  }

  .nav ul.side-nav li a .d-none {
    display: inline-block !important;
  }

  .content-page {
    margin: auto;
    overflow: hidden;
    padding: 0px;
    min-height: 100vh;
  }

  .card {
    margin-bottom: 10px;
  }

  .px-lr {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }

  .divSearch {
    width: 100%;
  }

  .s-img {
    width: 90px;
    height: 90px;
  }

  .w300px {
    width: 100%;
  }

  .footer {
    margin-inline-start: 0;
    -webkit-margin-start: 0;
    padding: 0 0 10px;
    text-align: center;
    color: #a6a6a6;
  }

  .min-w-500px {
    width: 100%;
  }

  .small-text-center {
    text-align: center !important;
  }

  .services-shell {
    padding-block-start: 0.5rem;
  }

  .services-hero {
    border-radius: 18px;
  }

  .services-readiness-panel {
    flex-direction: column;
    border-radius: 18px;
  }

  .services-toolbar {
    border-radius: 18px;
  }

  .services-toolbar-search .divSearch {
    width: 100%;
  }

  .services-panel {
    border-radius: 18px !important;
  }

  .services-list-head {
    display: none !important;
  }

  .services-row {
    display: grid !important;
    grid-template-columns: 1.5rem 2.4rem 4.75rem minmax(0, 1fr) 2rem;
    grid-template-areas:
      "select action thumb title drag"
      "select action thumb duration drag"
      "select action thumb cost drag"
      "select action thumb private drag";
    gap: 0.35rem 0.65rem;
    min-height: 0;
    padding: 0.9rem !important;
  }

  .services-row>span {
    width: auto !important;
    margin-inline: 0 !important;
  }

  .services-select-cell {
    grid-area: select;
  }

  .services-action-cell {
    grid-area: action;
  }

  .services-thumb-cell {
    grid-area: thumb;
  }

  .services-title-cell {
    grid-area: title;
    align-self: end;
    font-weight: 700 !important;
  }

  .services-duration-cell {
    grid-area: duration;
  }

  .services-cost-cell {
    grid-area: cost;
  }

  .services-private-cell {
    grid-area: private;
  }

  .services-drag-cell {
    grid-area: drag;
    align-self: center;
  }

  .services-duration-cell,
  .services-cost-cell,
  .services-private-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-start;
    color: var(--services-muted);
    font-size: 0.8rem;
    text-align: start !important;
  }

  .services-duration-cell::before,
  .services-cost-cell::before,
  .services-private-cell::before {
    content: attr(data-label);
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .services-thumbnail {
    width: 4.25rem;
    height: 4.25rem;
  }

  .services-empty-card {
    min-height: 10rem;
  }

  .services-delete-shell {
    padding-block-start: 0.5rem;
  }

  .services-delete-hero {
    border-radius: 18px;
  }

  .services-delete-warning {
    flex-direction: column;
    border-radius: 18px;
  }

  .services-delete-panel {
    border-radius: 18px !important;
  }

  .services-delete-table,
  .services-delete-table thead,
  .services-delete-table tbody,
  .services-delete-table tr,
  .services-delete-table td {
    display: block;
    width: 100%;
  }

  .services-delete-table thead {
    display: none;
  }

  .services-delete-row {
    margin-block-end: 0.75rem;
    border: 1px solid var(--services-delete-border-soft);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
  }

  .services-delete-row:last-child {
    margin-block-end: 0;
  }

  .services-delete-row>td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding-block: 0.55rem !important;
    padding-inline: 0.9rem !important;
    text-align: start !important;
  }

  .services-delete-row>td:first-child {
    display: block;
    padding-block-start: 0.9rem !important;
  }

  .services-delete-row>td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .services-delete-row>td:first-child::before {
    display: block;
    margin-block-end: 0.45rem;
  }

  .services-delete-title-cell,
  .services-delete-description-cell {
    display: block !important;
  }

  .services-delete-title-cell::before,
  .services-delete-description-cell::before {
    display: block;
    margin-block-end: 0.25rem;
  }

  .services-delete-thumbnail {
    width: 4.25rem;
    height: 4.25rem;
  }

  .services-delete-actions .d-flex {
    width: 100%;
  }

  .services-delete-confirm-btn,
  .services-delete-cancel-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .service-form-shell {
    padding-block-start: 0.5rem;
  }

  .service-form-hero {
    border-radius: 18px;
  }

  .service-form-panel {
    border-radius: 18px !important;
    padding: 1rem !important;
  }

  .service-form-section {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .service-form-row>[class*=col-sm-] {
    width: 100%;
  }

  .service-form-label {
    padding-block-start: 0;
  }

  .service-media-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-media-btn {
    justify-content: center;
    width: 100%;
  }

  .service-media-divider {
    display: none;
  }

  .service-duration-group {
    align-items: stretch;
  }

  .service-duration-group .service-form-select {
    width: auto;
  }

  .service-team-list {
    flex-direction: column;
  }

  .service-team-list .form-check {
    padding-inline-end: 0 !important;
  }

  .service-form-actions .d-flex {
    width: 100%;
  }

  .service-form-submit-btn,
  .service-form-cancel-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .dashboard-shell {
    padding-block-start: 0.5rem;
  }

  .dashboard-hero {
    border-radius: 18px;
  }

  .dashboard-meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .dashboard-hero-actions {
    width: 100%;
  }

  .dashboard-action-btn {
    justify-content: center;
    width: 100%;
  }

  .dashboard-readiness-panel {
    flex-direction: column;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-panel,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-card {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-hero {
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-info-panel {
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-header {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch-wrap,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-switch {
    justify-content: space-between;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-list>.list-group-item,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body>.list-group>.list-group-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-time-range,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .liclass,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-shift-actions,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] [id^="split"] {
    justify-content: center;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart)>div:first-child,
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .list-group-item:has(.timeStart)>div:last-child {
    justify-content: center;
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body input[type="time"],
  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .workinghours-time-picker {
    flex: 1 1 7rem;
    width: 100%;
    min-width: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-day-body .gj-timepicker {
    flex: 1 1 10rem;
    width: 100%;
    max-width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-workinghours"] .workinghours-add-btn {
    justify-content: center;
    width: 100%;
  }

  .dashboard-setup-card .card-body {
    flex-direction: column;
  }

  .dashboard-setup-media {
    justify-content: flex-start;
  }

  .dashboard-setup-media img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .dashboard-map-frame,
  .dashboard-map-frame iframe {
    min-height: 10rem;
  }

  .switch-branch-item {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .switch-branch-current {
    grid-column: 3;
    justify-self: end;
  }
}

body[data-page="sidebar-staff"] #tableList tbody tr>td:first-child {
  vertical-align: middle !important;
  text-align: center;
  position: relative;
}

body[data-page="sidebar-staff"] #tableList tbody tr>td:first-child .form-check-input {
  margin: 0 !important;
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  float: none;
  transform: translate(-50%, -50%);
}

body[data-page="sidebar-staff"] #tableList tbody tr>td {
  vertical-align: middle !important;
}

/* Premium billing pages refresh */
body[data-sidebar-mode][data-page="sidebar-billing"] {
  --billing-surface: #ffffff;
  --billing-surface-soft: #f8fafc;
  --billing-border: #e3e8f0;
  --billing-text: #172033;
  --billing-muted: #64748b;
  --billing-primary: var(--account-primary, #a7194b);
  --billing-primary-soft: rgba(167, 25, 75, 0.07);
  --billing-blue: #039BE5;
  --billing-blue-soft: rgba(3, 155, 229, 0.1);
  --billing-success: #15803d;
  --billing-success-soft: rgba(21, 128, 61, 0.12);
  --billing-warning: #9a6700;
  --billing-warning-soft: rgba(255, 193, 7, 0.16);
  --billing-danger: #b02a37;
  --billing-danger-soft: rgba(220, 53, 69, 0.08);
  --billing-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-shell,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-shell {
  color: var(--billing-text);
  padding-block: 1rem 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--billing-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.16), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--billing-shadow);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-hero,
body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero {
  background:
    radial-gradient(circle at top left, rgba(3, 155, 229, 0.16), transparent 18rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero-copy,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-kicker,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.35rem;
  color: var(--billing-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-kicker i,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-section-label i,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-empty-icon i,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge i,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-print-btn i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-title {
  margin-block: 0.15rem 0.45rem;
  color: var(--billing-text);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-subtitle {
  max-width: 30rem;
  margin: 0;
  color: var(--billing-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-helper {
  max-width: 48rem;
  margin: 0;
  color: var(--billing-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--billing-primary);
  background: var(--billing-primary-soft);
  font-size: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-layout,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-layout {
  margin-block-start: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-frame,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-frame {
  border: 0 !important;
  border-radius: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-grid,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav {
  overflow: hidden;
  border: 1px solid var(--billing-border) !important;
  border-radius: 20px;
  background: var(--billing-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-heading {
  padding: 1rem 1rem 0.55rem;
  color: var(--billing-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-heading h4 {
  margin: 0;
  font-size: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1rem;
  border-top: 1px solid var(--billing-border) !important;
  color: var(--billing-muted);
  background: #fff;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-link i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-link:hover,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-link:focus {
  color: var(--billing-blue) !important;
  background: var(--billing-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-nav-link.active {
  color: var(--billing-primary) !important;
  background: var(--billing-primary-soft);
  box-shadow: inset 3px 0 0 rgba(167, 25, 75, 0.42);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-card,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-card,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel {
  overflow: hidden;
  border: 1px solid var(--billing-border) !important;
  border-radius: 20px !important;
  background: var(--billing-surface) !important;
  box-shadow: var(--billing-shadow);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-card {
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.section-header h3 {
  color: #334155;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.section-header .btn-group {
  border: 1px solid var(--billing-border);
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.section-header .btn {
  border-color: transparent;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.section-header .btn-light {
  color: var(--billing-muted);
  background: transparent;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.text-success {
  color: var(--billing-success) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.alert-light {
  color: var(--billing-text);
  border-color: rgba(3, 155, 229, 0.18) !important;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view)>.card {
  border-color: var(--billing-border) !important;
  background: var(--billing-surface) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-content-panel>.align-items-start:not(.billing-invoices-view) .bg-gray {
  color: var(--billing-text);
  background: var(--billing-blue-soft) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.8rem;
  padding: 0.85rem;
  border: 1px solid var(--billing-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-panel-heading {
  background:
    radial-gradient(circle at top left, rgba(3, 155, 229, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-panel-heading h2 {
  margin: 0;
  color: var(--billing-text);
  font-size: 1.12rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-history-heading {
  margin-block-start: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-total-chip,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-count-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-total-chip {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--billing-border);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-total-chip span {
  color: var(--billing-muted);
  font-size: 0.74rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-total-chip strong {
  color: var(--billing-text);
  font-size: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-count-pill {
  min-height: 2rem;
  padding-inline: 0.75rem;
  color: var(--billing-blue);
  border: 1px solid rgba(3, 155, 229, 0.18);
  background: var(--billing-blue-soft);
  font-size: 0.78rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--billing-border);
  border-radius: 18px;
  background: var(--billing-surface);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table {
  min-width: 46rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table thead th,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table thead th {
  padding: 0.85rem 0.9rem;
  border-block-end: 1px solid var(--billing-border);
  color: var(--billing-muted);
  background: var(--billing-surface-soft) !important;
  font-size: 0.78rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table tbody td,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table tbody td {
  padding: 0.9rem;
  border-color: var(--billing-border);
  color: var(--billing-text);
  line-height: 1.5;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table tbody tr:hover>td {
  background: #fbfdff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .table .billing-expired-row>td,
body[data-sidebar-mode][data-page="sidebar-billing"] .table .billing-expired-row>th {
  color: var(--billing-text);
  border-color: #f2d8dc !important;
  background-color: #fff8f9 !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.8rem;
  padding-inline: 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge.is-paid,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge.is-active {
  color: var(--billing-success);
  background: var(--billing-success-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge.is-upcoming {
  color: var(--billing-warning);
  background: var(--billing-warning-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge.is-expired,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-badge.is-unpaid {
  color: var(--billing-danger);
  background: var(--billing-danger-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-status-note {
  margin-block-start: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.3;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-print-btn,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  border-radius: 999px;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn.btn-light,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-print-btn {
  color: var(--billing-text) !important;
  border: 1px solid var(--billing-border);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn.btn-danger {
  color: #ffffff !important;
  border-color: var(--billing-blue) !important;
  background: var(--billing-blue) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn.btn-danger:hover,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn.btn-danger:focus {
  color: #ffffff !important;
  border-color: #028acb !important;
  background: #028acb !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-block-start: 1rem;
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px dashed #d4dce8;
  border-radius: 20px;
  color: var(--billing-muted);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  color: var(--billing-blue);
  background: var(--billing-blue-soft);
  font-size: 1.2rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-empty-title {
  color: var(--billing-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-empty-copy {
  max-width: 34rem;
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero {
  align-items: stretch;
  margin-block-end: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-layout {
  margin-block-start: 0.75rem !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: min(100%, 32rem);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero-side {
  align-items: flex-start;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.9rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid var(--billing-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-pill span {
  color: var(--billing-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-pill strong {
  color: var(--billing-text);
  font-size: 0.95rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-pill.is-total {
  border-color: rgba(3, 155, 229, 0.25);
  background: var(--billing-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  width: 100%;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle {
  flex: 0 0 auto;
  padding: 0.25rem;
  border: 1px solid var(--billing-border);
  border-radius: 999px;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle .btn {
  border: 0;
  padding-inline: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-discount-note {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--billing-success) !important;
  background: var(--billing-success-soft);
  line-height: 1.25;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-card {
  padding: clamp(0.85rem, 1.6vw, 1.15rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--billing-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(167, 25, 75, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-topline {
  background:
    radial-gradient(circle at top left, rgba(167, 25, 75, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-brand img {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-brand-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-brand-copy .billing-section-label {
  margin-block-end: 0.2rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-brand-copy h2 {
  margin: 0;
  color: var(--billing-text);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta {
  justify-content: flex-start;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta .list-group-item {
  background: transparent;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta .list-group {
  margin: 0;
  padding: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta .list-group-item {
  padding: 0.2rem 0.45rem !important;
  background: transparent;
  font-size: 0.82rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-period-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--billing-border);
  border-radius: 999px;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-period-note span {
  color: var(--billing-muted);
  font-size: 0.74rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-period-note strong {
  color: var(--billing-text);
  font-size: 0.82rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-parties .section-container {
  padding: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-parties .row {
  --bs-gutter-x: 0.75rem;
  --bs-gutter-y: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card {
  padding: 1rem;
  border: 1px solid var(--billing-border);
  border-radius: 18px;
  background: var(--billing-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card:first-child {
  width: calc(60% - 0.375rem) !important;
  margin-inline-end: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card:last-child {
  width: calc(40% - 0.375rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card h3,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-items-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--billing-text);
  font-size: 1rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card h3 i {
  width: auto;
  color: var(--billing-primary);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card address {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-status {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table-wrap {
  margin-block-start: 0.5rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table thead th {
  border-block-end: 0;
  text-transform: none;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table tbody tr:not(.billing-total-row) td {
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-item-description>div:first-child {
  color: var(--billing-text);
  font-weight: 800;
  margin-block-end: 0.18rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-item-description .small {
  margin-block-start: 0.12rem;
  line-height: 1.5;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-amount-heading,
body[data-sidebar-mode][data-page="sidebar-billing"] .billing-amount-cell {
  text-align: end;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-table tbody tr.bg-light td {
  background: var(--billing-surface-soft) !important;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-total-row td {
  border-block-start: 1px solid var(--billing-border);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel {
  position: sticky;
  top: 5rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-head {
  padding: 1.15rem !important;
  border-block-end: 1px solid var(--billing-border);
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.12), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--billing-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-label i {
  width: auto;
  color: var(--billing-primary);
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-total {
  color: var(--billing-text);
  font-size: 1.55rem !important;
  font-weight: 800;
  line-height: 1.25;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-body {
  display: grid;
  gap: 1rem;
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-form {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel .form-select {
  border-color: var(--billing-border);
  border-radius: 14px;
  min-height: 2.55rem;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-actions {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-billing"] .billing-bank-details,
body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-button-container {
  padding: 0.85rem;
  border: 1px solid var(--billing-border);
  border-radius: 16px;
  background: var(--billing-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-button-container .btn {
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero {
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero-side {
    align-items: stretch;
    min-width: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-controls {
    justify-content: flex-start;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-grid>[class*="col-md-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-shell,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-panel-heading,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-hero,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-panel-heading {
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-meta-strip {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-controls,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-topline,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-top-meta {
    justify-content: flex-start;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-hero-icon {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle .btn,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-action-btn,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-print-btn {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table {
    min-width: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table tr {
    border-color: var(--billing-border);
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-mobile-table tr.billing-expired-row {
    border-color: #f2d8dc;
    background: #fff8f9;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card {
    width: 100% !important;
    margin-inline-end: 0;
    margin-block-end: 0.75rem;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel {
    position: static;
  }
}

@media print {
  body[data-sidebar-mode][data-page="sidebar-billing"] {
    background: #fff !important;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-card,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-party-card,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-table-wrap {
    box-shadow: none !important;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-receipt-card {
    border: 0 !important;
  }

  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-print-btn,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-payment-panel,
  body[data-sidebar-mode][data-page="sidebar-billing"] .billing-period-toggle {
    display: none !important;
  }
}

body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-button-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-fallback-button {
  align-self: flex-start;
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-button-container .paypal-buttons {
  display: block !important;
  width: 100% !important;
}

/* Hide fallback only after PayPal Smart Buttons render */
body[data-sidebar-mode][data-page="sidebar-billing"] #paypal-button-container:has(.paypal-buttons) #paypal-fallback-button {
  display: none;
}

/* Premium salon settings refresh */
body[data-sidebar-mode][data-page="sidebar-salonsettings"] {
  --salon-settings-primary: var(--account-primary, #a7194b);
  --salon-settings-primary-soft: rgba(167, 25, 75, 0.07);
  --salon-settings-blue: #0369a1;
  --salon-settings-blue-soft: rgba(3, 105, 161, 0.1);
  --salon-settings-green: #15803d;
  --salon-settings-green-soft: rgba(21, 128, 61, 0.1);
  --salon-settings-surface: #ffffff;
  --salon-settings-surface-soft: #f8fafc;
  --salon-settings-border: #e3e8f0;
  --salon-settings-text: #172033;
  --salon-settings-muted: #64748b;
  --salon-settings-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-shell {
  color: var(--salon-settings-text);
  padding-block: 1rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--salon-settings-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 105, 161, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--salon-settings-shadow);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-kicker,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-section-heading {
  margin-block-end: 0.35rem;
  color: var(--salon-settings-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-title {
  margin: 0;
  color: var(--salon-settings-text);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-helper,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-copy,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-helper {
  color: var(--salon-settings-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-icon,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-icon,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-icon {
  color: var(--salon-settings-primary);
  background: var(--salon-settings-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-icon {
  color: var(--salon-settings-blue);
  border: 1px solid rgba(3, 105, 161, 0.14);
  background: var(--salon-settings-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-icon {
  color: var(--salon-settings-green);
  background: var(--salon-settings-green-soft);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-icon i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-icon i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-section-heading i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn i,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-reset-btn i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding-inline: 0.95rem;
  border: 1px solid var(--salon-settings-border);
  border-radius: 12px;
  color: var(--salon-settings-muted);
  font-weight: 750;
  text-decoration: none;
  background: #fff;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill.active {
  color: var(--bs-btn-color, #ffffff) !important;
  border-color: var(--bs-btn-border-color, #039BE5);
  background: var(--bs-btn-bg, #039BE5);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill.btn-primary:hover,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill.btn-primary:focus {
  color: var(--bs-btn-hover-color, #ffffff) !important;
  border-color: var(--bs-btn-hover-border-color, #02a8f4);
  background: var(--bs-btn-hover-bg, #028acb);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill.btn-light {
  color: #475569;
  border-color: var(--salon-settings-border);
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-block-start: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-sidebar {
  display: grid;
  gap: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-card,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-panel {
  border: 1px solid var(--salon-settings-border) !important;
  border-radius: 20px !important;
  background: var(--salon-settings-surface);
  box-shadow: var(--salon-settings-shadow);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-card {
  padding: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-nav {
  overflow: hidden;
  border: 1px solid var(--salon-settings-border) !important;
  border-radius: 20px;
  background: var(--salon-settings-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-nav-heading {
  padding: 1rem 1rem 0.55rem;
  color: var(--salon-settings-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-nav-heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .s-list-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1rem;
  border: 0 !important;
  border-top: 1px solid var(--salon-settings-border) !important;
  border-radius: 0 !important;
  color: var(--salon-settings-muted);
  background: #fff;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .s-list-group:hover,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .s-list-group:focus {
  color: var(--salon-settings-blue);
  background: var(--salon-settings-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .s-list-group.active {
  color: var(--salon-settings-primary) !important;
  background: var(--salon-settings-primary-soft);
  box-shadow: inset 3px 0 0 rgba(167, 25, 75, 0.42);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-card {
  display: grid;
  gap: 0.65rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-title,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-title {
  color: var(--salon-settings-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-content {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-panel {
  overflow: visible;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-alert:empty {
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form {
  --bs-gutter-x: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-section {
  width: 100%;
  margin-block-end: 1rem;
  padding: 1rem;
  border: 1px solid var(--salon-settings-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-section-media {
  background:
    radial-gradient(circle at top right, rgba(3, 105, 161, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-section-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-end: 0.9rem;
  color: #334155;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-section-heading i {
  color: var(--salon-settings-blue);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-row:last-child {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-label {
  color: var(--salon-settings-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-control,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-country,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-input {
  min-height: 2.65rem;
  border-color: var(--salon-settings-border);
  color: var(--salon-settings-text);
  background-color: #fff;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-country:focus,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-input:focus {
  border-color: rgba(3, 105, 161, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 105, 161, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-control.border-danger,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-input.border-danger,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-droparea.border-danger {
  border-color: #dc3545 !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-group {
  width: min(100%, 24rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-country {
  width: 8rem !important;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border-inline-start: 0;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-country-select,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] #timezone,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-select {
  width: min(100%, 28rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-droparea {
  width: min(100%, 20rem);
  height: 11.5rem;
  border: 1px dashed var(--salon-settings-border);
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top, rgba(3, 105, 161, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-actions {
  z-index: 2;
  inset: 0.5rem;
  width: auto !important;
  height: auto !important;
  justify-content: flex-end;
  pointer-events: none;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] #selectimage {
  min-height: 2.15rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.78);
  font-weight: 800;
  pointer-events: auto;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-empty-state {
  gap: 0.55rem;
  color: var(--salon-settings-muted);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-empty-icon {
  color: var(--salon-settings-blue);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-empty-copy {
  max-width: 12rem;
  font-size: 0.82rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-empty-cta {
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-block-end: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--salon-settings-border);
  border-radius: 16px;
  background: var(--salon-settings-surface-soft);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-language-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-actions {
  align-items: center;
  padding-block-start: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 105, 161, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn:hover,
body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn:focus {
  box-shadow: 0 16px 26px rgba(3, 105, 161, 0.24);
}

body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-reset-btn {
  color: var(--salon-settings-muted);
  background: #fff;
}

@media (max-width: 991.98px) {
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-layout {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (min-width: 1400px) {
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  }
}

@media (max-width: 767.98px) {
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-hero-side,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pills {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pills {
    justify-content: flex-start;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-mode-pill {
    flex: 1 1 9rem;
    justify-content: center;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-sidebar {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-nav,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-info-card,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-panel {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-section {
    padding: 0.9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-row>[class*=col-sm-] {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-label {
    padding-block-end: 0.35rem;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-image-droparea,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-phone-group,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-control {
    width: 100% !important;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-form-actions .d-flex {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-submit-btn,
  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-reset-btn {
    flex: 1 1 9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-salonsettings"] .salon-settings-reset-btn {
    margin-inline: 0 !important;
  }
}

/* Premium client area settings refresh */
body[data-sidebar-mode][data-page="sidebar-clientarea"] {
  --clientarea-primary: var(--account-primary, #a7194b);
  --clientarea-primary-soft: rgba(167, 25, 75, 0.07);
  --clientarea-blue: #0369a1;
  --clientarea-blue-soft: rgba(3, 105, 161, 0.1);
  --clientarea-success: #15803d;
  --clientarea-success-soft: rgba(21, 128, 61, 0.1);
  --clientarea-warning: #b45309;
  --clientarea-warning-soft: rgba(180, 83, 9, 0.1);
  --clientarea-danger: #b42318;
  --clientarea-danger-soft: rgba(180, 35, 24, 0.1);
  --clientarea-surface: #ffffff;
  --clientarea-surface-soft: #f8fafc;
  --clientarea-border: #e3e8f0;
  --clientarea-text: #172033;
  --clientarea-muted: #64748b;
  --clientarea-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-shell {
  color: var(--clientarea-text);
  padding-block: 1rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--clientarea-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(3, 105, 161, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  box-shadow: var(--clientarea-shadow);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero {
  background:
    radial-gradient(circle at top left, rgba(3, 105, 161, 0.12), transparent 16rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero-copy,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-language-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-kicker,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-section-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-end: 0.35rem;
  color: var(--clientarea-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-title {
  margin: 0;
  color: var(--clientarea-text);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-helper,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-copy {
  color: var(--clientarea-muted);
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero-icon,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  color: var(--clientarea-primary);
  background: var(--clientarea-primary-soft);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-icon i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-kicker i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-section-header i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-nav-link i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .s-list-group i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-button i,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-row-action i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-block-start: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-sidebar {
  display: grid;
  gap: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-card,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-card,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-card,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-item,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion .accordion-collapse {
  border: 1px solid var(--clientarea-border) !important;
  border-radius: 20px !important;
  background: var(--clientarea-surface);
  box-shadow: var(--clientarea-shadow);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-title {
  color: var(--clientarea-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-nav {
  overflow: hidden;
  border: 1px solid var(--clientarea-border) !important;
  border-radius: 20px;
  background: var(--clientarea-surface);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-nav-heading {
  padding: 1rem 1rem 0.55rem;
  color: var(--clientarea-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-nav-heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .s-list-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1rem;
  border: 0 !important;
  border-top: 1px solid var(--clientarea-border) !important;
  border-radius: 0 !important;
  color: var(--clientarea-muted);
  background: #fff;
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .s-list-group:hover,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .s-list-group:focus {
  color: var(--clientarea-blue) !important;
  background: var(--clientarea-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .s-list-group.active {
  color: var(--clientarea-primary) !important;
  background: var(--clientarea-primary-soft);
  box-shadow: inset 3px 0 0 rgba(167, 25, 75, 0.42);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-content {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-details-form {
  display: grid;
  gap: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-section,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-section {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-section-header {
  margin-block-end: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-section-header h3 {
  margin: 0;
  color: #334155;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-section-header h3 i {
  color: var(--clientarea-blue);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-icon {
  color: var(--clientarea-blue);
  border: 1px solid rgba(3, 105, 161, 0.14);
  background: var(--clientarea-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-card,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-card {
  overflow: visible;
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-card-body,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-card-body {
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-label {
  color: var(--clientarea-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-control,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-country,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-input,
body[data-sidebar-mode][data-page="sidebar-clientarea"] #timepicker,
body[data-sidebar-mode][data-page="sidebar-clientarea"] #timepicker2 {
  min-height: 2.65rem;
  border-color: var(--clientarea-border);
  color: var(--clientarea-text);
  background-color: #fff;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-country:focus,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-input:focus,
body[data-sidebar-mode][data-page="sidebar-clientarea"] #timepicker:focus,
body[data-sidebar-mode][data-page="sidebar-clientarea"] #timepicker2:focus {
  border-color: rgba(3, 105, 161, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(3, 105, 161, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-control.border-danger,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-input.border-danger,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea.border-danger {
  border-color: #dc3545 !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-group {
  width: min(100%, 24rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-country {
  width: 8rem !important;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-input {
  flex: 1 1 auto;
  min-width: 0;
  border-inline-start: 0;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-actions-section {
  margin-block-start: 0.35rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-actions .d-flex,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form-row .d-flex {
  align-items: center;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-submit-btn,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 6.5rem;
  min-height: 2.35rem;
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-submit-btn {
  box-shadow: 0 12px 22px rgba(3, 105, 161, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-reset-btn {
  color: var(--clientarea-muted);
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--clientarea-border);
  border-radius: 18px;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table {
  min-width: 38rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table thead th {
  padding: 0.85rem 0.9rem;
  border-block-end: 1px solid var(--clientarea-border);
  color: var(--clientarea-muted);
  background: var(--clientarea-surface-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table tbody td {
  padding: 0.9rem;
  border-color: var(--clientarea-border);
  color: var(--clientarea-text);
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table tbody tr:hover>td {
  background: #fbfdff;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salon-avatar {
  width: 4.6rem !important;
  height: 4.6rem !important;
  border: 1px solid var(--clientarea-border);
  border-radius: 18px !important;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .trSalonName {
  color: var(--clientarea-text);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: var(--clientarea-muted) !important;
  background: #fff;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-row-action:hover,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-row-action:focus {
  color: var(--clientarea-blue) !important;
  background: var(--clientarea-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table .badge {
  border-radius: 999px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-add-row {
  margin-block-start: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-item {
  overflow: hidden;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-button {
  gap: 0.5rem;
  color: var(--clientarea-text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-button:not(.collapsed) {
  color: var(--clientarea-blue);
  background: var(--clientarea-blue-soft);
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion .accordion-collapse {
  border: 0 !important;
  border-top: 1px solid var(--clientarea-border) !important;
  border-radius: 0 !important;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form {
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form-row:last-child {
  margin-block-end: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea {
  position: relative;
  overflow: hidden;
  width: min(100%, 20rem) !important;
  height: 11.5rem !important;
  border: 1px dashed var(--clientarea-border);
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top, rgba(3, 105, 161, 0.1), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea>.position-absolute,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea>.col.position-absolute {
  z-index: 2;
  inset: 0.5rem;
  width: auto !important;
  height: auto !important;
  justify-content: flex-end;
  pointer-events: none;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] #selectimage {
  min-height: 2.15rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 32, 51, 0.78);
  font-weight: 800;
  pointer-events: auto;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea .em-img-select {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form #salonCountry,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form #salonTimezone {
  width: min(100%, 28rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form #oTime,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form #cTime {
  width: min(100%, 12rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .modal-content {
  border: 1px solid var(--clientarea-border);
  border-radius: 20px;
  box-shadow: var(--clientarea-shadow);
}

body[data-sidebar-mode][data-page="sidebar-clientarea"] .modal-header,
body[data-sidebar-mode][data-page="sidebar-clientarea"] .modal-footer {
  border-color: var(--clientarea-border);
}

@media (max-width: 991.98px) {
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-layout {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

@media (min-width: 1400px) {
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  }
}

@media (max-width: 767.98px) {
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-hero-icon {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-nav,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-info-card,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-card,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-card,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-accordion-item {
    border-radius: 18px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-card-body,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-card-body,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form {
    padding: 0.9rem !important;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-phone-group,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-control,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-media-droparea {
    width: 100% !important;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table thead,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table tbody,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table tr,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table thead {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table tr {
    margin-block-end: 0.75rem;
    border: 1px solid var(--clientarea-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table td {
    border: 0;
    padding: 0.5rem 0.75rem;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table td:first-child {
    padding-block-start: 0.85rem;
    color: var(--clientarea-muted);
    font-weight: 800;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-salons-table td:last-child {
    padding-block-end: 0.85rem;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-form-actions .d-flex,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-branch-form-row .d-flex {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-submit-btn,
  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-reset-btn {
    flex: 1 1 9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-clientarea"] .clientarea-reset-btn {
    margin-inline: 0 !important;
  }
}

/* Premium support tickets refresh */
body[data-sidebar-mode][data-page="sidebar-supporttickets"] {
  --supporttickets-text: #1f2937;
  --supporttickets-muted: #64748b;
  --supporttickets-border: #e5e7eb;
  --supporttickets-soft: #fff7f8;
  --supporttickets-soft-border: #f7d7df;
  --supporttickets-surface: #ffffff;
  --supporttickets-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-shell {
  color: var(--supporttickets-text);
  padding-block: 1rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
  box-shadow: var(--supporttickets-shadow);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero {
  background:
    radial-gradient(circle at top left, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-kicker,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-section-heading,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d94663;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-title {
  margin: 0.35rem 0 0;
  color: var(--supporttickets-text);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-title span {
  color: #475569;
  font-size: 0.85em;
  font-weight: 750;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-helper {
  max-width: 46rem;
  margin: 0.55rem 0 0;
  color: var(--supporttickets-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-side {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-icon,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  color: #d94663;
  background: var(--supporttickets-soft);
  border: 1px solid var(--supporttickets-soft-border);
  box-shadow: 0 10px 24px rgba(217, 70, 99, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-icon i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-kicker i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-section-heading i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel-title i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-submit-btn i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-primary-cta i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-secondary-cta i,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-cta i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-primary-cta,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-secondary-cta,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-submit-btn,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-cancel-btn,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-cta,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-close-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  border-radius: 12px;
  font-weight: 750;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-secondary-cta,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-cancel-btn {
  border: 1px solid var(--supporttickets-border);
  background: #ffffff;
  color: #475569;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-list-card,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-card-wrap,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-card {
  border: 0 !important;
  background: transparent !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-panel,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-card,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-item,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-card,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-state {
  overflow: hidden;
  border: 1px solid var(--supporttickets-border) !important;
  border-radius: 20px !important;
  background: var(--supporttickets-surface) !important;
  box-shadow: var(--supporttickets-shadow);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel-header,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-header,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-header {
  border-bottom: 1px solid var(--supporttickets-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table-wrap {
  border-radius: 0 0 20px 20px;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table {
  margin: 0;
  color: var(--supporttickets-text);
  border-collapse: separate;
  border-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table thead th {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--supporttickets-border);
  background: #f8fafc;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody td {
  padding: 1rem;
  border-color: #eef2f7;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody tr:hover>td {
  background: #fff8fa;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-number-cell span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-subject-cell {
  color: #111827;
  font-weight: 750;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-department-cell,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-date-cell {
  color: var(--supporttickets-muted);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-status-cell span,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-urgency-cell span,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-list .fw-300[class*="bg-"],
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-list .fw-300[class*="text-"] {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-copy h2 {
  margin: 0;
  color: var(--supporttickets-text);
  font-size: 1.1rem;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-copy p {
  margin: 0.35rem 0 0;
  color: var(--supporttickets-muted);
  line-height: 1.6;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-panel {
  max-width: 100%;
  padding: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-panel>.col {
  padding: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-alert:empty {
  display: none;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form {
  display: block;
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-section-heading {
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: #0369a1;
  background: linear-gradient(135deg, rgba(3, 155, 229, 0.1) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(3, 155, 229, 0.2);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-row {
  align-items: center;
  margin-bottom: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-label {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-control {
  /* width: 100% !important; */
  max-width: 100%;
  min-height: 2.75rem;
  border: 1px solid #dbe3ef !important;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--supporttickets-text);
  box-shadow: none !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-input {
  min-height: 8rem;
  resize: vertical;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-form-row>.col-sm-8 {
  flex: 0 0 auto;
  width: 83.33333333%;
  max-width: 83.33333333%;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-form-control {
  width: min(100%, 42rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell select.supporttickets-form-control {
  width: min(100%, 23rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell input.supporttickets-form-control,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell textarea.supporttickets-form-control {
  width: min(100%, 42rem) !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-form-actions .d-flex {
  width: min(100%, 42rem);
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-cancel-btn {
  margin-inline: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-submit-btn,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-shell .supporttickets-cancel-btn {
  min-height: 2.6rem;
  padding: 0.4rem 1rem !important;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1.2;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-control:focus {
  border-color: #039BE5 !important;
  box-shadow: 0 0 0 0.2rem rgba(3, 155, 229, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-control.border-danger {
  border-color: #dc3545 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-actions .d-flex {
  gap: 0.75rem;
  flex-wrap: wrap;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-sidebar,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-content {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-header h5 {
  margin: 0;
  color: var(--supporttickets-text);
  font-size: 1rem;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-list {
  border-radius: 0 0 20px 20px;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-color: #eef2f7;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-item>div:first-child {
  color: var(--supporttickets-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-item>div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--supporttickets-text);
  font-weight: 700;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-actions .btn {
  width: 100%;
  margin: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-item {
  border-radius: 20px !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-button {
  border-radius: 20px !important;
  font-weight: 800;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-button:not(.collapsed) {
  color: #d94663;
  background: #fff8fa;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-body {
  padding: 1.25rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .alert_replay_closed,
body[data-sidebar-mode][data-page="sidebar-supporttickets"] #alertReplyReopen {
  border-radius: 14px;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-thread {
  display: grid;
  gap: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-card {
  margin-bottom: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-header {
  padding: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-header .d-flex {
  gap: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-type {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-body {
  color: #334155;
  line-height: 1.7;
}

body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-meta {
  color: var(--supporttickets-muted);
}

@media (min-width: 992px) {
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-layout {
    grid-template-columns: minmax(15rem, 1fr) minmax(0, 2fr);
  }
}

@media (min-width: 1400px) {
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-view-layout {
    grid-template-columns: minmax(15rem, 1fr) minmax(0, 3fr);
  }
}

@media (max-width: 767.98px) {
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-side {
    width: 100%;
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-hero-icon {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-primary-cta,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-secondary-cta {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-panel,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-card,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-item,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-card,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-state {
    border-radius: 16px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-panel-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table thead,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tr,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table td {
    display: block;
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table thead {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tr {
    border-bottom: 1px solid var(--supporttickets-border);
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody td {
    padding: 0.7rem 1rem;
    border: 0;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody td:first-child {
    padding-top: 1rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-table tbody td:last-child {
    padding-bottom: 1rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-state {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-empty-icon {
    margin-inline: auto;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-panel>.col,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-reply-panel .accordion-body {
    padding: 1rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-row>[class*=col-sm-] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-label {
    padding-bottom: 0.35rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-form-actions .d-flex {
    width: 100%;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-submit-btn,
  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-cancel-btn {
    width: 100%;
    margin-inline: 0 !important;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-summary-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  body[data-sidebar-mode][data-page="sidebar-supporttickets"] .supporttickets-message-header .d-flex {
    flex-direction: column;
  }
}

/* Premium staff schedule refresh */
body[data-sidebar-mode][data-page="sidebar-staffschedule"] {
  --staff-schedule-text: #1f2937;
  --staff-schedule-muted: #64748b;
  --staff-schedule-border: #e5e7eb;
  --staff-schedule-blue: #0ea5e9;
  --staff-schedule-blue-soft: #e8f6ff;
  --staff-schedule-blue-border: #bae6fd;
  --staff-schedule-soft: #fff7f8;
  --staff-schedule-soft-border: #f7d7df;
  --staff-schedule-surface: #ffffff;
  --staff-schedule-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-shell {
  color: var(--staff-schedule-text);
  padding-block: 1rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell {
  width: 100%;
  max-width: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
  box-shadow: var(--staff-schedule-shadow);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero {
  background:
    radial-gradient(circle at top left, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d94663;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-title {
  margin: 0.35rem 0 0;
  color: var(--staff-schedule-text);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper {
  max-width: 52rem;
  margin: 0.55rem 0 0;
  color: var(--staff-schedule-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-icon,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  color: #d94663;
  background: var(--staff-schedule-soft);
  border: 1px solid var(--staff-schedule-soft-border);
  box-shadow: 0 10px 24px rgba(217, 70, 99, 0.12);
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-profile img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: cover;
  border: 0 !important;
  padding: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-kicker i,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-toolbar-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-empty-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month {
  border: 1px solid var(--staff-schedule-border) !important;
  border-radius: 20px !important;
  background: var(--staff-schedule-surface) !important;
  box-shadow: var(--staff-schedule-shadow);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-toolbar-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card {
  padding: 0.7rem 0.85rem !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-toolbar-card {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-toolbar-card>.w-100 {
  width: auto !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-date-control {
  width: min(100%, 24.5rem);
  padding-block: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-date-control .input-group,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-year-toolbar .input-group {
  overflow: hidden;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-date-control .btn,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-year-toolbar .btn,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-date-control .form-control,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-year-toolbar .form-control {
  border: 0 !important;
  box-shadow: none !important;
  min-height: 2.25rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #picker-container .btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.45rem;
  border-radius: 12px;
  color: #0369a1;
  background: var(--staff-schedule-blue-soft);
  border: 1px solid var(--staff-schedule-blue-border);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-scroll-hint {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--staff-schedule-soft-border);
  border-radius: 14px;
  color: #be3452;
  background: #fff8fa;
  font-weight: 750;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table-card {
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--staff-schedule-text);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table thead th {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--staff-schedule-border);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%) !important;
  color: #52647d;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table thead th .bg-warning {
  display: inline-block;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: var(--staff-schedule-blue-soft) !important;
  color: #0369a1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table tbody td {
  padding: 0.85rem 0.9rem;
  border-color: #edf2f7;
  border-bottom-width: 1px;
  vertical-align: top;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table tbody tr:hover>td:not(.staff-schedule-past-cell) {
  background: #f8fbff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-day-cell {
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-future-cell {
  cursor: pointer;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-future-cell:hover {
  background: #f4fbff !important;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.2);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-today-cell {
  background: linear-gradient(180deg, rgba(232, 246, 255, 0.9) 0%, #ffffff 100%);
  box-shadow: inset 3px 0 0 #0ea5e9, inset 0 0 0 1px rgba(14, 165, 233, 0.18);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-today-cell {
  box-shadow: inset -3px 0 0 #0ea5e9, inset 0 0 0 1px rgba(14, 165, 233, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-past-cell {
  cursor: default;
  background: #f8fafc;
  color: #94a3b8;
  opacity: 0.74;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.34);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-past-cell:hover {
  background: #f8fafc !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-past-cell .list-group-item {
  cursor: default;
  border-color: #e2e8f0;
  color: #78869a !important;
  background: #f1f5f9;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl {
  width: 13rem;
  min-width: 13rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  box-shadow: 1px 0 0 #edf2f7;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .w200px {
  width: 8.75rem !important;
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border: 1px solid var(--staff-schedule-border) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .emp_name {
  color: #111827;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .btn-edit-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0 !important;
  border: 1px solid #dbeafe !important;
  border-radius: 999px !important;
  color: #0369a1 !important;
  background: #eff8ff !important;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .btn-edit-calendar:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .btn-edit-calendar:focus {
  color: #075985 !important;
  background: #e0f2fe !important;
  border-color: var(--staff-schedule-blue-border) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table-card:has(.tdEmpl .dropdown-menu.show),
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table-card:has(.tdEmpl .dropdown-menu.show) .schedule-scroll-area {
  overflow-y: visible;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table tbody tr:has(.tdEmpl .dropdown-menu.show) {
  position: relative;
  z-index: 40;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl:has(.dropdown-menu.show) {
  z-index: 50;
  overflow: visible;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown {
  position: relative;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown-menu {
  min-width: 15rem;
  max-width: min(16rem, 80vw);
  padding: 0.45rem;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  z-index: 1080;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown-menu[data-bs-popper] {
  inset: 100% 0 auto auto !important;
  margin-top: 0.45rem;
  transform: none !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  color: #334155;
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown-item:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .tdEmpl .dropdown-item:focus {
  color: #0369a1;
  background: var(--staff-schedule-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-day-cell .list-group,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .list-group {
  gap: 0.4rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-day-cell .list-group-item,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .list-group-item,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #shiftTimes .list-group-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid #dbeafe;
  border-radius: 999px !important;
  background: #f8fbff;
  color: #1e3a5f !important;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-today-cell .list-group-item:not(.text-muted):not(.text-danger) {
  border-color: rgba(14, 165, 233, 0.32);
  background: #eef8ff;
  color: #075985 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-day-cell .list-group-item.text-muted {
  border-color: #d9e1eb;
  color: #64748b !important;
  background: #f1f5f9;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table .text-danger,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-day-cell .text-danger {
  border-color: #fde68a;
  color: #92400e !important;
  background: #fffbeb;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-empty-card {
  margin-inline: auto;
  color: var(--staff-schedule-muted);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card {
  max-width: 46rem;
  margin-inline: auto;
  padding: 0.55rem 0.75rem !important;
  border-radius: 14px !important;
  border-color: rgba(203, 213, 225, 0.72) !important;
  color: var(--staff-schedule-muted);
  background: rgba(255, 255, 255, 0.52) !important;
  box-shadow: none;
  font-size: 0.82rem;
  line-height: 1.45;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card a {
  color: #0369a1;
  font-weight: 800;
  text-decoration: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card a:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card a:focus {
  text-decoration: underline;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs {
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs .nav-link {
  border-radius: 12px;
  color: #64748b;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs .nav-link.active,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs .nav-link:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs .nav-link:focus {
  color: #be3452;
  background: #fff8fa;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-card {
  overflow: hidden;
  padding: 1rem !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-card-intro {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--staff-schedule-soft-border);
  border-radius: 14px;
  background: #fff8fa;
  color: #475569;
  line-height: 1.55;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card {
  overflow: hidden;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card .card-body,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .card-body {
  padding: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card h6,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card strong {
  color: #334155;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-form-control,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-time-input,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card .form-select,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .form-control,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #weekinput,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #yearInput {
  border: 1px solid #dbe3ef !important;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--staff-schedule-text);
  box-shadow: none !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-time-input:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #weekinput:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #yearInput:focus {
  border-color: #d94663 !important;
  box-shadow: 0 0 0 0.2rem rgba(217, 70, 99, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .card-header {
  border-bottom: 1px solid var(--staff-schedule-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card .btnAddTime,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #addShift {
  color: #d94663;
  font-weight: 800;
  text-decoration: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-savebar {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
  z-index: 20;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-savebar .btn {
  min-height: 2.55rem;
  border-radius: 12px;
  font-weight: 800;
}

/* Staff shifts editor polish */
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-tabs {
  gap: 0.35rem;
  padding: 0.28rem;
  border-color: #dbe3ef;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-tabs .nav-link {
  min-height: 2.3rem;
  padding: 0.48rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #475569;
  background: transparent;
  line-height: 1.2;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-tabs .nav-link.active {
  color: #075985 !important;
  border-color: rgba(14, 165, 233, 0.28);
  background: #e8f6ff;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-tabs .nav-link:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-tabs .nav-link:focus {
  color: #0369a1;
  background: #eef8ff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-editor-card {
  padding: clamp(0.85rem, 1.6vw, 1.15rem) !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-card-intro {
  margin-bottom: 1rem;
  padding: 0.78rem 0.95rem;
  border-color: rgba(14, 165, 233, 0.22);
  border-radius: 16px;
  color: #475569;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-options-card,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card {
  border-color: #dbe3ef !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card {
  margin-bottom: 1rem !important;
  border-top: 0 !important;
  overflow: hidden;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .card-header {
  align-items: center;
  min-height: 3.35rem;
  padding: 0.78rem 0.9rem;
  border-bottom-color: #e4eaf3;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.07), transparent 8rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card strong {
  color: #172033;
  font-size: 0.96rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .form-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  margin: 0;
  padding: 0.18rem 0.5rem 0.18rem 2.35rem;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  background: #f8fafc;
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .form-switch {
  padding: 0.18rem 2.35rem 0.18rem 0.5rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .form-switch .form-check-input {
  margin-top: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .form-check-label {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .card-body {
  padding: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .list-group {
  display: grid;
  gap: 0.55rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .list-group-item {
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.45rem;
  min-height: 3.4rem;
  padding: 0.62rem !important;
  border: 1px solid #e1e8f2;
  border-radius: 16px !important;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .list-group-item > .d-flex.flex-column {
  flex: 1 1 5.8rem;
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap !important;
  width: 100%;
  max-width: 7.5rem;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-time-input,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker input {
  width: 100% !important;
  min-height: 2.35rem;
  padding-inline: 0.7rem;
  border-color: #dbe3ef !important;
  border-radius: 999px;
  color: #172033;
  background: #ffffff;
  font-weight: 800;
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker [role="right-icon"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  color: #0369a1;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker [role="right-icon"] .btn i {
  width: auto;
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-time-input:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker:focus-within,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker [role="right-icon"] .btn:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .gj-timepicker [role="right-icon"] .btn:focus {
  border-color: rgba(14, 165, 233, 0.34) !important;
  background: #f8fcff;
  box-shadow: 0 0 0 0.16rem rgba(14, 165, 233, 0.1) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .delHours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 999px;
  color: #64748b;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .delHours:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .delHours:focus {
  color: #a7194b;
  border-color: rgba(167, 25, 75, 0.22) !important;
  background: rgba(167, 25, 75, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .btnAddTime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  margin-top: 0.65rem;
  padding: 0.22rem 0.8rem !important;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 999px;
  color: #0369a1;
  background: #e8f6ff;
  font-size: 0.8rem;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .btnAddTime:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-weekday-card .btnAddTime:focus {
  color: #075985;
  background: #dff3ff;
  text-decoration: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-savebar {
  gap: 0.55rem;
  padding: 0.62rem;
  border-color: rgba(219, 227, 239, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-savebar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding-inline: 1rem !important;
  border-radius: 999px;
  line-height: 1.1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-cancel-btn {
  color: #475569;
  border: 1px solid #dbe3ef;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-shell .staff-schedule-save-btn {
  border-color: #0ea5e9;
  background: #0ea5e9;
  box-shadow: 0 12px 22px rgba(14, 165, 233, 0.2);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-actions .btn,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .btn {
  border-radius: 12px;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-year-toolbar {
  margin-bottom: 1rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-calendar-grid .col-12 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
  align-items: start;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month {
  /* overflow: hidden;
  margin: 0;
  padding: 0.75rem; */
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month .datepicker-inline,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month table {
  width: 100%;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month table {
  border-collapse: separate;
  table-layout: fixed;
  max-width: 100%;
  border-spacing: 0.16rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month th {
  box-sizing: border-box;
  padding: 0.45rem 0.1rem;
  border-radius: 10px;
  font-size: 0.74rem;
  text-align: center;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month td {
  box-sizing: border-box;
  min-width: 0;
  height: 2.15rem;
  padding: 0.16rem;
  border-radius: 10px;
  color: #334155;
  font-weight: 750;
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month .day {
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month .day:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month .day.active {
  color: #be3452;
  background: #fff8fa;
  border-color: var(--staff-schedule-soft-border);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month .dayOff {
  color: #ffffff !important;
  background: #d94663 !important;
  border-color: #d94663 !important;
}

/* Staff holidays polish */
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-tabs {
  gap: 0.35rem;
  padding: 0.28rem;
  border-color: #dbe3ef;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-tabs .nav-link {
  min-height: 2.3rem;
  padding: 0.48rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #475569;
  background: transparent;
  line-height: 1.2;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-tabs .nav-link.active {
  color: #075985 !important;
  border-color: rgba(14, 165, 233, 0.28);
  background: #e8f6ff;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.12);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-tabs .nav-link:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-tabs .nav-link:focus {
  color: #0369a1;
  background: #eef8ff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-holidays-card {
  padding: clamp(0.85rem, 1.6vw, 1.15rem) !important;
  border-color: #dbe3ef !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-card-intro {
  margin-bottom: 1rem;
  padding: 0.78rem 0.95rem;
  border-color: rgba(14, 165, 233, 0.22);
  border-radius: 16px;
  color: #475569;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-holidays-actions {
  margin-block: 1rem 0.4rem !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-holidays-actions>div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #schedule-setup,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #cancel-setup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem !important;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #schedule-setup {
  border-color: #0ea5e9;
  background: #0ea5e9;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #cancel-setup {
  margin-inline: 0 !important;
  color: #475569 !important;
  border: 1px solid #dbe3ef;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #schedule-setup:disabled,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell #cancel-setup:disabled {
  color: #94a3b8 !important;
  border-color: #e2e8f0;
  background: #f1f5f9;
  box-shadow: none;
  opacity: 1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-year-toolbar {
  margin-block: 0.75rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-year-toolbar .input-group {
  border-radius: 999px;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .staff-schedule-calendar-grid .col-12 {
  margin-top: 1.25rem !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .special-days-month {
  min-width: 0;
  /* padding: 0.7rem; */
  border-color: #dbe3ef !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-shell .special-days-month tr.bg-blue th {
  border-radius: 12px 12px 0 0;
  background: #0ea5e9 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup {
  width: min(29rem, calc(100vw - 2rem)) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 1055;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content {
  overflow: hidden;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 12rem),
    #ffffff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
  padding: 1.05rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .border-bottom {
  padding-bottom: 0.85rem;
  border-color: var(--staff-schedule-border) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding-inline-end: 2.5rem;
  position: relative;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-header img {
  width: 3rem;
  height: 3rem;
  margin: 0 !important;
  border: 1px solid var(--staff-schedule-border) !important;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-header #employee_name {
  min-width: 0;
  margin-inline-start: 0 !important;
  color: #172033;
  font-size: 1rem;
  font-weight: 850 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 0.1rem;
  inset-inline-end: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .close-btn:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .close-btn:focus {
  color: #0369a1;
  background: var(--staff-schedule-blue-soft);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-meta {
  align-items: center;
  gap: 0.75rem;
  margin-block: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e4eef8;
  border-radius: 16px;
  color: #334155;
  background: #f8fbff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-meta>div:first-child {
  padding-top: 0 !important;
  font-weight: 850 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #shiftDate {
  padding: 0 !important;
  color: #0369a1;
  font-weight: 750;
  text-align: end;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .form-switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 16px;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .form-switch .form-check-input {
  margin-inline-start: 0;
  margin-top: 0;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .form-switch .form-check-label {
  margin: 0;
  color: #334155;
  font-weight: 750;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #specific_shifts>label {
  margin: 0 0 0.45rem;
  color: #52647d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #shiftTimes {
  gap: 0.55rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry {
  display: grid !important;
  grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  padding: 0.65rem;
  border-color: #dbeafe;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  margin: 0 !important;
  border-radius: 999px;
  color: #0369a1;
  background: var(--staff-schedule-blue-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap !important;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker [role="right-icon"] {
  display: flex;
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry input.staff-schedule-time-picker {
  min-width: 0;
  width: 100%;
  min-height: 2.35rem;
  padding-inline: 0.7rem;
  border: 1px solid #dbe3ef !important;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-start-start-radius: 999px;
  border-end-start-radius: 999px;
  color: #172033;
  background: #ffffff;
  box-shadow: none !important;
  font-weight: 800;
  text-align: center;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker [role="right-icon"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 !important;
  border: 1px solid #dbe3ef;
  border-inline-start: 0;
  border-radius: 0 999px 999px 0;
  color: #0369a1;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker [role="right-icon"] .btn i {
  width: auto;
  margin: 0;
  line-height: 1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry input.staff-schedule-time-picker:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker [role="right-icon"] .btn:focus,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker [role="right-icon"] .btn:hover {
  border-color: rgba(14, 165, 233, 0.32) !important;
  background: #f4fbff;
  box-shadow: 0 0 0 0.16rem rgba(14, 165, 233, 0.1) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .removeShift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  border-radius: 999px;
  color: #64748b;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .removeShift:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .removeShift:focus {
  color: #a7194b;
  border-color: rgba(167, 25, 75, 0.2) !important;
  background: rgba(167, 25, 75, 0.06);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #addShift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  margin-top: 0.65rem;
  padding: 0.3rem 0.85rem !important;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  color: #0369a1;
  background: var(--staff-schedule-blue-soft);
  font-weight: 850;
  text-decoration: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #addShift:hover,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] #addShift:focus {
  color: #075985;
  background: #dff3ff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-footer {
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--staff-schedule-border);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-footer .btn {
  min-height: 2.35rem;
  padding: 0.36rem 0.95rem !important;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #resetToOpeningHours {
  color: #475569;
  border: 1px solid var(--staff-schedule-border);
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup .btn_cancel {
  color: #475569;
  border: 1px solid var(--staff-schedule-border);
  background: #f8fafc;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup button[type="submit"] {
  border-color: #0f9f6e;
  background: #10b981;
  box-shadow: 0 12px 22px rgba(16, 185, 129, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] #shiftTimes>.text-muted {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #d9e1eb;
  border-radius: 999px;
  color: #64748b !important;
  background: #f1f5f9;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-modal {
  background-color: rgba(15, 23, 42, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker {
  overflow: hidden;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 22px;
  color: var(--staff-schedule-text);
  background: #fff;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="header"] {
  padding: 1rem 1.25rem 0.85rem;
  border-block-end: 1px solid var(--staff-schedule-border);
  color: var(--staff-schedule-text);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 9rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f5f8fc 100%);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="header"] div {
  color: #172033 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="header"] .selected {
  color: #0369a1 !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="body"] {
  padding: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="body"] [role="dial"] {
  width: 254px;
  height: 254px;
  margin: 0.25rem auto;
  color: var(--staff-schedule-text);
  background:
    radial-gradient(circle at center, #ffffff 0%, #f8fbff 55%, #eef6fc 100%);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="body"] [role="hour"] {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="body"] [role="hour"].selected {
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(15, 23, 42, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="body"] [role="arrow"],
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker .arrow-begin {
  background-color: var(--staff-schedule-blue) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker .arrow-end {
  border-color: var(--staff-schedule-blue) !important;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="footer"] {
  float: none;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.9rem;
  border-block-start: 1px solid var(--staff-schedule-border);
  background: #f8fafc;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="footer"] button {
  min-width: 5rem;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--staff-schedule-border);
  border-radius: 999px;
  color: #475569;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 2.25rem;
  text-transform: none;
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .gj-picker.timepicker [role="footer"] button:last-child {
  color: #fff;
  border-color: var(--staff-schedule-blue);
  background: var(--staff-schedule-blue);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.16);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .modal-content {
  border: 1px solid var(--staff-schedule-border);
  border-radius: 20px;
  box-shadow: var(--staff-schedule-shadow);
}

body[data-sidebar-mode][data-page="sidebar-staffschedule"] .modal-header,
body[data-sidebar-mode][data-page="sidebar-staffschedule"] .modal-footer {
  border-color: var(--staff-schedule-border);
}

@media (max-width: 991.98px) {

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-card .row>[class*=col-md-],
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-card .row>[class*=col-] {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-hero-icon {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-toolbar-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-table-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-empty-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-helper-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-editor-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-options-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-weekday-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-holidays-card,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .special-days-month {
    border-radius: 16px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-tabs .nav-link {
    text-align: center;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-date-control .input-group,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-year-toolbar .input-group {
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-calendar-grid .col-12 {
    grid-template-columns: 1fr;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-savebar {
    left: 1rem;
    right: 1rem;
    bottom: 1rem !important;
    width: auto;
    justify-content: stretch;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-savebar .btn {
    flex: 1 1 0;
    margin-inline: 0 !important;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content {
    padding: 0.9rem;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-meta,
  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-footer {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] #shiftDate {
    text-align: start;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry {
    flex-wrap: wrap;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-content .shift-entry .gj-timepicker {
    flex: 1 1 calc(50% - 2.5rem);
    max-width: none;
  }

  body[data-sidebar-mode][data-page="sidebar-staffschedule"] .staff-schedule-popup-footer-actions {
    justify-content: flex-end;
  }
}

/* Premium appointments v2 refresh */
body[data-sidebar-mode][data-page="sidebar-appointments"] {
  --appointments-text: #1f2937;
  --appointments-muted: #64748b;
  --appointments-border: #e5e7eb;
  --appointments-soft: #fff7f8;
  --appointments-soft-border: #f7d7df;
  --appointments-surface: #ffffff;
  --appointments-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-shell {
  color: var(--appointments-text);
  padding-block: 1rem 1.5rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 0.75rem 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
  box-shadow: var(--appointments-shadow);
}

body[dir="rtl"][data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero {
  background:
    radial-gradient(circle at top left, rgba(217, 70, 99, 0.12), transparent 16rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 58%, #f7f9fc 100%);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero-copy {
  min-width: 0;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero .page-title-side {
  display: none;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d94663;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-title {
  margin: 0.35rem 0 0;
  color: var(--appointments-text) !important;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-title small {
  display: inline-flex;
  margin-inline-start: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #0369a1 !important;
  background: #e0f2fe;
  font-size: 0.72rem;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-helper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  color: var(--appointments-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-helper span {
  color: #334155;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 18px;
  color: #d94663;
  background: var(--appointments-soft);
  border: 1px solid var(--appointments-soft-border);
  box-shadow: 0 10px 24px rgba(217, 70, 99, 0.12);
  flex: 0 0 auto;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-kicker i,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero-icon i,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-toolbar i {
  width: auto;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-page-card {
  border: 0 !important;
  background: transparent !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-toolbar,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-card,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal .modal-content {
  border: 1px solid var(--appointments-border) !important;
  border-radius: 20px !important;
  background: var(--appointments-surface) !important;
  box-shadow: var(--appointments-shadow);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-toolbar {
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-datepicker-shell,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-scroll-wrapper button,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: none !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-datepicker-shell {
  border: 1px solid var(--appointments-soft-border);
  color: #d94663;
  background: #fff8fa;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] #ui-datepicker-div {
  z-index: 1080 !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn {
  border: 1px solid var(--appointments-border);
  color: #475569;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn.is-active,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn:hover,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn:focus {
  color: #be3452;
  background: #fff8fa !important;
  border-color: var(--appointments-soft-border);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-card {
  overflow: hidden;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-panel {
  padding-inline: 0 !important;
  border: 0;
  background: #ffffff !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--appointments-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-passed-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #475569;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-scroll-wrapper .table-container {
  display: none;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-scroll-wrapper button {
  width: 2.35rem;
  min-height: 2.35rem;
  border: 1px solid var(--appointments-border);
  color: #475569;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-scroll {
  max-width: 100%;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table {
  min-width: 820px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--appointments-text);
}

body[data-calendar-view="weeklyView"][data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table {
  min-width: 1100px;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 1rem;
  border-bottom: 1px solid var(--appointments-border);
  background: #f8fafc !important;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table thead th .bg-warning {
  color: #7c2d12;
  background: #ffedd5 !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table thead th.appointments-past-day-heading {
  color: #94a3b8;
  background: #f1f5f9 !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table tbody td {
  padding: 1rem;
  border-color: #eef2f7;
  vertical-align: top;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table tbody td.appointments-past-day {
  background: #f8fafc !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table tbody td.appointments-past-day .appointments-employee-head {
  background: #f8fafc;
  box-shadow: none;
  opacity: 0.74;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table tbody>tr>td:nth-child(even) {
  background: #fbfcff !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table tbody>tr>td.appointments-past-day {
  background: #f8fafc !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-schedule-table table {
  border-collapse: separate;
  border-spacing: 0.65rem 0;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-employee-column {
  min-width: 9.5rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-employee-head {
  min-height: 5.9rem;
  padding: 0.75rem;
  border: 1px solid var(--appointments-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-employee-head img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--appointments-border);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-employee-head small {
  display: inline-block;
  margin-top: 0.35rem;
  color: #334155 !important;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-edit {
  overflow: hidden;
  border: 1px solid #edf1f7 !important;
  border-radius: 14px !important;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time:hover,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-edit:hover {
  transform: translateY(-1px);
  border-color: var(--appointments-soft-border) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time .card-body,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-edit .card-body {
  padding: 0.7rem 1rem !important;
  font-size: 0.98rem !important;
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time .card-body {
  color: #047857 !important;
  background: #ecfdf5;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-edit .card-body {
  color: #be3452 !important;
  background: #fff8fa !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .pastBg {
  opacity: 0.58;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.is-past-slot,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.is-past-slot:hover,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.pastBg,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.pastBg:hover {
  cursor: not-allowed;
  transform: none;
  border-color: #e2e8f0 !important;
  background: #f8fafc;
  box-shadow: none;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.is-past-slot .card-body,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-time.pastBg .card-body {
  color: #64748b !important;
  background: #f1f5f9 !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-day-off {
  border: 1px dashed var(--appointments-border);
  border-radius: 14px;
  background: #f8fafc;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .icns {
  inset-inline-end: 0.35rem;
  top: 0.15rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .icns i {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal .modal-content {
  overflow: hidden;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal-header,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal-footer,
body[data-sidebar-mode][data-page="sidebar-appointments"] #warningModal .modal-header {
  border-color: var(--appointments-border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal .modal-title {
  color: var(--appointments-text);
  font-weight: 850;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal #_datetime {
  display: inline-flex;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: #be3452;
  background: #fff8fa;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-details-table {
  border-collapse: separate;
  border-spacing: 0;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-details-table td {
  padding: 0.8rem;
  border-color: #eef2f7;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row {
  gap: 0.75rem;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row>label {
  color: #334155;
  font-weight: 800;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-control,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-services-select {
  border: 1px solid #dbe3ef !important;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--appointments-text);
  box-shadow: none !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-control:focus,
body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-services-select:focus {
  border-color: #d94663 !important;
  box-shadow: 0 0 0 0.2rem rgba(217, 70, 99, 0.12) !important;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-services-select {
  max-height: 18rem;
  overflow: auto;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] #selectServicesTable {
  margin: 0;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] #selectServicesTable tr {
  border-bottom: 1px solid #eef2f7;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] #selectServicesTable td {
  padding: 0.75rem;
  vertical-align: middle;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .s-btn-plus,
body[data-sidebar-mode][data-page="sidebar-appointments"] .s-btn-minus {
  border: 1px solid var(--appointments-border) !important;
  border-radius: 10px;
  background: #ffffff;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-result-row {
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--appointments-soft-border);
  border-radius: 14px;
  background: #fff8fa;
}

body[data-sidebar-mode][data-page="sidebar-appointments"] #warningModal .alert {
  border-radius: 14px;
}

@media (max-width: 991.98px) {
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-shell {
    padding-block-start: 0.5rem;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-hero-icon {
    display: none;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-toolbar,
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-card,
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-modal .modal-content {
    border-radius: 16px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-nav-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-calendar-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row {
    display: block !important;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row>label,
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row .w-25 {
    width: 100% !important;
  }

  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-form-row .w180px,
  body[data-sidebar-mode][data-page="sidebar-appointments"] .appointments-services-select {
    width: 100% !important;
  }
}

/* Shared account page hero system */
.account-page-shell {
  --account-page-primary: #a7194b;
  --account-page-primary-soft: rgba(167, 25, 75, 0.1);
  --account-page-surface: #ffffff;
  --account-page-surface-soft: #f8fafc;
  --account-page-border: #e3e8f0;
  --account-page-text: #172033;
  --account-page-muted: #64748b;
  --account-page-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

.account-page-shell.account-page-shell--fluid {
  max-width: none !important;
}

.account-page-hero {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  width: 100%;
  max-width: 1320px !important;
  margin-inline: auto !important;
  margin-block: 0 1rem !important;
  padding: clamp(1rem, 2vw, 1.35rem) !important;
  border: 1px solid var(--account-page-border) !important;
  border-radius: 22px !important;
  color: var(--account-page-text);
  background:
    radial-gradient(circle at top right, rgba(3, 155, 229, 0.16), transparent 18rem),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 55%, #f5f8fc 100%) !important;
  box-shadow: var(--account-page-shadow) !important;
}

body[dir="rtl"] .account-page-hero {
  background:
    radial-gradient(circle at top left, rgba(3, 155, 229, 0.16), transparent 18rem),
    linear-gradient(225deg, #ffffff 0%, #fbfcff 55%, #f5f8fc 100%) !important;
}

.account-page-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.account-page-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.4rem;
  color: var(--account-page-primary) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-page-eyebrow-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.55rem;
  width: 1.55rem !important;
  height: 1.55rem;
  border-radius: 999px;
  color: var(--account-page-primary);
  background: var(--account-page-primary-soft);
  font-size: 0.76rem;
}

.account-page-hero-title {
  margin: 0 !important;
  color: var(--account-page-text) !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.account-page-hero-subtitle {
  max-width: 48rem;
  margin: 0.45rem 0 0 !important;
  color: var(--account-page-muted) !important;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
}

.account-page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.account-page-hero-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.25rem;
  width: 3.25rem !important;
  height: 3.25rem;
  border: 1px solid rgba(167, 25, 75, 0.12);
  border-radius: 18px !important;
  color: var(--account-page-primary) !important;
  background: var(--account-page-primary-soft) !important;
  font-size: 1.2rem;
  box-shadow: none !important;
}

.account-page-hero-icon i,
.account-page-hero-actions i,
.account-page-eyebrow-icon {
  width: auto;
}

.account-page-hero .page-title-side {
  display: none;
}

.billing-receipt-hero .account-page-hero-actions {
  min-width: min(100%, 32rem);
}

@media (max-width: 767.98px) {
  .account-page-shell {
    max-width: 100% !important;
  }

  .account-page-hero {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 1rem !important;
    border-radius: 18px !important;
  }

  .account-page-hero-title {
    font-size: 1.35rem !important;
  }

  .account-page-hero-subtitle {
    font-size: 0.9rem !important;
  }

  .account-page-hero-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .account-page-hero-actions .btn {
    max-width: 100%;
  }

  .account-page-hero-icon {
    width: 3rem !important;
    height: 3rem;
    flex-basis: 3rem;
  }
}

.centered-width {
  max-width: 1320px !important;
  margin-inline: auto !important
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-readiness-panel {
  border-color: rgba(245, 158, 11, 0.22);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.1), transparent 12rem),
    linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-readiness-icon {
  color: #9a6700;
  background: rgba(245, 158, 11, 0.14);
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head {
  min-height: 3.1rem;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-row {
  min-height: 5.35rem;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-description-cell {
  max-width: 28rem;
  color: #64748b;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-duration-cell {
  min-width: 6rem !important;
  width: 6rem !important;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-cost-cell {
  min-width: 5rem !important;
  width: 5rem !important;
  white-space: nowrap;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-multiple-cell,
body[data-sidebar-mode][data-page="sidebar-services"] .services-private-cell {
  min-width: 6.5rem !important;
  width: 6.5rem !important;
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-action-btn {
  border: 1px solid #dbeafe;
  color: #0369a1;
  background: #eff8ff;
  box-shadow: 0 8px 18px rgba(3, 155, 229, 0.1);
}

body[data-sidebar-mode][data-page="sidebar-services"] .services-action-btn:hover,
body[data-sidebar-mode][data-page="sidebar-services"] .services-action-btn:focus {
  color: #075985;
  background: #e0f2fe;
}

@media (min-width: 768px) {
  body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-row {
    display: grid !important;
    grid-template-columns: 2.25rem 2.75rem 5rem minmax(10rem, 1.15fr) minmax(8rem, 0.8fr) 6.25rem 5.5rem 8rem 5.5rem 2.35rem;
    align-items: center;
    column-gap: 0.65rem;
    width: 100%;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head {
    min-height: 2.75rem;
    padding: 0.65rem 0.9rem !important;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-row {
    min-height: 5.2rem;
    padding: 0.72rem 0.9rem !important;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head > span,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-row > span {
    width: auto !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head .services-description-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-row .services-description-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-list-head .services-multiple-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-row .services-multiple-cell {
    display: inline-flex !important;
    align-items: center;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-title-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-description-cell {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-description-cell {
    max-width: none;
    white-space: nowrap;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-row .services-description-cell:empty::before {
    content: "-";
    color: #94a3b8;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-duration-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-cost-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-multiple-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-private-cell {
    justify-content: center;
    text-align: center !important;
    white-space: nowrap;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-duration-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-cost-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-multiple-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-private-cell {
    min-width: 0 !important;
    width: auto !important;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-thumb-cell {
    display: inline-flex;
    align-items: center;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-thumbnail {
    width: 4.1rem;
    height: 4.1rem;
    border-radius: 14px !important;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-action-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-select-cell,
  body[data-sidebar-mode][data-page="sidebar-services"] .services-drag-cell {
    justify-self: center;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-row .services-drag-cell {
    justify-self: end;
    width: 2.15rem !important;
    height: 2.15rem;
    min-height: 2.15rem;
    border: 1px solid #dbeafe;
    color: #0369a1 !important;
    background: #f8fbff;
  }

  body[data-sidebar-mode][data-page="sidebar-services"] .services-row:hover .services-drag-cell {
    color: #075985 !important;
    border-color: #bae6fd;
    background: #e0f2fe;
  }
}

/*# sourceMappingURL=cms.css.map */
