:root {
  --brand-purple: #5b2a86;
  --brand-pink: #e0398a;
  --brand-gradient: linear-gradient(135deg, #5b2a86 0%, #e0398a 100%);
  --sidebar-bg: #1c1533;
  --sidebar-active: #2a2050;
  --sidebar-muted: #a99fc4;
  --page-bg: #f4f5fb;
  --card-radius: 16px;
  --card-surface: #ffffff;
  --green: #1fbf75;
  --orange: #ff9f2d;
  --red: #ef4b5f;
  --blue: #6c63ff;
  --text-dark: #1f2233;
  --text-muted: #8a8fa3;
  --text-white: #ffffff;
  --template-border-soft: #e8e5f0;
  --template-border-strong: #dcd8e8;
  --template-border-accent: #e9d8fd;
  --template-surface-soft: #faf7ff;
  --template-surface-muted: #f6eeff;
  --template-surface-accent: #f0e9ff;
  --template-accent-strong: #a873ee;
  --template-accent-deep: #7b32d3;
  --template-text-soft: #77718d;
  --template-text-strong: #302a49;
  --template-text-contrast: #1e1b4b;
  --template-muted-2: #716b82;
  --template-placeholder-soft: #8b879d;
  --font-family-base: "Inter", sans-serif;
  --font-size10: 11px;
  --font-size11: 11px;
  --font-size12: 11px;
  --font-size13: 13px;
  --font-size13-5: 13.5px;
  --font-size14: 14px;
  --font-size14-5: 14.5px;
  --font-size15: 15px;
  --font-size16: 16px;
  --font-size17: 17px;
  --font-size19: 19px;
  --font-size20: 20px;
  --font-size24: 24px;
  --font-size32: 32px;
  --font-size34: 34px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--page-bg);
  color: var(--text-dark);
}
p {
  font-size: 12px;
  color: var(--sidebar-muted);
}
/* ---------- Inline SVG icon system ---------- */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.filled {
  fill: currentColor;
  stroke: none;
}

/* ---------- Sidebar ---------- */
.sidebar {
  background: var(--sidebar-bg);
  min-height: 100vh;
  width: 250px;
  padding: 0px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 1030;
  transition: transform .3s ease;
}

.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px;
  padding: 6px;
  background-color: #f4f5fb;
  justify-content: center;
}

.sidebar .brand img {
  max-width: 174px;
  height: 60px;
}

.sidebar-inner {
  padding: 20px;
}

.sidebar .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
}

.sidebar .brand-text {
  line-height: 1.1;
}

.sidebar .brand-text .name {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  letter-spacing: .5px;
}

.sidebar .brand-text .tag {
  font-size: 9.5px;
  color: var(--sidebar-muted);
  letter-spacing: .3px;
}

.btn-send-sms {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14.5px;
  width: 100%;
  text-decoration: none;
}

.btn-send-sms:hover {
  color: #fff;
  opacity: .92;
}

.nav-scroll {
  flex: 1;
  overflow: auto;
  max-height: calc(100vh - 322px);
  min-height: calc(100vh - 322px);
}

.nav-scroll::-webkit-scrollbar {
  width: 4px;
}

.nav-scroll::-webkit-scrollbar-thumb {
  background: #3a2f5c;
  border-radius: 4px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfc9e0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2px;
}

.side-link .icon {
  font-size: 16px;
  flex-shrink: 0;
}

.side-link:hover {
  background: #241b3f;
  color: #fff;
}

.side-link.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 600;
}

.side-link .chev {
  margin-left: auto;
  font-size: 12px;
  transition: transform .2s;
}

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

.submenu {
  padding-left: 30px;
}

.submenu .side-link {
  font-size: 13.5px;
  font-weight: 400;
  color: #b7b0d1;
  padding: 8px 10px;
}

.submenu .side-link.active {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.help-card {
  background: linear-gradient(160deg, #2a2050, #241b3f);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}

.help-card p {
  font-size: 12px;
  color: var(--sidebar-muted);
  margin-bottom: 12px;
}

.help-card h6 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.btn-support {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  padding: 9px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-wrapper {
  padding: 24px;
  padding-top: 90px;
}

/* ---------- Main content ---------- */
.main-wrap {
  margin-left: 250px;
  padding: 0;
  transition: margin-left .3s ease;
}

/* desktop collapse (triggered by hamburger) */
.sidebar.collapsed {
  transform: translateX(-100%);
}

.main-wrap.expanded {
  margin-left: 0;
}

.expanded .topbar {
  width: 100%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 14px 20px;
  position: fixed;
  max-width: 100%;
  width: calc(100% - 250px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 11;
}

.burger-btn {
  border: none;
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececf4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .05);
  color: var(--text-dark);
  font-size: 19px;
}

.icon-btn .badge-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--page-bg);
}

.credits-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .05);
}

.credits-pill .icon {
  color: var(--brand-pink);
  font-size: 17px;
}

.avatar-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .05);
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
}

h1.page-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.page-sub {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

/* channel tabs */
.channel-tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .05);
}

.channel-tabs .tab-btn {
  border: none;
  background: transparent;
  padding: 9px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.channel-tabs .tab-btn.active {
  background: var(--brand-gradient);
  color: #fff;
}

.date-range {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 2px 6px rgba(20, 10, 60, .05);
}

.date-range .icon {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

.date-range .seg {
  font-size: 12px;
  color: var(--text-muted);
}

.date-range .seg strong {
  display: block;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.date-range .seg-lbl {
  display: block;
}

/* clickable date fields */
.seg-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 8px;
  transition: background .15s;
}

.seg-field:hover {
  background: #f6f5fb;
}

.date-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

/* notification dropdown */
.notif-menu {
  width: 320px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 10, 60, .14);
  padding: 8px 0;
}

.notif-header {
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px 10px;
  color: var(--text-dark);
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  white-space: normal;
}

.notif-item:hover {
  background: #f6f5fb;
}

.notif-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.notif-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.notif-time {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* profile dropdown */
.profile-menu {
  width: 230px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 10, 60, .14);
  padding: 10px 0;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 10px;
}

.profile-menu .dropdown-item {
  font-size: 13.5px;
  padding: 9px 16px;
}

.profile-menu .dropdown-item:hover {
  background: #f6f5fb;
}

/* stat cards */
.stat-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(20, 10, 60, .05);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 2px;
}

.stat-card .value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-card .delta {
  font-size: 12.5px;
  font-weight: 600;
}

.bg-icon-sent {
  background: var(--blue);
}

.bg-icon-delivered {
  background: var(--green);
}

.bg-icon-pending {
  background: var(--orange);
}

.bg-icon-failed {
  background: var(--red);
}

/* panels */
.panel {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(20, 10, 60, .05);
}

.panel-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.legend-item .lbl {
  font-size: 13px;
  color: var(--text-muted);
}

.legend-item .val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.panel.recharge-history {
  padding: 0px;
}

.panel.recharge-history .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 0px;
}

.table thead th {
  color: #212121;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  background-color: #f5f5f5;
  padding: 16px 20px;
}

.table tbody td {
  font-size: 13.5px;
  padding: 14px 20px;
  border-bottom: 1px solid #f2f2f6;
  vertical-align: middle;
  color: var(--text-dark);
}

.pay-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f4f5fb;
  color: var(--text-dark);
}

.btn-outline-brand {
  border: 1px solid #e6e2f2;
  color: var(--brand-purple);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  background: #fff;
}

/* mobile */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1020;
}

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .main-wrap {
    margin-left: 0;
    padding: 16px;
  }

  .sidebar-backdrop.show {
    display: block;
  }
}

@media (max-width: 575.98px) {
  h1.page-title {
    font-size: 24px;
  }

  .date-range {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ============================================================
   Delivery Reports page
   ============================================================ */

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-trail .icon {
  font-size: 11px;
  color: var(--text-muted);
}

/* Quick / Smart / Bulk / Schedule tabs */
.report-tabs {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.report-tab-btn {
  border: none;
  background: transparent;
  padding: 0 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.report-tab-btn.active {
  color: var(--brand-purple);
}

.report-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* Form fields */
.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.field-label .desc {
  font-size: 12px;
  font-weight: normal;
  color: var(--sidebar-muted);
  margin-bottom: 8px;
}

.live-preview {
  background: rgb(255 255 255 / 48%);
}

.field-input {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e6f0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-dark);
  background: #fff;
  justify-content: space-between;
}

input.field-input {
  display: block;
}

.field-input::placeholder {
  color: #b3b3c2;
}

.field-input:focus,
input.field-input:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(91, 42, 134, .1);
}

.field-input .icon {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

/* date field inside filter panel (dd-mm-yyyy) */
.date-field {
  position: relative;
  cursor: pointer;
}

.date-field .date-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

input.field-checkbox {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    padding: 0;
    border: 1px solid #e6e6f0;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;

    display: inline-grid;
    place-items: center;
    vertical-align: middle;
    flex-shrink: 0;
}

input.field-checkbox:checked {
    background: var(--brand-purple);
    border-color: var(--brand-purple);
}

input.field-checkbox:checked::before {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 0;
}

input.field-checkbox:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 42, 134, 0.1);
}

/* status custom select */
.status-dropdown {
  width: 100%;
}

.status-select {
  justify-content: space-between;
  cursor: pointer;
}

.status-menu {
  width: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 10, 60, .14);
  padding: 8px 0;
  max-height: 280px;
  overflow-y: auto;
}

.status-item {
  font-size: 13.5px;
  padding: 9px 16px;
  color: var(--text-dark);
}

.status-item:hover {
  background: #f6f5fb;
}

/* submit / reset buttons */
.btn-submit {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset {
  background: #fff;
  border: 1px solid #e6e6f0;
  color: var(--text-dark);
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* table toolbar (show entries + search) */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.show-entries {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.entries-select {
  border: 1px solid #e6e6f0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13.5px;
}

.table-search {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap input {
  border: 1px solid #e6e6f0;
  border-radius: 8px;
  padding: 8px 34px 8px 12px;
  font-size: 13.5px;
  width: 220px;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--brand-purple);
}

.search-input-wrap .icon {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

/* reports table */
.reports-table {
  font-size: 13.5px;
}

.reports-table thead th {
  background-color: #642b86;
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  border: none;
  padding: 12px 14px;
  white-space: nowrap;
}

.reports-table thead th:first-child {
  border-top-left-radius: 10px;
}

.reports-table thead th:last-child {
  border-top-right-radius: 10px;
}

.reports-table tbody td {
  padding: 14px;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid #f2f2f6;
  white-space: nowrap;
}

.text-truncate-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* status badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.badge-delivered {
  background: #e4f9ee;
  color: var(--green);
}

.badge-undelivered {
  background: #fde8ea;
  color: var(--red);
}

.badge-expired {
  background: #fdf1e0;
  color: var(--orange);
}

.badge-dnd {
  background: #e7ecfe;
  color: #4f5fee;
}

.badge-clicked {
  background: #f1e9fb;
  color: var(--brand-purple);
}

.badge-pending {
  background: #fdf1e0;
  color: var(--orange);
}

.badge-rejected {
  background: #f1f1f4;
  color: #6a6a7a;
}

.badge-others {
  background: #f1f1f4;
  color: #6a6a7a;
}

.detail-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e6e6f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.detail-btn:hover {
  background: #f6f5fb;
}

.detail-btn .icon {
  font-size: 16px;
}

/* table footer / pagination */
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.entries-info {
  font-size: 13px;
  color: var(--text-muted);
}

.pagination-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.page-btn {
  border: 1px solid #e6e6f0;
  background: #fff;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

.page-btn.active {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
}

.page-btn:disabled {
  color: #c7c7d4;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .table-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-input-wrap input {
    width: 100%;
  }

  .table-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Send SMS / Create Campaign page
   ============================================================ */

.select-native {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
  max-width: 380px;
}

.btn-import {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f1fb;
  color: var(--brand-purple);
  border: 1px solid #e6ddf7;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13.5px;
}

.import-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 10, 60, .14);
  padding: 8px 0;
}

.import-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.import-item:hover {
  background: #f6f5fb;
}

.import-item .icon {
  color: var(--brand-purple);
  font-size: 16px;
}

.btn-validate {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #e6e6f0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13.5px;
}

textarea.field-input.recipients-textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
  line-height: 1.6;
}

.numbers-added {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-purple);
}

.add-template-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #e6e6f0;
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-template-btn:hover {
  background: #f6f5fb;
}

/* toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #dcdce6;
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.toggle-switch input:checked+.toggle-slider {
  background: var(--brand-gradient);
}

.toggle-switch input:checked+.toggle-slider::before {
  transform: translateX(18px);
}

.smart-sms-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px dashed #d8d8e6;
  border-radius: 12px;
  padding: 26px 16px;
  text-align: center;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 600;
  background: #fafafd;
}

.upload-dropzone:hover {
  border-color: var(--brand-purple);
  background: #f6f4fc;
}

.upload-dropzone .icon {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.upload-dropzone.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  border-color: #e0e0e0;
  background: #f5f5f5;
  color: #999;
  pointer-events: none;
}

.upload-dropzone.disabled .icon {
  color: #aaa;
}

.upload-dropzone.disabled .upload-hint {
  color: #aaa;
}

.upload-dropzone .upload-hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
}

.url-shortener-row {
  display: flex;
  gap: 10px;
}

.url-shortener-row .field-input {
  flex: 1;
}

.url-shortener-row .field-input:disabled {
  background-color: #f5f5f5;
  color: #999;
  border-color: #ddd;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-shorten {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.shortener-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.shortener-note .icon {
  font-size: 14px;
  flex-shrink: 0;
}

.btn-shorten:disabled {
  background: #e5e5e5;
  color: #999;
  border: none;
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.btn-shorten:disabled .icon {
  opacity: 0.6;
}

.shortener-note.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

.message-preview-box {
  background: #f4f5fb;
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dark);
  white-space: pre-line;
}

.char-counter {
  font-size: 12.5px;
  color: var(--text-muted);
}

.char-counter strong {
  color: var(--green);
}

.sms-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.sms-count .icon {
  font-size: 14px;
}

.btn-send-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-weight: 600;
  font-size: 14px;
}

.btn-schedule-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--brand-purple);
  border: 1.5px solid var(--brand-purple);
  border-radius: 10px;
  padding: 13px;
  font-weight: 600;
  font-size: 14px;
}

.summary-item.summary-border {
  border-right: 1px solid #d6caca;
  padding-right: 30px;
}

/* Live preview phone mockup */
.preview-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.phone-mockup {
  background: #0e0e16;
  border-radius: 34px;
  padding: 12px;
  max-width: 260px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(20, 10, 60, .18);
  height: 540px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0e0e16;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 10px 18px 2px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  border-radius: 22px 22px 0 0;
}

.phone-status-icons {
  display: flex;
  gap: 4px;
  color: #000;
}

.phone-header {
  background: #fff;
  padding: 8px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f4;
}

.phone-header .icon {
  font-size: 16px;
  color: #0e0e16;
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.phone-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d8d8e6;
}

.phone-contact-name {
  font-size: 12px;
  font-weight: 700;
  color: #0e0e16;
  display: flex;
  align-items: center;
  gap: 2px;
}

.phone-msg-label {
  background: #fff;
  text-align: center;
  font-size: 9.5px;
  color: var(--text-muted);
  padding: 6px 0 10px;
  line-height: 1.4;
}

.phone-screen {
  background: #fff;
  min-height: 348px;
  padding: 0 14px 14px;
}

.chat-bubble {
  background: #e9e9ef;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 12px 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #0e0e16;
  max-width: 92%;
}

.phone-input-row {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 14px;
  border-radius: 0 0 22px 22px;
}

.phone-plus,
.phone-send-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-plus {
  background: #f0f0f4;
  color: var(--text-muted);
}

.phone-send-btn {
  background: var(--brand-purple);
  color: #fff;
}

.phone-plus .icon,
.phone-send-btn .icon {
  font-size: 13px;
}

.phone-text-input {
  flex: 1;
  background: #f0f0f4;
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.preview-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 30px 0 0;
}

/* Campaign summary */
.summary-row {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.summary-icon-purple {
  background: #f1e9fb;
  color: var(--brand-purple);
}

.summary-icon-pink {
  background: #fde8ef;
  color: var(--brand-pink);
}

.summary-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
}

.summary-label {
  font-size: 12.5px;
  color: var(--text-muted);
}

.summary-footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  padding-top: 24px;
  margin: 0;
  text-align: center;
}

@media (max-width: 767.98px) {
  .url-shortener-row {
    flex-direction: column;
  }

  .btn-shorten {
    padding: 12px;
  }
}

/* ============================================================
   Login page
   ============================================================ */
.login-body {
  background: linear-gradient(135deg, #eef0fb 0%, #f7eef7 50%, #eef4fb 100%);
  min-height: 100vh;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0px 60px;
  max-width: 1500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.login-left {
  flex: 1 1 520px;
  min-width: 320px;
}

.login-hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  text-align: center;
}

.login-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 14px;
  margin: 10px auto;
  text-align: center;
}

.hero-underline {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: var(--brand-gradient);
  margin-bottom: 40px;
  margin: 10px auto 30px;
}

.hero-illustration {
  position: relative;
  /*max-width: 360px;*/
  max-width: 500px;
  height: 300px;
  margin: 0 auto;
}

.mock-dashboard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 10, 60, .12);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mock-topbar {
  background: var(--sidebar-bg);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-pink {
  background: var(--brand-pink);
}

.dot-line {
  width: 24px;
  background: #4a3f70;
  border-radius: 4px;
}

.mock-body {
  display: flex;
  min-height: 260px;
}

.mock-sidebar {
  background: var(--sidebar-bg);
  width: 44px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mock-side-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #3a2f5c;
}

.mock-side-dot.active {
  background: var(--brand-gradient);
}

.mock-list {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2ddf5;
  flex-shrink: 0;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: #eceaf5;
  flex: 1;
}

.mock-line.short {
  flex: 0 0 60px;
}

.mock-charts {
  width: 130px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid #f0f0f5;
}

.mock-sparkline {
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(100deg, transparent 40%, rgba(108, 99, 255, .12) 60%, transparent 80%),
    repeating-linear-gradient(120deg, transparent 0 10px);
  position: relative;
}

.mock-sparkline::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 48%, rgba(108, 99, 255, .5) 50%, transparent 52%);
  clip-path: polygon(0 70%, 20% 55%, 40% 65%, 60% 30%, 80% 45%, 100% 15%, 100% 100%, 0 100%);
  background-color: rgba(108, 99, 255, .12);
}

.mock-donut {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--brand-pink) 0 30%, var(--brand-purple) 30% 60%, #eceaf5 60% 100%);
  position: relative;
}

.mock-donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 50%;
}

.floating-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(20, 10, 60, .14);
  z-index: 2;
}

.badge-whatsapp {
  background: #25d366;
  color: #fff;
  top: 0;
  left: 0;
}

.badge-send {
  background: #fff;
  color: var(--brand-pink);
  top: -6px;
  right: 40px;
  border: 2px dashed #f4c9dd;
}

.badge-users {
  background: #fff;
  color: var(--brand-purple);
  bottom: 120px;
  left: 0;
  border: 2px dashed #d8c7ee;
}

.chat-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(20, 10, 60, .12);
  padding: 14px 16px;
  z-index: 2;
  font-size: 12.5px;
}

.chat-card-whatsapp {
  top: 70px;
  left: -10px;
  width: 160px;
}

.chat-card-text {
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 12.5px;
}

.chat-card-time {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-card-rcs {
  bottom: -30px;
  left: -10px;
  width: 190px;
}

.chat-card-sms {
  bottom: -60px;
  right: -10px;
  width: 190px;
}

.chat-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-rcs {
  background: #4f5fee;
}

.avatar-sms {
  background: var(--brand-purple);
}

.chat-card-body {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #1f2233;
  flex-shrink: 0;
}

.chat-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
}

.login-right {
  flex: 0 1 460px;
  min-width: 320px;
}

.login-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(20, 10, 60, .1);
  text-align: center;
}

.login-lock-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #eee9fb;
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.login-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.login-card form {
  text-align: left;
}

.login-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6e6f0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}

.login-input-wrap:focus-within {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(91, 42, 134, .1);
}

.login-input-wrap .icon {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}

.login-input-wrap input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13.5px;
  color: var(--text-dark);
}

.login-input-wrap input::placeholder {
  color: #b3b3c2;
}

.pw-toggle {
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  font-size: 16px;
  padding: 0;
}

.btn-login {
  width: 100%;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}

.lost-password {
  display: block;
  margin-top: 22px;
  font-size: 13px;
  color: var(--brand-purple);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .login-page {
    padding: 40px 24px;
  }

  .hero-illustration {
    min-height: 380px;
  }
}

@media (max-width: 767.98px) {
  .login-page {
    flex-direction: column;
  }

  .login-hero-title {
    font-size: 30px;
  }

  .hero-illustration {
    margin: 0 auto;
  }

  .login-card {
    padding: 34px 24px;
  }
}

/* ============================================================
   Lost Password modal (login page)
   ============================================================ */
.lost-pw-modal {
  border: none;
  border-radius: 20px;
  padding: 40px 40px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(20, 10, 60, .25);
}

.lost-pw-modal .login-lock-icon {
  margin: 0 auto 18px;
}

.lost-pw-modal .login-sub {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.lost-pw-modal form {
  text-align: left;
  max-width: 100%;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f4f4f8;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.modal-close-btn:hover {
  background: #e9e9f0;
}

.modal-backdrop.show {
  opacity: .55;
}

.brand-icon {
  max-width: 180px;
  position: absolute;
  top: 30px;
}

.has-error{
	color: red;
	font-size:12px;
	margin-top: 0px;
	display: none;
	text-align: left;
	margin-bottom: 10px;
}

.text-purple {
    color: #6f42c1 !important;
	
}

.spinner-border {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.15em;
    --bs-spinner-animation-speed: 0.75s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
	
}

.login-spinCls {
    display: none;
    text-align: left;
}

.login-spinCls .spinner-border {
    vertical-align: middle;
    margin-right: 6px;
}

.login-spinCls .please-wait {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}

/* Profile Table */

.profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.profile-table th {
    width: 30%;
    background-color: #6f2c91;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}

.profile-table td {
    width: 70%;
    background-color: #fff;
    color: #222;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}
.profile-table tr:first-child th {
    border-top-left-radius: 10px;
}

.profile-table tr:last-child th {
    border-bottom-left-radius: 10px;
}

/* Profile Table */

.action-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.action-buttons a {
    display: inline-flex;
    flex: 0 0 auto;
}

.dropdown-toggle::after {
	display: none !important;
}

.btn-primary {
	background: var(--brand-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--brand-purple);
    border: 1.5px solid var(--brand-purple);
    border-radius: 10px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 14px;
}

/*Datatable Custom Css Start Here*/

/* =====================================================
   DATATABLE CONTAINER
===================================================== */

.dt-container {
    width: 100%;
}


/* =====================================================
   DATATABLE TOP ROW
===================================================== */

.dt-container .dt-layout-row:first-child {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}


/* =====================================================
   SHOW ENTRIES
===================================================== */

.dt-container .dt-length {
    display: flex !important;

    align-items: center !important;

    gap: 7px !important;

    margin: 0 !important;

    padding: 0 !important;

    color: var(--text-dark);

    font-size: 13.5px;

    white-space: nowrap;
}


/* "Show" text */

.dt-container .dt-length::before {
    content: "Show";

    display: inline-block;

    color: var(--text-dark);

    font-size: 13.5px;

    font-weight: 400;
}


/* Select */

.dt-container .dt-length select {
    width: 68px !important;

    min-width: 68px !important;

    height: 34px !important;

    margin: 0 !important;

    padding: 4px 26px 4px 11px !important;

    border: 1px solid #e6e6f0 !important;

    border-radius: 8px !important;

    background: #ffffff !important;

    color: var(--text-dark) !important;

    font-size: 13px !important;

    outline: none !important;

    box-shadow: none !important;

    cursor: pointer;
}


/* Select focus */

.dt-container .dt-length select:focus {
    border-color: #e6e6f0 !important;

    outline: none !important;

    box-shadow: none !important;
}


/* Entries label */

.dt-container .dt-length label {
    margin: 0 !important;

    padding: 0 !important;

    color: var(--text-dark) !important;

    font-size: 13.5px !important;

    font-weight: 400 !important;

    line-height: 34px;
}


/* =====================================================
   SEARCH
===================================================== */

.dt-container .dt-search {
    position: relative !important;

    display: flex !important;

    align-items: center !important;

    margin: 0 !important;
}


/* Search label */

.dt-container .dt-search label {
    margin: 0 8px 0 0 !important;

    color: var(--text-dark);

    font-size: 13.5px;

    font-weight: 400;
}


/* Search input */

.dt-container .dt-search input {
    width: 220px !important;

    min-width: 220px !important;

    height: 38px !important;

    margin: 0 !important;

    padding:
        8px
        38px
        8px
        12px !important;

    border:
        1px solid #e6e6f0 !important;

    border-radius: 8px !important;

    background: #ffffff !important;

    color: var(--text-dark) !important;

    font-size: 13.5px !important;

    outline: none !important;

    box-shadow: none !important;
}


/* Search placeholder */

.dt-container .dt-search input::placeholder {
    color: #989daf;

    opacity: 1;
}


/* Search focus */

.dt-container .dt-search input:focus {
    border-color:
        var(--brand-purple) !important;

    box-shadow:
        0 0 0 2px
        rgba(100, 43, 134, 0.05) !important;
}


/* =====================================================
   SEARCH ICON
===================================================== */

/*
   Use this when you append:

   <svg class="search-icon">...</svg>

*/

.dt-container .dt-search .search-icon {
    position: absolute !important;

    right: 12px !important;

    top: 50% !important;

    transform:
        translateY(-50%) !important;

    width: 15px !important;

    height: 15px !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #858ba0;

    pointer-events: none;

    z-index: 10;
}


/* =====================================================
   TABLE
===================================================== */

.dt-container table.dataTable {
    width: 100% !important;

    margin: 0 !important;

    border-collapse:
        separate !important;

    border-spacing: 0;

    font-size: 13.5px;
}


/* =====================================================
   TABLE HEADER
===================================================== */

.dt-container table.dataTable thead th {
    background:
        #642b86 !important;

    color:
        #ffffff !important;

    font-weight: 600;

    font-size: 12.5px;

    padding:
        13px
        14px;

    border: none !important;

    white-space: nowrap;

    vertical-align: middle;
}


/* First header */

.dt-container table.dataTable thead th:first-child {
    border-top-left-radius: 10px;
}


/* Last header */

.dt-container table.dataTable thead th:last-child {
    border-top-right-radius: 10px;
}


/* =====================================================
   REMOVE SORT ICON
===================================================== */

.dt-container table.dataTable thead th::before,
.dt-container table.dataTable thead th::after {
    display: none !important;
}


/* =====================================================
   TABLE BODY
===================================================== */

.dt-container table.dataTable tbody td {
    padding: 14px;

    font-size: 13px;

    color:
        var(--text-dark);

    border-bottom:
        1px solid #f2f2f6 !important;

    white-space: nowrap;

    vertical-align: middle;
}


/* Row */

.dt-container table.dataTable tbody tr {
    background:
        #ffffff !important;
}


/* Row hover */

.dt-container table.dataTable tbody tr:hover {
    background:
        #faf9fc !important;
}


/* =====================================================
   MESSAGE TRUNCATION
===================================================== */

.dt-container .text-truncate-cell {
    display: block;

    max-width: 190px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* =====================================================
   STATUS BADGES
===================================================== */

.dt-container .status-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        4px
        12px;

    border-radius: 20px;

    font-size: 11.5px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* Delivered */

.dt-container .badge-delivered {
    background: #e4f9ee;

    color: var(--green);
}


/* Undelivered */

.dt-container .badge-undelivered {
    background: #fde8ea;

    color: var(--red);
}


/* Expired */

.dt-container .badge-expired {
    background: #fdf1e0;

    color: var(--orange);
}


/* DND */

.dt-container .badge-dnd {
    background: #e7ecfe;

    color: #4f5fee;
}


/* Clicked */

.dt-container .badge-clicked {
    background: #f1e9fb;

    color: var(--brand-purple);
}


/* Pending */

.dt-container .badge-pending {
    background: #fdf1e0;

    color: var(--orange);
}


/* Rejected */

.dt-container .badge-rejected {
    background: #f1f1f4;

    color: #6a6a7a;
}


/* Others */

.dt-container .badge-others {
    background: #f1f1f4;

    color: #6a6a7a;
}


/* =====================================================
   DETAIL BUTTON
===================================================== */

.dt-container .detail-btn {
    width: 34px;

    height: 34px;

    padding: 0;

    border:
        1px solid #e6e6f0;

    border-radius: 8px;

    background:
        #ffffff;

    color:
        var(--text-dark);

    display: inline-flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition:
        all 0.2s ease;
}


.dt-container .detail-btn:hover {
    background:
        #f6f5fb;

    color:
        var(--brand-purple);

    border-color:
        #d8c8e2;
}


.dt-container .detail-btn i {
    font-size: 15px;
}


/* =====================================================
   BOTTOM ROW
===================================================== */

.dt-container .dt-layout-row:last-child {
    margin-top:
        20px !important;
}


/* =====================================================
   INFORMATION
===================================================== */

.dt-container .dt-info {
    padding-top: 7px;

    color:
        var(--text-muted);

    font-size: 13px;
}


/* =====================================================
   PAGINATION
===================================================== */

.dt-container .dt-paging {
    display: flex;

    align-items: center;

    justify-content: flex-end;
}


/* Pagination list */

.dt-container .dt-paging .pagination {
    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0;

    padding: 0;
}


/* =====================================================
   PAGINATION BUTTON
===================================================== */

.dt-container .dt-paging .page-link {
    min-width: 38px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        0
        11px;

    border:
        1px solid #e6e6f0 !important;

    border-radius:
        8px !important;

    background:
        #ffffff !important;

    color:
        var(--text-dark) !important;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        none !important;

    line-height: 1;
}


/* =====================================================
   PREVIOUS
===================================================== */

.dt-container
.dt-paging
.previous
.page-link {
    min-width: 85px;
}


/* =====================================================
   NEXT
===================================================== */

.dt-container
.dt-paging
.next
.page-link {
    min-width: 60px;
}


/* =====================================================
   PAGINATION HOVER
===================================================== */

.dt-container
.dt-paging
.page-link:hover {
    background:
        #f6f5fb !important;

    border-color:
        #d8c8e2 !important;

    color:
        var(--brand-purple) !important;
}


/* =====================================================
   ACTIVE PAGE
===================================================== */

.dt-container
.dt-paging
.page-item.active
.page-link {
    background:
        var(--brand-gradient) !important;

    border-color:
        transparent !important;

    color:
        #ffffff !important;
}


/* =====================================================
   ACTIVE HOVER
===================================================== */

.dt-container
.dt-paging
.page-item.active
.page-link:hover {
    background:
        var(--brand-gradient) !important;

    border-color:
        transparent !important;

    color:
        #ffffff !important;
}


/* =====================================================
   DISABLED
===================================================== */

.dt-container
.dt-paging
.page-item.disabled
.page-link {
    background:
        #ffffff !important;

    border-color:
        #e6e6f0 !important;

    color:
        #c7c7d4 !important;

    cursor:
        not-allowed;
}


/* =====================================================
   ELLIPSIS
===================================================== */

.dt-container
.dt-paging
.ellipsis {
    border:
        none !important;

    background:
        transparent !important;

    color:
        var(--text-muted) !important;

    min-width:
        25px;

    cursor:
        default;
}


/* =====================================================
   PAGINATION FOCUS
===================================================== */

.dt-container
.dt-paging
.page-link:focus {
    box-shadow:
        none !important;
}


/* =====================================================
   EMPTY DATA
===================================================== */

.dt-container
.dt-empty {
    padding:
        30px !important;

    text-align:
        center;

    color:
        var(--text-muted);
}


/* =====================================================
   REMOVE DATATABLE SCROLL STRUCTURE
===================================================== */

/*
   Do NOT force these to display:none.
   Just make sure they don't add unwanted borders.
*/

.dt-container .dt-scroll-head,
.dt-container .dt-scroll-body,
.dt-container .dt-scroll-foot {
    border: none !important;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    /* Top */

    .dt-container
    .dt-layout-row:first-child {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            12px;
    }


    /* Bottom */

    .dt-container
    .dt-layout-row:last-child {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            12px;
    }


    /* Search */

    .dt-container
    .dt-search {

        width:
            100%;
    }


    .dt-container
    .dt-search input {

        width:
            220px !important;

        min-width:
            0 !important;

        max-width:
            100%;
    }


    /* Pagination */

    .dt-container
    .dt-paging {

        justify-content:
            flex-start;
    }


    /* Table */

    .table-responsive {

        overflow-x:
            auto;
    }

    .dt-container
    table.dataTable {

        min-width:
            1100px;
    }

}
/*Data Table Custom CSS End Here*/

/*API Doc CSS Start Here*/
.api-format {
    color: #000000;
    overflow-wrap: anywhere;
    word-break: break-word;

}
.json-body {
    white-space: pre-wrap;
	font-size: 12px;
}
/*API Doc CSS End Here*/
/*Whatsapp CSS Start Here*/  

.borderLine { 
	border-bottom: 1px solid var(--template-border-soft); 
}
.input-wrapper {
    position: relative;
    width: 100%;
}
.input-wrapper > div:first-of-type {
    position: relative;
}
.input-count {
    position: absolute;
    right: 20px;
    top: 70%;
    transform: translateY(-50%);
    font-size: 12px;
	color: var(--sidebar-muted);
    pointer-events: none;
    background: #fff;
}

.select-wrap {
  align-items: center;
  position: relative;
}
.select-wrap .icon {
  color: #312952;
  font-size: var(--font-size16);
  position: absolute;
  left: 10px;
  top: 15px; 
}

.descW {
  display: flex;
  font-size: 12px;
  font-weight: normal;
  color: var(--sidebar-muted);
  margin-bottom: 8px;
}
	
.category-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
}
.category-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  height: auto;
  padding: 7px 9px;
  border: 1px solid var(--template-border-strong);
  border-radius: 7px;
  color: var(--template-text-strong);
  font-size: var(--font-size10);
  cursor: pointer;
  transition: 0.2s;
}
.category-option:hover,
.category-option.selected {
  border-color: var(--template-accent-strong);
  background: var(--template-surface-soft);
}
.category-option .icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 5px;
  background: var(--template-surface-accent);
  color: #6950bf;
  font-size: var(--font-size15);
}
.category-option input {
  position: static;
  width: 14px;
  height: 14px;
  margin: 0 0 0 auto;
  accent-color: var(--template-accent-deep);
  opacity: 1;
  pointer-events: auto;
  flex: 0 0 auto;
}
.category-option span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#categoryTemp {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}


.template-type-accordion {
  width: 100%;
  background-color: var(--card-surface);
  border: 1px solid var(--template-border-accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.05);
}

/* Accordion Header Bar */
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--template-surface-muted);
  border-bottom: 1px solid var(--template-border-accent);
  cursor: pointer;
  user-select: none;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-title {
  /*font-size: 13.5px;*/
  color: #1e1b4b;
  margin-left: -12px;
  font-weight: 700;
}

.header-sub {
  /*color: #6b7280;
  font-weight: 400;
  margin-left: 4px;
  */
  font-size: 12px;
  font-weight: normal;
  color: var(--sidebar-muted);
  
}

.chevron-icon {
  width: 18px;
  height: 18px;
  color: #1e1b4b;
  transition: transform 0.3s ease;
}

.accordion-header.collapsed .chevron-icon {
  transform: rotate(180deg);
}

/* Collapsible Panel */
.accordion-body {
  max-height: 1000px;
  overflow: hidden;
  transition:
    max-height 0.35s ease-in-out,
    opacity 0.25s ease-in-out;
  opacity: 1;
}

.accordion-body.collapsed {
  max-height: 0 !important;
  opacity: 0;
}

.type-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background-color: var(--card-surface);
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}

.type-option:last-child {
  border-bottom: none;
}

.type-option:hover {
  background-color: #faf5ff;
}

.type-option.selected {
  background-color: #fbf7ff;
}

.icon-wrapper {
  width: 36px;
  height: 36px;
  background-color: #f3e8ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.option-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-right: 12px;
}

.option-title {
  font-size: var(--font-size14);
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 2px;
}

.option-desc {
  font-size: 12px;
  font-weight: normal;
  color: var(--sidebar-muted);
}

.type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.type-option input[type="radio"]:checked + .custom-radio {
  border-color: #6b21a8;
  border-width: 5px;
}

.action-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-next {
  background: linear-gradient(135deg, #31006f 0%, #d9006e 100%);
  color: var(--text-white);
  border: none;
  padding: 10px 28px;
  font-size: var(--font-size14);
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(217, 0, 110, 0.25);
  transition:
    opacity 0.2s ease,
    transform 0.1s ease;
}

.btn-next:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

input[readonly] {
	background-color: #fafafd;
	cursor: not-allowed;
}

.field-input[readonly] {
    background: #fafafd;
}

input[disabled] {
	background-color: #fafafd;
	cursor: not-allowed;
}

.field-input[disabled] {
    background: #fafafd;
}
.field-input:disabled,
.field-input[disabled], select:disabled  {
    background-color: #fafafd !important;
    background-image: none !important;
    cursor: not-allowed;
    opacity: 1 !important;
}

.custom-category-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #767086;
  font-size: var(--font-size12);
  right:0px;
}
.custom-category-toggle input {
  accent-color: #7339bb;
}
.custom-category-toggle .icon {
  font-size: var(--font-size14);
}

.custom-inline-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}
.custom-inline-field > label {
  margin: 0;
  white-space: nowrap;
}
.custom-inline-field > label span,
.custom-field > label span {
  color: #80798e;
  font-weight: 500;
}
.custom-inline-field select {
  width: 150px;
}

.custom-link-button,
.custom-more-button {
  padding: 3px 7px;
  border: 0;
  background: #5730b617;
  color: #7132ba;
  font-size: var(--font-size10);
  cursor: pointer;
}
.custom-link-button {
  display: block;
  margin: 4px 0 5px auto;
}
.custom-link-button:hover,
.custom-more-button:hover {
  color: #db308d;
}
.custom-toolbar .custom-link-button {
  margin-left: auto;
  color: #7132ba;
  background: #5730b617;
}
.input-wrapper > div:first-of-type {
    position: relative;
}
.input-count-header {
    position: absolute;
    right: 30px;
    top: 75%;
    transform: translateY(-50%);
    font-size: 12px;
	color: var(--sidebar-muted);
    pointer-events: none;
    background: #fff;
}
.custom-variable-row,
.custom-body-variables > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid #eeeaf4;
  border-radius: 5px;
  background: var(--card-surface);
}
.custom-variable-row span,
.custom-body-variables span {
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0e9fb;
  color: #57309e;
  font-size: var(--font-size10);
  font-weight: 700;
}
.custom-variable-row input,
.custom-body-variables input {
  flex: 1;
  height: 40px;
  border: 1px solid #e4dfeb;
  font-size: var(--font-size10);
}
.custom-textarea-wrap textarea {
  display: block;
  height: 67px;
  resize: vertical;
  padding: 9px;
}
.custom-field > label b {
  color: #b33b87;
}
.custom-count-field,
.custom-textarea-wrap {
  position: relative;
}
.custom-count-field input {
  padding-right: 42px;
}
.custom-count-field span,
.custom-textarea-wrap > span {
  position: absolute;
  right: 8px;
  bottom: 30px;
  color: #736b86;
  font-size: 8px;
}
.custom-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 27px;
  padding: 0 7px;
  border: 1px solid #eeeaf4;
  border-top: 0;
}
.custom-toolbar button {
  border: 0;
  background: transparent;
  color: #5d566d;
  font-size: var(--font-size10);
  cursor: pointer;
}
.custom-toolbar .custom-link-button {
  margin-left: auto;
  color: #7132ba;
  background: #5730b617;
}
.custom-body-variables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 5px;
}
.custom-body-variables > div {
  min-width: 0;
  gap: 4px;
  padding: 4px;
}
.custom-body-variables input {
  min-width: 0;
  padding: 0 4px;
}
.custom-icon-button {
  border: 0;
  background: transparent;
  color: #8e8798;
  font-size: var(--font-size12);
}
.custom-more-button {
  padding-left: 8px;
}
.custom-field .custom-wide-select {
  max-width: 245px;
}
.custom-outline-button {
  display: block;
  width: 245px;
  height: 35px;
  margin-top: 5px;
  border: 1px dashed #d9cde9;
  border-radius: 5px;
  background: var(--card-surface);
  color: #6730ae;
  font-size: var(--font-size14);
}
.custom-outline-button:hover {
  border-color: #a36be0;
  background: #faf6ff;
}

.input-count-footer {
    position: absolute;
    right: 30px;
    top: 70%;
    transform: translateY(-50%);
    font-size: 12px;
	color: var(--sidebar-muted);
    pointer-events: none;
    background: #fff;
}

.custom-validity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 6px;
  border-top: 1px solid #eeeaf4;
}
.custom-validity label {
  margin-bottom: 3px;
}
.custom-meta-field label, .custom-field > label, .custom-inline-field > label, .custom-validity label {
    display: block;
    margin: 0 0 5px;
    color: #30294a;
    font-size: var(--font-size13);
    font-weight: 800;
}
.custom-validity small {
  display: block;
  max-width: 480px;
  color: #817b91;
  font-size: 8px;
}
.custom-switch {
  position: relative;
  width: 31px;
  height: 17px;
  flex: 0 0 auto;
}
.custom-switch input {
  position: absolute;
  opacity: 0;
}
.custom-switch span {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: #d3d1df;
  cursor: pointer;
}
.custom-switch span::after {
    content: "";
    position: absolute;
    top: 2.5px;
    left: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--card-surface);
    transition: transform 0.2s;
}
.custom-switch input:checked + span {
  background: #8b5cf6;
}
.custom-switch input:checked + span::after {
  transform: translateX(14px);
}
.custom-validity-select {
  width: 205px;
  height: 40px;
  margin-bottom: 6px;
}
/*Carousel CSS Start Here*/
/* ==========================================
   MAIN SECTION
========================================== */

.carousel-section {
	max-width: 1100px;
	margin: auto;
	background: #fff;
	border: 1px solid #e6e6f0;
	border-radius: 12px;
	padding: 20px;
}
/* ==========================================
   SECTION HEADER
========================================== */
.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.section-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}
/* ==========================================
   CARD AREA
   HIDDEN BY DEFAULT
========================================== */
.carousel-slider-wrapper {
	display: none;
}
/* ==========================================
   SLIDER
========================================== */
.carousel-slider {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.carousel-cards-wrapper {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}
.carousel-cards {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	padding: 50px 2px 15px;
	scrollbar-width: none;
	
}
.carousel-cards::-webkit-scrollbar {
	display: none;
}
/* ==========================================
   CARD
========================================== */
.carousel-card {
	flex: 0 0 360px;
	width: 360px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e6e6f0;
	border-radius: 10px;
	padding: 18px;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.05);
}
/* ==========================================
   CARD HEADER
========================================== */
.carousel-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 18px;
	border-bottom: 1px solid #e6e6f0;
}
.card-title {
	font-size: 14px;
	font-weight: 600;
}
/* ==========================================
   BODY COUNTER
========================================== */
.body-counter {
	display: block;
	text-align: right;
	font-size: 11px;
	color: #777;
	margin-top: 4px;
}
/* ==========================================
   VARIABLES
========================================== */
.carousel-body-variables {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}
.custom-variable-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.variable-name {
	min-width: 48px;
	padding: 7px 8px;
	background: #f1f1f1;
	border-radius: 5px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
}

/* ==========================================
   ACTION BUTTONS
========================================== */
.card-action-buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.button-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	border: 1px solid #e6e6f0;
	border-radius: 7px;
	background: #fafafa;
}
.empty-message {
	font-size: 12px;
	color: #888;
	padding: 5px 0;
}
/* ==========================================
   ARROWS
========================================== */
.carousel-arrow {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border: 1px solid #e6e6f0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s;
}
.carousel-arrow:hover:not(:disabled) {
	background: #f0f0f0;
}
.carousel-arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
/* ==========================================
   MOBILE
========================================== */
@media (max-width: 768px) {
	.carousel-section {
		padding: 15px;
	}
	.carousel-card {
		flex: 0 0 85vw;
		width: 85vw;
	}
	.carousel-arrow {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		font-size: 22px;
	}
}
.craouselBoxCounter{
	float: right; 
	color: #736b86;
	font-size: 8px;
	margin-top:2px;
}
.carouselMediaDiv
{
	display: none;
}
/*Carousel CSS End Here*/
.custom-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}
.custom-details-grid p {
  margin: 0;
  color: #4a4160;
  font-size: var(--font-size12);
  line-height: 1.45;
}
.custom-details-grid b {
  display: block;
  color: #817b91;
  font-size: var(--font-size12);
  font-weight: 600;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.details-grid p {
  margin: 0;
  padding-left: 10px;
  border-left: 2px solid #7d2e87;
  color: #372e53;
  font-size: var(--font-size10);
  line-height: 1.5;
}
.details-grid b {
  display: block;
  color: #827b90;
  font-size: var(--font-size12);
  font-weight: 600;
}

.custom-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid #eeeaf4;
}
.custom-previous,
.custom-submit {
   border: none;
  padding: 10px 28px;
  font-size: var(--font-size14);
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-submit {
  background: linear-gradient(135deg, #31006f 0%, #d9006e 100%);
  color: var(--text-white);
  border: none;
  padding: 10px 28px;
  font-size: var(--font-size14);
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(217, 0, 110, 0.25);
  transition:
    opacity 0.2s ease,
    transform 0.1s ease;
}
.custom-previous {
  border: 1px solid #e1dce9;
  color: #635b72;
  background: var(--card-surface);
}
.custom-previous:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.custom-submit {
  border: 0;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
}
.custom-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
/*Whatsapp CSS Start Here*/

.mb-5{
	margin-bottom: 2rem !important;
}

.message-content {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    vertical-align: top;
    line-height: 1.4;
    padding: 6px 8px;
    min-width: 300px;
}


/*Responsive CSS Start Here*/
@media (max-width: 767.98px) {
    .brand-icon {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
		
    }
	.login-left .brand.mb-3 {
		margin-bottom: 4rem !important;
	}
	.login-left{
		height: 400px;
	}
	.topbar {
        width: 100%;
        left: 0;
        right: 0;
		top: 0;
        padding: 12px 15px;
        gap: 10px;
    }
	
	.visitor-ip-pill {
        display: none;
    }
}
/*Responsive CSS End Here*/


/*Select2 CSS Start Here*/
/* Apply to all Select2 controls using the custom styling */
.select2-container.custom-select2 {
    width: 100% !important;
    max-width: 380px;
    flex: 1 1 auto;
    min-width: 0;
    font-family: inherit;
    box-sizing: border-box;
}

/* Match the existing .field-input style */
.custom-select2 .select2-selection--single {
    /*height: auto;*/
    min-height: 44px;
    border: 1px solid #e6e6f0;
    border-radius: 10px;
    padding: 0;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

/* Selected text */
.custom-select2 .select2-selection__rendered {
    padding: 12px 38px 12px 14px;
    line-height: 18px;
    font-size: 13.5px;
    color: var(--text-dark);
}

/* Hide default arrow */
.custom-select2 .select2-selection__arrow {
    display: none;
}

/* Search field */
.select2-container--default .select2-search--dropdown .select2-search__field {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #e6e6f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
}

/* Dropdown options */
.select2-container--default .select2-results__option {
    padding: 9px 14px;
    font-size: 13.5px;
}

/* Dropdown popup */
.select2-container--default .select2-dropdown {
    border: 1px solid #e6e6f0;
    border-radius: 10px;
    overflow: hidden;
}

/* Restore default selection background */
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #ddd !important;
    color: #333 !important;
}

/* Restore default hover/highlight color */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb !important;
    color: #fff !important;
}

/*Select2 CSS End Here*/