:root {
  --ikwik-primary: #009f77;
  --ikwik-secondary: #ffffff;
  --bs-primary: var(--ikwik-primary);
  --bs-primary-rgb: 0, 159, 119;
}

.ikwik-brand-logo {
  max-height: 32px;
  max-width: 130px;
  object-fit: contain;
}

.ikwik-brand-fallback {
  color: var(--ikwik-primary);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.menu .app-brand-text {
  color: #32475c;
  font-weight: 700;
}

.menu-item.active > .menu-link,
.menu-item.active > .menu-link:not(.menu-toggle) {
  background: color-mix(in srgb, var(--ikwik-primary) 14%, transparent);
  color: var(--ikwik-primary);
}

.bg-label-primary,
.badge.bg-label-primary {
  background: color-mix(in srgb, var(--ikwik-primary) 14%, transparent) !important;
  color: var(--ikwik-primary) !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ikwik-primary);
  border-color: var(--ikwik-primary);
}

.btn-outline-primary {
  border-color: var(--ikwik-primary);
  color: var(--ikwik-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--ikwik-primary);
  border-color: var(--ikwik-primary);
}

.ikwik-admin-wordmark {
  color: var(--ikwik-primary);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}
.app-brand .ikwik-admin-wordmark { font-size: 1.45rem; }

.display-currency-rate-group {
  min-width: 220px;
}

.display-currency-rate-input {
  flex: 1 0 80px !important;
  min-width: 80px !important;
}

.admin-datatable-buttons .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-datatable-buttons .dt-button {
  margin: 0 !important;
}

.admin-datatable-search .dataTables_filter {
  margin: 0;
  text-align: start;
}

.admin-datatable-search .dataTables_filter label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

.admin-datatable-search .dataTables_filter input {
  margin: 0 !important;
  min-width: 12rem;
}

@media (max-width: 575.98px) {
  .admin-datatable-buttons .dt-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-datatable-buttons .dt-button,
  .admin-datatable-search,
  .admin-datatable-search label,
  .admin-datatable-search input {
    width: 100% !important;
  }
}

/* Keep the compact navigation opener legible after it receives focus. */
.layout-menu-toggle.btn-outline-primary:focus,
.layout-menu-toggle.btn-outline-primary:focus-visible,
.layout-menu-toggle.btn-outline-primary:active {
  background-color: transparent;
  border-color: var(--ikwik-primary);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--ikwik-primary) 22%, transparent);
  color: var(--ikwik-primary);
}

.admin-login {
  align-items: center;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--ikwik-primary) 24%, transparent), transparent 32rem),
    #f5f5f9;
  display: flex;
  min-height: 100vh;
  padding: 1.5rem;
}

.admin-login-card {
  border: 0;
  box-shadow: 0 0.25rem 1.25rem rgba(67, 89, 113, 0.15);
  margin: auto;
  max-width: 430px;
  width: 100%;
}

.admin-not-found {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: min(34rem, calc(100vh - 14rem));
  padding-block: 2rem;
}

.admin-not-found-card {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--ikwik-primary) 18%, transparent), transparent 15rem),
    var(--bs-body-bg);
  box-shadow: 0 0.4rem 1.5rem rgba(67, 89, 113, 0.14);
  max-width: 36rem;
  width: 100%;
}

.admin-not-found-card p {
  max-width: 30rem;
}

.admin-not-found-icon {
  align-items: center;
  background: color-mix(in srgb, var(--ikwik-primary) 13%, transparent);
  border-radius: 50%;
  color: var(--ikwik-primary);
  display: inline-flex;
  font-size: 2.75rem;
  height: 5.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 5.5rem;
}

.admin-not-found-code {
  color: var(--ikwik-primary);
  font-size: clamp(4rem, 13vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.9;
  margin: 0 0 1.25rem -0.1em;
}

.metric-card {
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric-card:hover {
  box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.12);
  transform: translateY(-2px);
}

.metric-card a {
  color: inherit;
  display: block;
  text-decoration: none;
}

.metric-label {
  color: #697a8d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
}

input::placeholder,
textarea::placeholder,
select::placeholder,
.form-control::placeholder {
  color: var(--ikwik-primary) !important;
  opacity: 1;
}

/* Native Sneat drawer and lightweight, server-rendered operational charts. */
.layout-menu { display:flex; flex-direction:column; overflow:hidden !important; }
.layout-menu .menu-inner { flex:1 1 auto; min-height:0; height:auto; overflow-x:hidden !important; overflow-y:auto; }
.layout-overlay { z-index: 1099; }
.layout-menu { z-index: 1100; }

/* A single navigation scroller plus the shared ikWik scrollbar treatment. */
html[data-template^="vertical-menu-template"] body,
html[data-template^="vertical-menu-template"] body * {
  scrollbar-color: #009f77 #fff;
  scrollbar-width: auto;
}

html[data-template^="vertical-menu-template"] ::-webkit-scrollbar {
  width: 15px;
  height: 15px;
}

html[data-template^="vertical-menu-template"] ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 0;
}

html[data-template^="vertical-menu-template"] ::-webkit-scrollbar-thumb {
  background: #009f77;
  border: 4px solid #fff;
  border-radius: 0;
}

html[data-template^="vertical-menu-template"] ::-webkit-scrollbar-thumb:hover {
  background: #32d6a4;
}

html[data-template^="vertical-menu-template"] .ps__rail-y {
  width: 15px !important;
  inline-size: 15px !important;
  background: #fff;
  box-shadow: inset 0 0 5px grey;
  border-radius: 0;
}

html[data-template^="vertical-menu-template"] .ps__thumb-y {
  width: 15px !important;
  inline-size: 15px !important;
  right: 0 !important;
  background: #009f77 !important;
  border: 4px solid #fff;
  border-radius: 0 !important;
}

html[data-template^="vertical-menu-template"] .ps__rail-y:hover > .ps__thumb-y,
html[data-template^="vertical-menu-template"] .ps__rail-y.ps--clicking > .ps__thumb-y {
  background: #32d6a4 !important;
}

@media screen and (max-width:500px) {
  html[data-template^="vertical-menu-template"] ::-webkit-scrollbar { display:none; width:0; height:0; }
  html[data-template^="vertical-menu-template"] body,
  html[data-template^="vertical-menu-template"] body * { scrollbar-width:none; }
  html[data-template^="vertical-menu-template"] .ps__rail-x,
  html[data-template^="vertical-menu-template"] .ps__rail-y { display:none !important; }
}
.admin-account, .admin-account-label, .navbar-nav-right { min-width: 0; }
.admin-account-label { overflow-wrap: anywhere; }
.admin-user-profile-photo { width:90px; height:90px; max-width:100%; margin-right:auto; object-fit:cover; border:1px solid var(--bs-border-color); border-radius:.75rem; }
.admin-theme-toggle { color: var(--bs-body-color); }
.layout-navbar .admin-theme-toggle { margin-inline-end: 1.5rem; }
.admin-theme-toggle:hover, .admin-theme-toggle:focus { color: var(--ikwik-primary); }
.admin-profile-dropdown { min-width: 18rem; }
.admin-profile-dropdown .dropdown-item-text { cursor: default; padding: .75rem 1rem; }
.admin-profile-dropdown .dropdown-item:focus, .admin-profile-dropdown .dropdown-item:hover { color: var(--ikwik-primary); }
.navbar-dropdown{position:relative}.navbar-dropdown>.admin-profile-dropdown{position:absolute;top:calc(100% + .5rem);left:auto!important;right:0!important;transform:none!important;margin:0!important;width:min(18rem,calc(100vw - 1.5rem));max-width:calc(100vw - 1.5rem);min-width:0}.admin-user-actions .dropdown{position:relative}.admin-user-actions .dropdown>.dropdown-menu{position:absolute;top:calc(100% + .25rem);left:0!important;right:auto!important;transform:none!important;margin:0!important;width:min(18rem,calc(100vw - 1.75rem));max-width:calc(100vw - 1.75rem);min-width:0}
.admin-theme-notice { bottom: 1rem; box-shadow: 0 .5rem 1.5rem rgba(67, 89, 113, .2); margin: 0; max-width: 24rem; position: fixed; right: 1rem; z-index: 1200; }
.admin-vertical-table > :not(caption) > * > * { padding: .85rem 1.25rem; vertical-align: top; }
.admin-vertical-table th { background: #f8faf9; color: #697a8d; font-size: .75rem; font-weight: 600; text-transform: capitalize; width: 31%; }
.overview-banner { background: linear-gradient(120deg, var(--ikwik-primary), #173c38); color: white; border-radius: 1rem; padding: 1.5rem; }
.overview-banner p { color: #edf7f4; }
.overview-banner h1 { color: white; }
.chart-row { margin-block: 1rem; }
.chart-track { height: 0.7rem; border-radius: 1rem; background: #eef0f3; overflow: hidden; }
.chart-fill { display: block; height: 100%; border-radius: inherit; background: var(--ikwik-primary); }
.chart-fill.chart-blue { background: #3877b9; }
.chart-fill.chart-amber { background: #a56809; }
.chart-fill.chart-red { background: #c34455; }
.chart-caption { color: #697a8d; font-size: 0.85rem; }
.overview-metric { border-top: 3px solid var(--ikwik-primary); }
.overview-metric .metric-value { font-size: 2rem; }

/* Dashboard: adapts Sneat's card rhythm and chart treatment to ikWik's colour system. */
.admin-welcome-card {
  background: linear-gradient(135deg, var(--ikwik-primary), #117d68 58%, #16453e);
  border: 0;
  box-shadow: 0 0.5rem 1.25rem color-mix(in srgb, var(--ikwik-primary) 24%, transparent);
  overflow: hidden;
  position: relative;
}
.admin-welcome-card::after {
  background: color-mix(in srgb, white 15%, transparent);
  border-radius: 50%;
  content: '';
  height: 15rem;
  position: absolute;
  right: -5rem;
  top: -8rem;
  width: 15rem;
}
.admin-welcome-card .card-body { min-height: 15.1rem; position: relative; z-index: 1; }
.admin-welcome-card p { color: rgba(255, 255, 255, 0.82); max-width: 24rem; }
.admin-eyebrow { color: rgba(255, 255, 255, 0.75); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-refresh-button {
  --bs-btn-color: #242424;
  --bs-btn-bg: #eeeeee;
  --bs-btn-border-color: #d4d4d4;
  --bs-btn-hover-color: #171717;
  --bs-btn-hover-bg: #dddddd;
  --bs-btn-hover-border-color: #bdbdbd;
  --bs-btn-active-color: #171717;
  --bs-btn-active-bg: #cccccc;
  --bs-btn-active-border-color: #aaaaaa;
  --bs-btn-focus-shadow-rgb: 180, 180, 180;
  font-weight: 600;
}
.admin-welcome-icon { color: rgba(255, 255, 255, 0.2); font-size: 5.25rem; line-height: 1; }
.admin-highlight-card,
.admin-counter-card { color: inherit; text-decoration: none; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.admin-highlight-card:hover,
.admin-counter-card:hover { box-shadow: 0 0.35rem 1rem rgba(67, 89, 113, 0.16); color: inherit; transform: translateY(-2px); }
.admin-icon-tile { align-items: center; border-radius: 0.7rem; display: inline-flex; flex: 0 0 auto; height: 2.8rem; justify-content: center; width: 2.8rem; }
.admin-icon-tile i { font-size: 1.45rem; line-height: 1; }
.admin-icon-tile-primary { background: color-mix(in srgb, var(--ikwik-primary) 14%, white); color: var(--ikwik-primary); }
.admin-icon-tile-blue { background: #e9f2ff; color: #2876c7; }
.admin-icon-tile-amber { background: #fff4df; color: #c27a00; }
.admin-icon-tile-danger { background: #ffe8e8; color: #d44f5b; }
.admin-chart-card .card-body { min-height: 20.4rem; }
.admin-chart { min-height: 17rem; }
.admin-radial-chart { min-height: 15rem; }
.admin-pulse-list .list-group-item { border-color: #edf0f2; color: inherit; padding: 0.9rem 1.25rem; }
.admin-pulse-list .list-group-item:hover { background: #fafbfb; color: inherit; }
.admin-pulse-list strong,
.admin-pulse-list small { display: block; }
.admin-pulse-list small { color: #697a8d; font-size: 0.78rem; margin-top: 0.15rem; }
.admin-counter-card .metric-value { font-size: 1.75rem; }
.apexcharts-canvas .apexcharts-tooltip { border: 0 !important; box-shadow: 0 0.25rem 0.8rem rgba(67, 89, 113, 0.16); }
@media (max-width: 575.98px) {
  .admin-welcome-card .card-body { min-height: auto; }
  .admin-chart-card .card-body { min-height: 18rem; }
  .admin-chart { min-height: 15rem; }
  .admin-pulse-list .list-group-item { padding-inline: 1rem; }
}

/* Sneat-style record tables and confirm dialogs. */
.admin-data-card { overflow: hidden; }
.admin-data-table { margin-bottom: 0 !important; }
.admin-data-table > :not(caption) > * > * { padding: 1rem 0.9rem; vertical-align: middle; }
.admin-data-table thead th { background: #f8faf9; color: #697a8d; font-size: 0.72rem; letter-spacing: .04em; text-transform: uppercase; }
.admin-data-table tbody tr { transition: background-color .15s ease; }
.admin-data-table tbody tr:hover { background: color-mix(in srgb, var(--ikwik-primary) 4%, white); }
.admin-status-badge { background: color-mix(in srgb, var(--ikwik-primary) 13%, white); color: var(--ikwik-primary); font-size: .7rem; font-weight: 600; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; vertical-align: middle; white-space: nowrap; }
.dataTables_wrapper { padding: 0 1.25rem 1.25rem; }
.dataTables_wrapper .dataTables_filter { margin-bottom: 1rem; }
.dataTables_wrapper .dataTables_filter input { border: 1px solid #d9dee3; border-radius: .45rem; margin-left: .5rem; min-width: 14rem; padding: .45rem .75rem; }
.dataTables_wrapper .dataTables_length select { border: 1px solid #d9dee3; border-radius: .45rem; margin-inline: .35rem; padding: .35rem 1.8rem .35rem .55rem; }
.dataTables_wrapper .pagination { gap: .25rem; margin: 1rem 0 0; }
.dataTables_wrapper .page-item .page-link { border: 0; border-radius: .4rem; color: #697a8d; min-width: 2rem; text-align: center; }
.dataTables_wrapper .page-item.active .page-link { background: var(--ikwik-primary); color: #fff; }
.admin-modal-open { overflow: hidden; }
.admin-modal-backdrop { align-items: center; background: rgba(35, 52, 70, .46); display: none; inset: 0; justify-content: center; padding: 1rem; position: fixed; z-index: 1200; }
.admin-modal-backdrop.is-open { display: flex; }
.admin-modal-card { background: #fff; border-radius: .75rem; box-shadow: 0 1rem 3rem rgba(35, 52, 70, .28); max-width: 32rem; overflow: hidden; width: 100%; }
.admin-modal-header, .admin-modal-footer { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem; }
.admin-modal-header { border-bottom: 1px solid #edf0f2; }
.admin-modal-footer { border-top: 1px solid #edf0f2; justify-content: flex-end; }
.admin-modal-body { padding: 1.25rem; }
.admin-offcanvas { background: rgba(35, 52, 70, .35); display: none; inset: 0; position: fixed; z-index: 1200; }
.admin-offcanvas.is-open { display: block; }
.admin-offcanvas-panel { background: #fff; box-shadow: -1rem 0 3rem rgba(35, 52, 70, .22); height: 100%; margin-left: auto; max-width: 34rem; overflow-y: auto; width: min(100%, 34rem); }
.admin-offcanvas-header { align-items: flex-start; border-bottom: 1px solid #edf0f2; display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem; }
.admin-offcanvas-body { padding: 1.25rem; }

/* Match the MobileKit charcoal surfaces while retaining Sneat component tokens. */
html[data-bs-theme="dark"] {
  --bs-body-bg: #1a1a1a;
  --bs-body-bg-rgb: 26, 26, 26;
  --bs-paper-bg: #292929;
  --bs-paper-bg-rgb: 41, 41, 41;
  --bs-menu-bg: #292929;
  --bs-menu-bg-rgb: 41, 41, 41;
  --bs-navbar-bg: #292929;
  --bs-body-color: #dedede;
  --bs-body-color-rgb: 222, 222, 222;
  --bs-heading-color: #f5f5f5;
  --bs-secondary-color: #b5b5b5;
  --bs-secondary-color-rgb: 181, 181, 181;
  --bs-secondary-bg: #383838;
  --bs-secondary-bg-rgb: 56, 56, 56;
  --bs-tertiary-bg: #333333;
  --bs-tertiary-bg-rgb: 51, 51, 51;
  --bs-border-color: #404040;
  --bs-base-color: #eeeeee;
  --bs-base-color-rgb: 238, 238, 238;
  --bs-menu-color: #dedede;
  --bs-menu-hover-color: #ffffff;
  --bs-navbar-box-shadow: 0 0 10px #111111;
}
html[data-bs-theme="dark"] .admin-login { background: var(--bs-body-bg); }
html[data-bs-theme="dark"] .card {
  --bs-card-bg: var(--bs-paper-bg);
  --bs-card-subtitle-color: var(--bs-secondary-color);
}
html[data-bs-theme="dark"] .form-control { --bs-input-border-color: var(--bs-border-color); }
html[data-bs-theme="dark"] .admin-pulse-list .list-group-item:hover { background: #333333; }
html[data-bs-theme="dark"] .metric-label,
html[data-bs-theme="dark"] .admin-pulse-list small { color: var(--bs-secondary-color); }
html[data-bs-theme="dark"] .admin-login-card,
html[data-bs-theme="dark"] .admin-modal-card,
html[data-bs-theme="dark"] .admin-offcanvas-panel { background: var(--bs-body-bg); }
html[data-bs-theme="dark"] .admin-data-table thead th,
html[data-bs-theme="dark"] .admin-vertical-table th { background: rgba(255, 255, 255, .04); color: var(--bs-secondary-color); }
html[data-bs-theme="dark"] .admin-data-table tbody tr:hover { background: rgba(255, 255, 255, .04); }
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select { background: var(--bs-body-bg); border-color: var(--bs-border-color); color: var(--bs-body-color); }
html[data-bs-theme="dark"] .admin-pulse-list .list-group-item { border-color: var(--bs-border-color); }
@media (max-width: 575.98px) {
  .dataTables_wrapper { padding-inline: .75rem; }
  .dataTables_wrapper .dataTables_filter input { min-width: 10rem; }
}
@media (max-width: 575.98px) {
  .admin-account-label { font-size: 0.75rem; }
  .layout-navbar { padding-inline: 0.6rem; }
  .layout-navbar .auth-status { max-width: 8rem; font-size: 0.75rem; }
}

.table-responsive {
  min-height: 11rem;
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  max-width: 17rem;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table td.wrap-cell {
  max-width: 24rem;
  white-space: normal;
}

.status-badge {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail-grid dt {
  color: #697a8d;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.85rem;
  text-transform: uppercase;
}

.detail-grid dd {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.detail-section + .detail-section {
  border-top: 1px solid #e7e7ff;
  margin-top: 1rem;
  padding-top: 1rem;
}

.detail-json {
  background: #f5f5f9;
  border-radius: 0.375rem;
  font-size: 0.78rem;
  max-height: 20rem;
  overflow: auto;
  padding: 0.75rem;
  white-space: pre-wrap;
}

.page-loader {
  align-items: center;
  color: #697a8d;
  display: flex;
  justify-content: center;
  min-height: 14rem;
}

.empty-state {
  color: #697a8d;
  padding: 3rem 1rem;
  text-align: center;
}

#admin-toast-region {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 1100;
}

@media (max-width: 1199.98px) {
  .layout-navbar {
    margin-inline: 0.75rem;
  }

  .ikwik-menu-open .layout-menu {
    transform: translate3d(0, 0, 0);
  }

  .ikwik-menu-open .layout-overlay {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 575.98px) {
  .container-xxl {
    padding-inline: 0.875rem;
  }

  .content-wrapper > .container-xxl {
    padding-top: 1rem !important;
  }

  .admin-table td,
  .admin-table th {
    padding-inline: 0.6rem;
  }
}
.admin-search-modal .admin-modal-card{max-width:36rem;max-height:calc(100dvh - 2rem);overflow-y:auto}
.admin-search-modal .admin-search-results{max-height:14rem;overflow-y:auto;overflow-wrap:anywhere}
.admin-search-modal .admin-search-results a{display:block;padding:.75rem 1rem;border-radius:.375rem}
.admin-search-modal .admin-search-results a:hover,.admin-search-modal .admin-search-results a:focus{background:rgba(0,159,119,.12)}
.admin-notification-modal[hidden]{display:none!important}.admin-notification-modal{position:fixed;z-index:1080;inset:0;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(0,0,0,.55)}.admin-notification-modal__dialog{width:min(100%,34rem);max-height:calc(100vh - 2rem);overflow:auto}.admin-notification-modal .card{border:0}@media(max-width:575.98px){.admin-notification-modal{padding:.75rem;align-items:flex-end}.admin-notification-modal__dialog{width:100%;max-height:calc(100vh - 1.5rem)}}
.support-chat-app{display:flex;min-height:640px;overflow:hidden;background:var(--bs-body-bg)}.support-chat-sidebar{flex:0 0 340px;width:340px;background:var(--bs-body-bg)}.support-chat-search-wrap{padding:1.25rem;border-bottom:1px solid var(--bs-border-color)}.support-chat-search{display:flex;align-items:center;gap:.75rem;width:100%;padding:.6rem .85rem;border:1px solid var(--bs-border-color);border-radius:1rem;color:var(--bs-secondary-color)}.support-chat-search:focus-within{border-color:var(--ikwik-primary);box-shadow:0 0 0 .2rem rgba(0,166,129,.12)}.support-chat-search input{width:100%;border:0;outline:0;background:transparent;color:var(--bs-body-color)}.support-chat-sidebar-body{padding:1.2rem .7rem}.support-chat-list-heading{padding:0 .65rem .7rem;color:var(--ikwik-primary);font-weight:600;font-size:1.05rem}.support-chat-list{display:flex;flex-direction:column;gap:.25rem}.support-chat-contact{display:flex;align-items:center;gap:.75rem;padding:.75rem .65rem;border-radius:.45rem;color:var(--bs-body-color);text-decoration:none}.support-chat-contact:hover{background:rgba(0,166,129,.08);color:var(--bs-body-color)}.support-chat-contact.active{background:var(--ikwik-primary);box-shadow:0 .25rem .75rem rgba(0,166,129,.28);color:#fff}.support-chat-avatar{flex:0 0 auto}.support-chat-avatar .avatar-initial{display:grid;place-items:center;width:2.4rem;height:2.4rem;background:rgba(0,166,129,.14);color:var(--ikwik-primary);font-weight:700}.support-chat-contact.active .avatar-initial{background:rgba(255,255,255,.2);color:#fff}.support-chat-admin-avatar .avatar-initial{background:var(--ikwik-primary);color:#fff}.support-chat-contact-copy{min-width:0;flex:1}.support-chat-contact-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.support-chat-contact-row strong,.support-chat-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-chat-contact-row .badge{background:var(--bs-danger);color:#fff}.support-chat-preview{display:block;margin-top:.16rem;color:var(--bs-secondary-color);font-size:.825rem}.support-chat-contact.active .support-chat-preview{color:rgba(255,255,255,.86)}.support-chat-empty-list{padding:1rem .65rem;margin:0;color:var(--bs-secondary-color);font-size:.875rem}.support-chat-history{display:flex;min-width:0;flex:1;flex-direction:column;background:var(--bs-tertiary-bg)}.support-chat-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:84px;padding:1rem 1.5rem;border-bottom:1px solid var(--bs-border-color);background:var(--bs-body-bg)}.support-chat-status-form{flex:0 0 112px}.support-chat-messages{flex:1;min-height:0;height:510px;overflow-y:auto;padding:1.5rem;background:var(--bs-tertiary-bg)}.support-chat-messages .chat-history-message{display:flex;align-items:flex-end;gap:.75rem;max-width:78%;margin-bottom:1.25rem}.support-chat-messages .chat-history-message-right{margin-left:auto;justify-content:flex-end}.chat-history-message-content{min-width:0}.support-chat-bubble{display:inline-block;padding:.75rem 1rem;border-radius:.5rem;background:var(--bs-body-bg);box-shadow:0 .125rem .375rem rgba(0,0,0,.08);white-space:pre-wrap;overflow-wrap:anywhere}.chat-history-message-right .support-chat-bubble{background:var(--ikwik-primary);color:#fff}.support-chat-bubble img{display:block;max-width:260px;max-height:260px;border-radius:.35rem}.support-chat-message-time{margin-top:.25rem}.chat-history-message-right .support-chat-message-time{text-align:right}.support-chat-composer-wrap{padding:1rem 1.5rem;border-top:1px solid var(--bs-border-color);background:var(--bs-body-bg)}.support-chat-composer{display:flex;align-items:center;gap:.35rem;padding:.35rem .4rem .35rem 1rem;border-radius:.55rem;background:var(--bs-tertiary-bg)}.support-chat-composer .form-control{min-width:0;background:transparent;box-shadow:none}.support-chat-composer .btn-icon{padding:.5rem .6rem}.support-chat-no-conversation{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--bs-secondary-color);text-align:center}.support-chat-empty-icon{display:grid;place-items:center;width:7.5rem;height:7.5rem;border-radius:50%;background:rgba(0,166,129,.12);color:var(--ikwik-primary);font-size:3rem}@media(max-width:991px){.support-chat-app{flex-direction:column;min-height:auto}.support-chat-sidebar{flex:0 0 auto;width:100%;border-right:0!important;border-bottom:1px solid var(--bs-border-color)}.support-chat-sidebar-body{max-height:310px;overflow-y:auto}.support-chat-messages{height:460px}.support-chat-header{padding:1rem}.support-chat-composer-wrap{padding:1rem}.support-chat-messages .chat-history-message{max-width:92%}}@media(max-width:575px){.support-chat-search-wrap{padding:1rem}.support-chat-sidebar-body{padding:.8rem .45rem}.support-chat-messages{padding:1rem;height:420px}.support-chat-status-form{flex-basis:96px}.support-chat-header{gap:.6rem}.support-chat-bubble img{max-width:190px}.support-chat-composer{padding-left:.65rem}}
