/* Amar storefront — mint bg, utility bar #052D91 + cream buttons, brand blue, red login */
:root {
  --amar-brand: #052d91;
  --amar-brand-dark: #031d5c;
  --amar-brand-mid: #0847b8;
  --amar-topbar-bg: #052d91;
  --amar-topbar-btn: #fff8ef;
  --amar-topbar-btn-text: #111111;
  --amar-bg-mint: #f0f9f6;
  --amar-red-cta: #e53935;
  --amar-red-cta-hover: #c62828;
}

/* Homepage: soft mint page background */
.amar-home-body.primary-bg-color {
  background-color: var(--amar-bg-mint) !important;
}

.amar-home-body .master-breadcrumb {
  display: none;
}

.amar-home-body #site-header {
  box-shadow: 0 1px 0 rgba(5, 45, 145, 0.06);
}

/* Keep the main Amarhoster navigation visible while scrolling. */
#site-header {
  top: 0;
  z-index: 1040;
  background: #fff;
  box-shadow: 0 1px 0 rgba(5, 45, 145, 0.06);
}

body.amar-fixed-public-header #site-header,
body.amar-fixed-client-header .amar-client-header-v2 {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 100070;
  background: #fff;
  box-shadow: 0 4px 18px rgba(5, 45, 145, 0.12);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.amar-hide-home-search {
  display: none !important;
}

/*
 * Amarhoster mobile breakpoint CSS targets body.has-mobile-menu (see wpex-mobile-menu-breakpoint-*.css).
 * Without it, desktop nav + hamburger both stay visible.
 */
#site-header-inner {
  position: relative;
}

@media screen and (max-width: 959px) {
  body.has-mobile-menu #site-navigation-wrap.hide-at-mm-breakpoint {
    display: none !important;
  }

  body.has-mobile-menu #mobile-menu.show-at-mm-breakpoint {
    display: block !important;
  }

  /* Logo + absolute-right menu icons: reserve space so nothing clips off-screen */
  #site-header-inner.container {
    padding-left: 12px;
    padding-right: 96px;
    box-sizing: border-box;
  }

  #site-logo {
    max-width: 100%;
  }

  #site-logo .logo-img,
  #site-logo-link .logo-img {
    max-width: min(72vw, 260px);
    width: auto;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
  }

  #mobile-menu.wpex-absolute {
    right: 8px;
    max-width: calc(100% - 16px);
  }

  /* Full-screen mobile menu panel: above content, hamburger stays on header */
  #site-header {
    z-index: 100070;
  }

  nav.mobile-toggle-nav.wpex-mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    /* Content starts below stacked top bar + toolbar + header (approx) */
    padding-top: calc(env(safe-area-inset-top, 0px) + 100px);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-sizing: border-box !important;
    z-index: 100060 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
  }

  nav.mobile-toggle-nav.wpex-mobile-menu:not(.visible) {
    display: none !important;
    pointer-events: none !important;
  }

  nav.mobile-toggle-nav.wpex-mobile-menu.visible {
    display: block !important;
    pointer-events: auto !important;
  }

  nav.mobile-toggle-nav.wpex-mobile-menu .mobile-toggle-nav-inner.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 2rem;
    box-sizing: border-box;
  }

  /* Explicit close control (injected by amar-mobile-menu.js) */
  .amar-mobile-menu-close-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 10px;
    padding: 6px 0 10px;
    position: sticky;
    top: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 85%, transparent);
  }

  .amar-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 2px solid var(--amar-brand);
    border-radius: 50%;
    background: #fff;
    color: var(--amar-brand);
    font-family: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .amar-mobile-menu-close:hover,
  .amar-mobile-menu-close:focus {
    background: var(--amar-brand);
    color: #fff;
    outline: none;
  }

  .amar-mobile-menu-close-icon {
    display: block;
    margin-top: -3px;
    font-weight: 300;
  }

  body.wpex-theme.amar-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media screen and (min-width: 960px) {
  body.has-mobile-menu #mobile-menu.show-at-mm-breakpoint {
    display: none !important;
  }

  body.has-mobile-menu #site-navigation-wrap.hide-at-mm-breakpoint {
    display: block !important;
  }
}

/* WHMCS strip above Amarhoster mega menu */
.amar-main-nav-toolbar {
  background: #f4ffec;
  border-bottom: 1px solid rgba(5, 45, 145, 0.06);
  font-size: 16px;
}

.amar-whmcs-account-bar + .amar-main-nav-toolbar {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/*
 * Top bar — Amarhoster style.css sets html{font-size:62.5%} so rem ≈ 10px.
 * Do NOT use rem here or buttons/text shrink (~9px). Use px.
 */
#top-bar-wrap {
  background-color: #052d91 !important;
  border-color: #052d91 !important;
  font-size: 16px;
}

#top-bar-wrap .vcex-multi-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

#top-bar-wrap .theme-button {
  display: inline-block;
  padding: 10px 18px;
  font-family: "Hind Siliguri", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none !important;
  border-radius: 5px;
}

#top-bar-wrap .theme-button.flat.white {
  color: #111 !important;
  background: #fff6d7 !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

#top-bar-wrap .theme-button.flat.white:hover {
  background: #fff !important;
  color: #052d91 !important;
}

.wpex-text-sm {
  font-size: 14px;
}

/* id #top-bar-wrap beats .wpex-text-sm so bar stays 16px base */
.textcenter {
  text-align: center;
}

/* Red panel login (reference) */
.amar-panel-login {
  background: var(--amar-red-cta) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.45rem 1.25rem !important;
  border-radius: 8px !important;
  line-height: 1.25;
}

.amar-panel-login:hover {
  background: var(--amar-red-cta-hover) !important;
  color: #fff !important;
}

.navbar-brand {
  font-weight: 800;
  color: var(--amar-brand) !important;
}

/* Landing wrapper */
.amar-landing {
  padding-bottom: 2rem;
}

/* Hero H1 sizes — matches saved index inline rule for vcex heading */
.amar-landing .amar-ah-hero-h1 .vcex-heading-inner {
  font-size: 42px !important;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .amar-landing .amar-ah-hero-h1 .vcex-heading-inner {
    font-size: 30px !important;
  }
}

.amar-landing .amar-ah-flag-strip {
  margin-top: 10px;
}

/* Hero — two columns, mint strip (no heavy gradient) */
.amar-hero-split {
  padding: 2.5rem 0 1rem;
  background: linear-gradient(180deg, #f5fcf9 0%, var(--amar-bg-mint) 100%);
}

.amar-hero-art {
  max-width: 520px;
}

.amar-hero-svg {
  filter: drop-shadow(0 12px 28px rgba(5, 45, 145, 0.08));
}

.amar-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--amar-brand);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.amar-hero-lead {
  font-size: 1.05rem;
  color: #3d4f58;
  margin-bottom: 0.65rem;
}

.amar-hero-sub {
  font-size: 0.98rem;
  color: #5a656b;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.amar-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.amar-flag {
  display: inline-flex;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(5, 45, 145, 0.1);
}

.amar-flag img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.amar-btn-primary {
  background: var(--amar-brand) !important;
  border-color: var(--amar-brand) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.55rem 1.35rem !important;
  border-radius: 8px !important;
}

.amar-btn-primary:hover {
  background: var(--amar-brand-dark) !important;
  border-color: var(--amar-brand-dark) !important;
  color: #fff !important;
}

.amar-domain-wrap {
  margin-top: 0.5rem;
}

.amar-domain-wrap .domainchecker-homepage {
  margin-bottom: 0;
}

.amar-section-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--amar-brand);
}

.amar-section-lead {
  color: #5a656b;
  margin-bottom: 1.5rem;
}

.amar-product-card {
  border: 1px solid #e8eef0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}

.amar-product-card:hover {
  box-shadow: 0 8px 24px rgba(5, 45, 145, 0.12);
  transform: translateY(-2px);
}

.amar-product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amar-brand);
}

.amar-product-card p {
  color: #5a656b;
  font-size: 0.92rem;
  min-height: 3rem;
}

.amar-product-card .btn-primary {
  background-color: var(--amar-brand);
  border-color: var(--amar-brand);
}

.amar-product-card .btn-primary:hover {
  background-color: var(--amar-brand-dark);
  border-color: var(--amar-brand-dark);
}

.amar-testimonial {
  border-left: 4px solid var(--amar-brand);
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  height: 100%;
  box-shadow: 0 2px 12px rgba(5, 45, 145, 0.06);
}

.amar-testimonial .quote {
  font-size: 0.95rem;
  color: #444;
}

.amar-testimonial .meta {
  font-size: 0.85rem;
  color: var(--amar-brand);
  font-weight: 600;
  margin-top: 0.75rem;
}

.amar-guarantee {
  background: linear-gradient(90deg, var(--amar-brand-mid), var(--amar-brand));
  color: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
}

.amar-guarantee h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.amar-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-left: 0 !important;
}

.amar-features li {
  list-style: none;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
}

.amar-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--amar-brand);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Mobile & tablet responsive (overrides Amarhoster fixed 1200px .container)
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body.wpex-theme img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1199.98px) {
  body.wpex-theme .container,
  body.wpex-theme #site-header-inner.container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  body.wpex-theme.boxed-main-layout #wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  #footer .container,
  .master-breadcrumb .container {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 991.98px) {
  section#main-body > .container-fluid,
  section#main-body > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .amar-landing .vc_row.vc_row-flex {
    flex-wrap: wrap !important;
  }

  .amar-landing .vc_row .wpb_column.vc_col-md-6,
  .amar-landing .vc_row .wpb_column.vc_col-sm-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .amar-landing .vc_column-inner {
    margin-bottom: 1rem;
  }

  /* Hero CTAs: row + justify-start overflows right edge on tablets — stack full-width */
  .amar-landing .vcex-multi-buttons {
    justify-content: stretch !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .amar-landing .vcex-multi-buttons .theme-button {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    word-break: break-word;
  }

  /* Top utility buttons — one horizontal row (equal thirds) */
  #top-bar-wrap .vcex-multi-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 6px !important;
    max-width: 100%;
  }

  #top-bar-wrap .theme-button {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    max-width: none;
    box-sizing: border-box;
    text-align: center;
    padding: 9px 5px !important;
    font-size: clamp(11px, 3.1vw, 15px) !important;
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }

  .amar-main-nav-toolbar .form-inline {
    width: 100%;
    margin-right: 0 !important;
  }

  .amar-main-nav-toolbar .input-group.search {
    width: 100%;
    max-width: 100%;
  }

  .amar-main-nav-toolbar .form-control {
    min-width: 0;
    flex: 1 1 auto;
  }

  .amar-guarantee {
    padding: 1.35rem;
    border-radius: 0.5rem;
  }

  .amar-features {
    grid-template-columns: 1fr;
  }

  .amar-product-card p {
    min-height: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .amar-landing .vc_custom_1641477437596 {
    padding-top: 48px !important;
    padding-bottom: 40px !important;
  }

  .amar-landing .amar-ah-hero-h1 .vcex-heading-inner {
    font-size: 26px !important;
    word-break: break-word;
  }

  .amar-landing .amar-ah-flag-strip {
    justify-content: center;
  }

  .amar-section-title,
  .amar-guarantee h2 {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }

  .action-icon-btns .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .action-icon-btns a {
    font-size: 0.75rem;
    padding: 0.65rem 0.35rem;
    word-break: break-word;
  }

  table.table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================================
   CLIENT AREA — Header (logged-in)
   ========================================================================== */
.amar-client-header {
  background: #fff;
  border-bottom: 1px solid #e8eef2;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.amar-client-header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 24px;
}
.amar-client-logo img {
  height: 38px;
  object-fit: contain;
}
.amar-client-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 12px;
}
.amar-client-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
  font-family: 'Hind Siliguri', sans-serif;
}
.amar-client-nav-item:hover {
  background: #f1f5f9;
  color: var(--amar-brand);
}
.amar-client-nav-item.active {
  color: var(--amar-brand);
  background: #eff6ff;
}
.amar-client-nav-item i {
  font-size: 15px;
}

/* SVG Nav Icons */
.amar-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.amar-nav-icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Mobile nav icon alignment fix */
.amar-client-mob-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hot badge on Affiliate nav */
.amar-nav-hot {
  position: relative;
}
.amar-hot-badge {
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  line-height: 1;
}

/* Green Ticket button */
.amar-client-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #22c55e;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background .15s;
  white-space: nowrap;
  font-family: 'Hind Siliguri', sans-serif;
  margin-left: 4px;
}
.amar-client-nav-btn:hover {
  background: #16a34a;
  color: #fff;
}
.amar-client-nav-btn .amar-nav-icon {
  stroke: #fff;
}

/* Mobile ticket button */
.amar-mob-ticket {
  background: #22c55e;
  color: #fff !important;
  border-radius: 6px;
}
.amar-mob-ticket .amar-nav-icon-sm {
  stroke: #fff;
}
.amar-mob-ticket:hover {
  background: #16a34a !important;
}

.amar-client-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.amar-client-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: none;
  border: 1px solid #e8eef2;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s;
  position: relative;
  white-space: nowrap;
}
.amar-client-icon-btn:hover {
  background: #f1f5f9;
  color: var(--amar-brand);
}
.amar-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.amar-client-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #1a1a2e;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background .15s;
}
.amar-client-avatar-btn:hover {
  background: #f1f5f9;
}
.amar-client-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e8eef2;
  object-fit: cover;
}
.amar-client-user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a2e;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══ CLIENT HEADER V2 - Screenshot Layout ═══ */
.amar-client-header-v2 {
  background: #fff;
  border-bottom: 1px solid #e8eef2;
  padding: 12px 0 0;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(5, 45, 145, 0.06);
}
.amar-client-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.amar-client-logo-v2 img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.amar-client-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.amar-client-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  text-decoration: none !important;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.amar-client-action-link:hover {
  color: var(--amar-brand);
}
.amar-action-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.amar-notif-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}
.amar-client-user-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.amar-client-avatar-v2 {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e8eef2;
  object-fit: cover;
}
.amar-client-names {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.amar-client-firstname {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-transform: uppercase;
}
.amar-client-lastname {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
}

/* Nav Row - Stacked Icon+Text */
.amar-client-nav-v2 {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}
.amar-nav-item-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  position: relative;
}
.amar-nav-item-v2:hover {
  color: var(--amar-brand);
}
.amar-nav-item-v2.active {
  color: var(--amar-brand);
  border-bottom-color: var(--amar-brand);
}
.amar-nav-icon-v2 {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.amar-nav-hot-v2 {
  position: relative;
}
.amar-nav-hot-v2 .hot-badge {
  background: #22c55e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: super;
}
.amar-nav-btn-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 18px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #22c55e;
  text-decoration: none !important;
  border-radius: 4px 4px 0 0;
  margin-left: 8px;
}
.amar-nav-btn-v2:hover {
  background: #16a34a;
  color: #fff;
}
.amar-nav-btn-v2 .amar-nav-icon-v2 {
  stroke: #fff;
}

/* Mobile responsive */
@media screen and (max-width: 991.98px) {
  .amar-client-nav-v2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
  }
  .amar-nav-item-v2 {
    padding: 8px 12px 12px;
    white-space: nowrap;
    min-width: 60px;
  }
  .amar-nav-btn-v2 {
    padding: 8px 14px 12px;
  }
}
@media screen and (max-width: 575.98px) {
  .amar-client-top-actions {
    gap: 12px;
  }
  .amar-client-action-link span {
    display: none;
  }
  .amar-client-names {
    display: none;
  }
}

/* Hide old client header elements when new v2 is active */
.amar-client-header-v2 ~ .amar-client-logo-bar,
.amar-client-header-v2 ~ .amar-client-mobile-nav {
  display: none !important;
}

/* ═══ PREMIUM BREADCRUMB ═══ */
.master-breadcrumb {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #e8eef2;
  padding: 14px 0;
}
.master-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.master-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #94a3b8;
  font-size: 16px;
  padding: 0 8px;
  font-weight: 300;
}
.master-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none !important;
  font-weight: 500;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.master-breadcrumb .breadcrumb-item a:hover {
  color: var(--amar-brand);
}
.master-breadcrumb .breadcrumb-item a i,
.master-breadcrumb .breadcrumb-item a svg {
  width: 14px;
  height: 14px;
}
.master-breadcrumb .breadcrumb-item.active {
  color: #1a1a2e;
  font-weight: 600;
}
.master-breadcrumb .breadcrumb-item:first-child a {
  color: var(--amar-brand);
  font-weight: 600;
}
.master-breadcrumb .breadcrumb-item:first-child a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

/* Breadcrumb in client area */
section#main-body .master-breadcrumb {
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #e8eef2;
  background: #fff;
  padding: 12px 20px;
}

/* Mobile breadcrumb */
@media screen and (max-width: 575.98px) {
  .master-breadcrumb {
    padding: 10px 0;
    font-size: 12px;
  }
  .master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 4px;
    font-size: 14px;
  }
  section#main-body .master-breadcrumb {
    padding: 10px 14px;
    margin-bottom: 16px;
  }
}

/* Homepage notice (Site Customizer → Homepage tab) */
.portal-home-notice-wrap {
  margin-bottom: 8px;
}
.portal-home-notice-inner {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.portal-home-notice-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  line-height: 0;
}
.portal-home-notice-link:hover {
  opacity: 0.94;
}
.portal-home-notice-text {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
  font-family: 'Hind Siliguri', 'Open Sans', sans-serif;
}
.portal-home-notice-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Generic footer line (hook-driven; class names are non-descriptive on purpose) */
.amar-site-logo-fallback-wrap {
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.82;
}
.amar-site-logo-fallback-wrap .amar-site-logo-fallback a {
  color: inherit;
  text-decoration: none;
}
.amar-site-logo-fallback-wrap .amar-site-logo-fallback a:hover,
.amar-site-logo-fallback-wrap .amar-site-logo-fallback a:focus {
  text-decoration: underline;
  opacity: 1;
}

/* Homepage notice modal — responsive + visible close control */
.portal-home-notice-modal {
  /* Above WPEX/Lagom chrome; fixed positioning must not be clipped by #main-body ancestors */
  z-index: 10050 !important;
}
body > .modal-backdrop.show {
  z-index: 10040 !important;
}
.portal-home-notice-modal .portal-home-notice-dialog {
  width: auto;
  max-width: calc(100vw - 1rem);
  margin: 0.5rem auto;
  /* Avoid zero-height flex quirks on iOS when dialog was nested inside main-body */
  min-height: 0;
}
@media (min-width: 576px) {
  .portal-home-notice-modal .portal-home-notice-dialog {
    max-width: min(800px, calc(100vw - 2rem));
    margin: 1.75rem auto;
  }
}
.portal-home-notice-modal-content {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 44px;
}
@media screen and (max-width: 575.98px) {
  .portal-home-notice-modal .portal-home-notice-modal-body {
    max-height: min(85vh, 900px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.portal-home-notice-close {
  position: absolute;
  top: max(8px, env(safe-area-inset-top, 0px));
  right: max(8px, env(safe-area-inset-right, 0px));
  z-index: 1060;
  padding: 0 !important;
  margin: 0 !important;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.97) !important;
  color: #0f172a !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(15, 23, 42, 0.12);
}
.portal-home-notice-close:hover,
.portal-home-notice-close:focus {
  color: #020617 !important;
  background: #fff !important;
  opacity: 1 !important;
}
.portal-home-notice-modal .portal-home-notice-modal-body {
  padding: 0;
}
.portal-home-notice-inner--modal {
  margin: 0;
}
.portal-home-notice-modal .portal-home-notice-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 720px);
  object-fit: contain;
  vertical-align: middle;
}

/* =============================================================================
   Site footer — mega layout (AmarHoster Site Customizer → Footer)
   ============================================================================= */
.footer.amar-site-footer {
  --amar-footer-accent: #38bdf8;
  --amar-footer-link: #7dd3fc;
  --amar-footer-muted: rgba(203, 213, 225, 0.78);
  margin-top: auto;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, #0f172a 0%, #0c1524 42%, #070d18 100%);
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}

.footer.amar-site-footer .amar-footer-inner {
  padding-top: 2.75rem;
  padding-bottom: 1.5rem;
}

.amar-footer-mega-active .amar-footer-inner {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.amar-footer-lang-row .amar-footer-lang-sep {
  opacity: 0.45;
}

.amar-footer-mega-active .amar-footer-lang-row {
  padding-bottom: 1rem;
  margin-bottom: 2rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.amar-footer-custom {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.amar-footer-custom-html {
  font-size: 15px;
}

.amar-footer-custom-html p:last-child {
  margin-bottom: 0;
}

.amar-footer-custom-html a {
  color: var(--amar-footer-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.amar-footer-custom-html a:hover {
  color: #fff;
}

.amar-footer-grid {
  padding-bottom: 0.25rem;
}

.amar-footer-col-brand .amar-footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.amar-footer-tagline {
  color: var(--amar-footer-accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.amar-footer-desc {
  font-size: 0.92rem;
  color: var(--amar-footer-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.amar-footer-location {
  font-size: 0.9rem;
  color: var(--amar-footer-accent);
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-weight: 600;
}

.amar-footer-location i {
  margin-top: 0.2rem;
  opacity: 0.95;
}

.amar-footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.amar-footer-heading::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--amar-footer-accent);
}

.amar-footer-linklist li {
  margin-bottom: 0.45rem;
}

.amar-footer-linklist li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--amar-footer-muted);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.12rem 0;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.amar-footer-linklist li a::before {
  content: '\203A';
  font-weight: 900;
  color: var(--amar-footer-accent);
  font-size: 1.05rem;
  line-height: 1;
}

.amar-footer-linklist li a:hover {
  color: #fff;
}

.amar-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.amar-footer-contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--amar-footer-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.amar-footer-contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.amar-footer-contact-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.55);
  text-transform: uppercase;
}

.amar-footer-contact-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
  word-break: break-word;
}

a.amar-footer-contact-value {
  text-decoration: none;
  color: var(--amar-footer-link);
}

a.amar-footer-contact-value:hover {
  color: #fff;
}

.amar-footer-social-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.88);
}

.amar-footer-social-icons.list-inline {
  margin-bottom: 0;
}

.footer.amar-site-footer .amar-footer-social-icons .btn-icon {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--amar-footer-accent);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.15rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer.amar-site-footer .amar-footer-social-icons .btn-icon:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.5);
}

.amar-footer-social-icons .list-inline-item:not(:last-child) {
  margin-right: 0.35rem;
}

.amar-footer-mini-nav .nav-link {
  color: var(--amar-footer-muted);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
}

.amar-footer-mini-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.amar-footer-lang-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: inherit !important;
  border-radius: 999px !important;
  padding: 0.48rem 1.05rem !important;
  font-size: 15px !important;
  font-weight: 600;
  vertical-align: middle;
}

.amar-footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.amar-footer-bottom {
  padding-top: 1.75rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.amar-footer-mega-active .amar-footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
}

.amar-footer-mega-active .amar-footer-bottom.amar-footer-f7-bottom {
  text-align: inherit;
}

.footer.amar-site-footer .copyright {
  font-size: 13px;
  color: var(--amar-footer-muted);
  letter-spacing: 0.02em;
}

.amar-footer-legal {
  font-size: 12px;
  color: var(--amar-footer-muted);
  line-height: 1.7;
}

.amar-footer-legal a {
  color: var(--amar-footer-link);
  font-weight: 600;
  text-decoration: none;
}

.amar-footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.amar-footer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

.amar-footer-payments img {
  height: 26px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(1) brightness(1.85);
  transition: opacity 0.15s ease;
}

.amar-footer-payments img:hover {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .amar-footer-col-contact {
    margin-top: 0.5rem;
  }
}

/* Mega footer — Footer-7 / shadcn-style layout (Smarty + CSS, no React) */
.amar-footer-f7 .wpex-flex {
  display: flex;
}

.amar-footer-f7 .wpex-flex-grow {
  flex: 1 1 auto;
  min-width: 0;
}

.amar-footer-f7 .wpex-mb-5 {
  margin-bottom: 0.65rem !important;
}

.amar-footer-f7 .wpex-mr-15 {
  margin-right: 0.75rem !important;
}

.amar-footer-f7 {
  padding: 2.5rem 0 1rem;
}

.amar-footer-f7-inner {
  max-width: 100%;
}

/* Main row: brand block | link sections (matches Footer7 lg:flex-row) */
.amar-footer-f7-split {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .amar-footer-f7-split {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}

.amar-footer-f7-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1 1 auto;
  max-width: 100%;
}

@media (min-width: 992px) {
  .amar-footer-f7-brand {
    flex: 0 1 34%;
    max-width: 420px;
  }
}

.amar-footer-f7-brand-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.amar-footer-f7-about > .wpex-mb-10 img,
.amar-footer-f7-about img:first-of-type {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 3rem;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.amar-footer-f7-about > p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.75rem;
  max-width: 70%;
}

.amar-footer-f7-about > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .amar-footer-f7-about > p {
    max-width: 100%;
  }
}

.amar-footer-f7-logo-line .amar-footer-brand-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.amar-footer-f7-tagline {
  font-size: 0.875rem !important;
}

.amar-footer-f7-desc {
  font-size: 0.875rem !important;
}

.amar-footer-f7-about a.dmca-badge img {
  vertical-align: middle;
  opacity: 0.9;
}

/* Contact card */
.amar-footer-f7-contact-card {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.amar-footer-f7 .wpex-info-widget {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amar-footer-f7 .wpex-info-widget li:last-child {
  margin-bottom: 0 !important;
}

.amar-footer-f7 .wpex-info-widget-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--amar-footer-accent);
  font-size: 0.875rem;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.amar-footer-f7 .wpex-info-widget-data {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.9);
}

.amar-footer-f7 .wpex-info-widget-data a.wpex-inherit-color {
  color: var(--amar-footer-link);
  text-decoration: none;
  font-weight: 600;
}

.amar-footer-f7 .wpex-info-widget-data a.wpex-inherit-color:hover {
  color: #fff;
}

.amar-footer-f7-payment {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.amar-footer-f7-payment img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Horizontal social row (Footer7 space-x-6) */
.amar-footer-f7-social {
  gap: 1.35rem;
  align-items: center;
}

.amar-footer-f7-social .list-inline-item:not(:last-child) {
  margin-right: 0;
}

.amar-footer-f7-social .btn-icon {
  color: rgba(148, 163, 184, 0.95) !important;
  transition: color 0.15s ease;
}

.amar-footer-f7-social .btn-icon:hover {
  color: var(--amar-footer-accent) !important;
}

/* Right: responsive 3-col grid of injected menu widgets */
.amar-footer-f7-sections {
  flex: 1 1 auto;
  min-width: 0;
}

.amar-footer-f7-sections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .amar-footer-f7-sections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 3rem;
  }
}

@media (min-width: 992px) {
  .amar-footer-f7-sections-grid {
    gap: 1.5rem 5rem;
  }
}

.amar-footer-f7-nav-slot {
  display: contents;
}

.amar-footer-f7 .wpex-bordered-list.footer-widget:last-child .menu {
  margin-bottom: 0 !important;
}

.amar-footer-f7 .wpex-bordered-list .widget-title {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
}

.amar-footer-f7 .wpex-bordered-list .menu {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.amar-footer-f7 .wpex-bordered-list .menu li {
  margin: 0;
  padding: 0;
}

.amar-footer-f7 .wpex-bordered-list .menu li a {
  display: inline-block;
  padding: 0.28rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.98);
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.15s ease;
}

.amar-footer-f7 .wpex-bordered-list .menu li a:hover {
  color: var(--amar-footer-accent);
}

/* Promo strip below main row */
.amar-footer-f7-promo {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}

.amar-footer-promo-inner img {
  max-width: 100%;
  height: auto;
}

.amar-footer-f7-promo img {
  max-width: min(100%, 168px);
  height: auto;
}

/* Bottom bar: copyright | utility + legal (Footer7 border-t py-8) */
.amar-footer-f7-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 768px) {
  .amar-footer-f7-bottom-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
  }

  .amar-footer-f7-bottom-inner .copyright {
    flex: 1 1 auto;
    min-width: 200px;
  }

  .amar-footer-f7-bottom-links {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }
}

@media (min-width: 768px) {
  .amar-footer-f7-bottom-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
  }
}

.amar-footer-f7-utility .nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  padding: 0.35rem 0.6rem;
}

.amar-footer-f7-utility .nav-link:hover {
  color: var(--amar-footer-accent);
}

.amar-footer-f7-legal {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.95);
}

.amar-footer-f7-legal a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.amar-footer-f7-legal a:hover {
  color: var(--amar-footer-accent);
}

/* Hide storefront mega menu when client-area header is active */
.amar-client-header ~ #site-header,
.amar-client-header ~ .amar-main-nav-toolbar {
  display: none !important;
}

/* ==========================================================================
   CLIENT AREA — Dashboard, Sidebar, Panels
   ========================================================================== */

/* --- Dashboard Stat Tiles --- */
.amar-dash-tiles {
  margin-bottom: 24px;
}
.amar-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid #e8eef2;
  text-decoration: none !important;
  transition: box-shadow .2s, transform .15s;
  min-height: 90px;
}
.amar-tile:hover {
  box-shadow: 0 4px 16px rgba(5,45,145,.1);
  transform: translateY(-2px);
  z-index: 2;
}
.amar-tile-icon {
  display: none;
}
.amar-tile-stat {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
}
.amar-tile-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin-top: 8px;
}

/* First and last tile corners */
.amar-dash-tiles .row > div:first-child .amar-tile {
  border-radius: 10px 0 0 10px;
}
.amar-dash-tiles .row > div:last-child .amar-tile {
  border-radius: 0 10px 10px 0;
}
.amar-dash-tiles .row > div + div .amar-tile {
  border-left: none;
}

/* --- Dashboard Panels/Cards --- */
.amar-dash-card {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}
.amar-dash-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.amar-dash-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  font-family: 'Hind Siliguri', sans-serif;
}
.amar-dash-card-title i {
  color: var(--amar-brand);
  margin-right: 4px;
}
.amar-dash-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 14px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #334155;
  text-decoration: none !important;
  transition: all .15s;
}
.amar-dash-card-btn:hover {
  background: var(--amar-brand);
  color: #fff;
  border-color: var(--amar-brand);
}
.amar-dash-card-btn svg {
  width: 14px;
  height: 14px;
}
.amar-dash-card-body {
  padding: 20px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}
.amar-dash-card-body .no-data {
  text-align: center;
  padding: 24px 0;
}
.amar-dash-card-body .no-data .text-light {
  color: #94a3b8 !important;
  font-size: 14px;
  margin: 10px 0;
}
.amar-dash-card-body .no-data a {
  color: var(--amar-brand);
  font-weight: 600;
  font-size: 14px;
}

/* Card list items */
.amar-dash-card-list {
  display: flex;
  flex-direction: column;
}
.amar-dash-card-list-item {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #334155;
  border-top: 1px solid #f1f5f9;
  text-decoration: none !important;
  transition: background .15s;
}
a.amar-dash-card-list-item:hover {
  background: #f8fafc;
  color: var(--amar-brand);
}
.amar-dash-card-list-item i {
  color: var(--amar-brand);
  width: 20px;
  text-align: center;
}
.amar-dash-card-list-item .badge {
  background: var(--amar-brand);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
}
.amar-dash-card-list-item .text-last-updated {
  font-size: 12px;
  color: #94a3b8;
}

.amar-dash-card-footer {
  padding: 12px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.amar-dash-card-footer .btn {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* Accent colors for panels */
.amar-accent-orange .amar-dash-card-header { border-left: 4px solid #f59e0b; }
.amar-accent-purple .amar-dash-card-header { border-left: 4px solid #8b5cf6; }
.amar-accent-lime .amar-dash-card-header { border-left: 4px solid #84cc16; }
.amar-accent-blue .amar-dash-card-header { border-left: 4px solid var(--amar-brand); }
.amar-accent-green .amar-dash-card-header { border-left: 4px solid #22c55e; }
.amar-accent-red .amar-dash-card-header { border-left: 4px solid #ef4444; }
.amar-accent-gold .amar-dash-card-header { border-left: 4px solid #eab308; }

/* --- Sidebar Panels --- */
.amar-sidebar-panel {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.amar-sidebar-heading {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
}
.amar-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  font-family: 'Hind Siliguri', sans-serif;
}
.amar-sidebar-title i {
  color: var(--amar-brand);
  margin-right: 4px;
}
.amar-sidebar-body {
  padding: 16px 18px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
}
.amar-sidebar-body strong {
  color: #1a1a2e;
  font-size: 15px;
}
.amar-sidebar-body .client-avatar {
  margin-bottom: 12px;
}
.amar-sidebar-body .client-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #e8eef2;
}
.amar-sidebar-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.amar-sidebar-list {
  display: flex;
  flex-direction: column;
}
.amar-sidebar-list-item {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: #334155;
  border-top: 1px solid #f1f5f9;
  text-decoration: none !important;
  transition: background .15s;
}
a.amar-sidebar-list-item:hover {
  background: #f8fafc;
  color: var(--amar-brand);
}
.amar-sidebar-list-item.active {
  background: #eff6ff;
  color: var(--amar-brand);
  font-weight: 600;
}
.amar-sidebar-list-item i {
  color: var(--amar-brand);
  width: 18px;
  text-align: center;
}
.amar-sidebar-list-item .badge {
  background: var(--amar-brand);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}
/* Sidebar Footer Buttons */
.amar-sidebar-footer {
  padding: 12px 18px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.amar-sidebar-footer .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  transition: all .15s;
}
/* Green Update button */
.amar-sidebar-footer .btn-success {
  background: #22c55e;
  border: 1px solid #22c55e;
  color: #fff;
}
.amar-sidebar-footer .btn-success:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
/* Default/Outline buttons */
.amar-sidebar-footer .btn-default {
  background: #fff;
  border: 1.5px solid #d1d5db;
  color: #334155;
}
.amar-sidebar-footer .btn-default:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
  color: #1a1a2e;
}
/* Block button styling */
.amar-sidebar-panel .btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
}

/* Fix for sidebar buttons - ensure text is always visible */
.amar-sidebar-panel .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}
.amar-sidebar-panel .btn i,
.amar-sidebar-panel .btn svg {
  flex-shrink: 0;
}

/* Green buttons in sidebar */
.amar-sidebar-panel .btn-success,
.amar-sidebar-footer .btn-success {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
}
.amar-sidebar-panel .btn-success:hover,
.amar-sidebar-footer .btn-success:hover {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

/* Outline buttons in sidebar */
.amar-sidebar-panel .btn-default,
.amar-sidebar-panel .btn-outline {
  background: #fff;
  border: 1.5px solid #d1d5db;
  color: #334155;
}
.amar-sidebar-panel .btn-default:hover,
.amar-sidebar-panel .btn-outline:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
  color: #1a1a2e;
}

/* ═══ SUPPORT TICKETS PAGES ═══ */

/* Ticket List Table */
#tableTicketsList {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
#tableTicketsList .ticket-number {
  display: inline-block;
  background: var(--amar-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}
#tableTicketsList .ticket-subject {
  font-weight: 500;
  color: #1a1a2e;
}
#tableTicketsList .ticket-subject.unread {
  font-weight: 700;
  color: var(--amar-brand);
}
#tableTicketsList .border-left {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
#tableTicketsList .border-left:hover .ticket-subject {
  color: var(--amar-brand);
}

/* Status badges */
#tableTicketsList .status-custom {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Department Selection Page (Step 1) */
.support-dept-card {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.support-dept-card:hover {
  border-color: var(--amar-brand);
  box-shadow: 0 4px 12px rgba(5,45,145,.08);
}
.support-dept-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none !important;
}
.support-dept-card a i,
.support-dept-card a svg {
  width: 24px;
  height: 24px;
  color: var(--amar-brand);
}
.support-dept-card p.text-muted {
  margin: 8px 0 0 36px;
  font-size: 13px;
  color: #64748b;
}

/* View Ticket Page */
.view-ticket {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8eef2;
}
.view-ticket .card-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.ticket-actions {
  display: flex;
  gap: 8px;
}
.ticket-actions .btn {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticket-actions .btn-default {
  background: #fff;
  border: 1.5px solid #d1d5db;
  color: #334155;
}
.ticket-actions .btn-default:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}
.ticket-actions .btn-danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}
.ticket-actions .btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}
.ticket-actions .btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Ticket Reply Styling */
.ticket-reply {
  border: 1px solid #e8eef2;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}
.ticket-reply.staff {
  border-left: 4px solid var(--amar-brand);
}
.ticket-reply .posted-by {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 13px;
  color: #64748b;
  border-bottom: 1px solid #e8eef2;
}
.ticket-reply .posted-by-name {
  font-weight: 600;
  color: #1a1a2e;
}
.ticket-reply .posted-on {
  color: #94a3b8;
}
.ticket-reply .requestor-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.ticket-reply .requestor-type-operator {
  background: var(--amar-brand);
  color: #fff;
}
.ticket-reply .requestor-type-owner {
  background: #22c55e;
  color: #fff;
}
.ticket-reply .requestor-type-client {
  background: #f59e0b;
  color: #fff;
}
.ticket-reply .message {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}
.ticket-reply .attachments {
  background: #f8fafc;
  border-top: 1px solid #e8eef2;
}
.ticket-reply .attachment-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.ticket-reply .attachment-list li {
  display: inline-block;
  margin-right: 12px;
}
.ticket-reply .attachment-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
  text-decoration: none !important;
}
.ticket-reply .attachment-list a:hover {
  border-color: var(--amar-brand);
  color: var(--amar-brand);
}

/* Reply Form */
#ticketReplyContainer {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  padding: 24px;
  margin-top: 24px;
}
#ticketReplyContainer .form-group label {
  font-weight: 600;
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
}
#ticketReplyContainer textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
#ticketReplyContainer .btn-primary {
  background: var(--amar-brand);
  border-color: var(--amar-brand);
  height: 44px;
  padding: 0 24px;
  font-weight: 600;
}
#ticketReplyContainer .btn-primary:hover {
  background: var(--amar-brand-dark);
  border-color: var(--amar-brand-dark);
}

/* Star Rating */
.rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.rating .star {
  width: 24px;
  height: 24px;
  background: #e8eef2;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  cursor: pointer;
  transition: background .15s;
}
.rating .star:hover,
.rating .star:hover ~ .star {
  background: #fbbf24;
}
.rating-done .star {
  width: 20px;
  height: 20px;
}
.rating-done .star.active {
  background: #fbbf24;
}

/* --- Client Area general overrides --- */
section#main-body {
  background: #f4f6f9;
  padding-top: 24px;
  padding-bottom: 40px;
}
.primary-content .page-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  font-family: 'Hind Siliguri', sans-serif;
}

/* Override old card/panel styles in client area */
section#main-body .card,
section#main-body .panel {
  border: 1px solid #e8eef2;
  border-radius: 10px;
  box-shadow: none;
}
section#main-body .card-header,
section#main-body .panel-heading {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 18px;
}
section#main-body .card-body,
section#main-body .panel-body {
  padding: 18px;
}

/* Tile responsiveness */
@media screen and (max-width: 575.98px) {
  .amar-dash-tiles .row > div:first-child .amar-tile,
  .amar-dash-tiles .row > div:last-child .amar-tile {
    border-radius: 0;
  }
  .amar-dash-tiles .row > div:nth-child(1) .amar-tile { border-radius: 10px 0 0 0; }
  .amar-dash-tiles .row > div:nth-child(2) .amar-tile { border-radius: 0 10px 0 0; }
  .amar-dash-tiles .row > div:nth-child(2) .amar-tile { border-left: none; }
  .amar-dash-tiles .row > div:nth-child(3) .amar-tile { border-top: none; border-radius: 0 0 0 10px; }
  .amar-dash-tiles .row > div:nth-child(4) .amar-tile { border-top: none; border-left: none; border-radius: 0 0 10px 0; }
  .amar-tile { padding: 14px 8px; min-height: 80px; }
  .amar-tile-stat { font-size: 28px; }
  .amar-tile-label { font-size: 12px; }
}

@media screen and (max-width: 575.98px) {
  .master-breadcrumb {
    font-size: 0.85rem;
  }

  /* Logged-in strip: account controls stay inside viewport */
  .amar-whmcs-account-bar .container > .d-flex {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .amar-whmcs-account-bar .ml-auto {
    margin-left: 0 !important;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .amar-whmcs-account-bar .btn-group {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .amar-whmcs-account-bar .btn-active-client span {
    display: inline-block;
    max-width: 65vw;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
}

/* ==========================================================================
   CLIENT AREA — Tables, Lists, Forms (Services, Domains, Invoices, Tickets)
   ========================================================================== */

/* --- Table List Styles --- */
section#main-body .table-list {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
section#main-body .table-list thead {
  background: #f8fafc;
  border-bottom: 1px solid #e8eef2;
}
section#main-body .table-list thead th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #e8eef2;
  font-family: 'Hind Siliguri', sans-serif;
}
section#main-body .table-list tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
section#main-body .table-list tbody tr:last-child {
  border-bottom: none;
}
section#main-body .table-list tbody tr:hover {
  background: #f8fafc;
}
section#main-body .table-list tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: #475569;
  vertical-align: middle;
}
section#main-body .table-list tbody td a {
  color: var(--amar-brand);
  font-weight: 600;
  text-decoration: none;
}
section#main-body .table-list tbody td a:hover {
  text-decoration: underline;
}
section#main-body .table-list tbody td strong {
  color: #1a1a2e;
  font-weight: 700;
}
section#main-body .table-list tbody td small {
  color: #94a3b8;
  font-size: 12px;
}

/* Status badges in tables */
section#main-body .status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
section#main-body .status.status-active,
section#main-body .status.status-paid {
  background: #dcfce7;
  color: #166534;
}
section#main-body .status.status-pending,
section#main-body .status.status-unpaid {
  background: #fef3c7;
  color: #92400e;
}
section#main-body .status.status-suspended,
section#main-body .status.status-cancelled,
section#main-body .status.status-expired {
  background: #fee2e2;
  color: #991b1b;
}
section#main-body .status.status-terminated {
  background: #f3f4f6;
  color: #6b7280;
}
section#main-body .status.status-grace {
  background: #dbeafe;
  color: #1e40af;
}
section#main-body .status.status-redemption {
  background: #fce7f3;
  color: #9d174d;
}

/* Table loading spinner */
#tableLoading {
  padding: 40px 0;
  color: #94a3b8;
}
#tableLoading i {
  color: var(--amar-brand);
}

/* Table controls */
section#main-body .btn-group .btn {
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
}
section#main-body .btn-group .btn-default {
  background: #fff;
  border: 1px solid #d1d5db;
  color: #334155;
}
section#main-body .btn-group .btn-default:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}
section#main-body .btn-group .dropdown-menu {
  border-radius: 8px;
  border: 1px solid #e8eef2;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
section#main-body .btn-group .dropdown-item {
  font-size: 13px;
  padding: 8px 16px;
  color: #334155;
}
section#main-body .btn-group .dropdown-item:hover {
  background: #f1f5f9;
  color: var(--amar-brand);
}

/* DataTables customization */
section#main-body .dataTables_wrapper .dataTables_filter input {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  margin-left: 8px;
}
section#main-body .dataTables_wrapper .dataTables_length select {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 28px 6px 12px;
  font-size: 14px;
}
section#main-body .dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  margin: 0 2px;
  font-size: 13px;
  color: #334155 !important;
}
section#main-body .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f1f5f9 !important;
  border-color: #9ca3af;
  color: var(--amar-brand) !important;
}
section#main-body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--amar-brand) !important;
  border-color: var(--amar-brand) !important;
  color: #fff !important;
}
section#main-body .dataTables_info {
  font-size: 13px;
  color: #64748b;
  padding-top: 16px;
}

/* --- Card Form Styles (Account Details, etc.) --- */
section#main-body .card {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}
section#main-body .card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e8eef2;
  padding: 14px 20px;
}
section#main-body .card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  font-family: 'Hind Siliguri', sans-serif;
}
section#main-body .card-body {
  padding: 20px;
}
section#main-body .card-footer {
  background: #fafbfc;
  border-top: 1px solid #e8eef2;
  padding: 14px 20px;
}

/* Form elements */
section#main-body .form-group {
  margin-bottom: 18px;
}
section#main-body .form-group label {
  font-weight: 600;
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 6px;
}
section#main-body .form-control {
  height: 44px;
  font-size: 14.5px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  padding: 8px 14px;
  transition: border-color .2s;
}
section#main-body .form-control:focus {
  border-color: #9ca3af;
  box-shadow: none;
  outline: none;
}
section#main-body select.form-control {
  appearance: auto;
  padding-right: 32px;
}
section#main-body .custom-select {
  background-size: 16px;
  background-position: right 12px center;
}

/*
 * intl-tel-input (phone country + dial code): theme .form-control shorthand reset
 * padding-left so placeholder/text never sits under the flag / +dial code.
 * Mirrors templates/client-portal/css/all.css dial-code widths.
 */
section#main-body .intl-tel-input.allow-dropdown input.form-control,
section#main-body .intl-tel-input.allow-dropdown input[type="tel"],
section#main-body .intl-tel-input.allow-dropdown input[type="text"],
section#main-body .intl-tel-input.separate-dial-code input.form-control,
section#main-body .intl-tel-input.separate-dial-code input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code input[type="text"],
.main-body .intl-tel-input.allow-dropdown input.form-control,
.main-body .intl-tel-input.allow-dropdown input[type="tel"],
.main-body .intl-tel-input.allow-dropdown input[type="text"],
.main-body .intl-tel-input.separate-dial-code input.form-control,
.main-body .intl-tel-input.separate-dial-code input[type="tel"],
.main-body .intl-tel-input.separate-dial-code input[type="text"] {
  padding-right: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 52px;
}
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input.form-control,
.main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="text"] {
  padding-left: 66px;
}
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input.form-control,
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="text"] {
  padding-left: 76px;
}
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input.form-control,
.main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="text"] {
  padding-left: 74px;
}
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input.form-control,
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="text"] {
  padding-left: 84px;
}
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input.form-control,
.main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="text"] {
  padding-left: 82px;
}
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input.form-control,
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="text"] {
  padding-left: 92px;
}
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input.form-control,
.main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="text"] {
  padding-left: 90px;
}
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input.form-control,
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"],
section#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="text"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input.form-control,
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"],
.main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="text"] {
  padding-left: 100px;
}

/* Buttons */
section#main-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 0 20px;
  transition: all .15s;
  gap: 6px;
}
section#main-body .btn-primary {
  background: var(--amar-brand);
  border-color: var(--amar-brand);
  color: #fff;
}
section#main-body .btn-primary:hover {
  background: var(--amar-brand-dark);
  border-color: var(--amar-brand-dark);
}
section#main-body .btn-default {
  background: #fff;
  border-color: #d1d5db;
  color: #334155;
}
section#main-body .btn-default:hover {
  background: #f1f5f9;
  border-color: #9ca3af;
}
section#main-body .btn-success {
  background: #22c55e;
  border-color: #22c55e;
}
section#main-body .btn-success:hover {
  background: #16a34a;
  border-color: #16a34a;
}
section#main-body .btn-danger {
  background: #ef4444;
  border-color: #ef4444;
}
section#main-body .btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* Alert styling */
section#main-body .alert {
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: none;
  font-size: 14px;
}
section#main-body .alert-success {
  background: #dcfce7;
  color: #166534;
}
section#main-body .alert-warning {
  background: #fef3c7;
  color: #92400e;
}
section#main-body .alert-danger {
  background: #fee2e2;
  color: #991b1b;
}
section#main-body .alert-info {
  background: #dbeafe;
  color: #1e40af;
}

/* Checkbox styling */
section#main-body .form-check {
  padding-left: 0;
}
section#main-body .form-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
}
section#main-body .form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--amar-brand);
}

/* Page title */
section#main-body h1.page-title,
section#main-body h2.page-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 24px;
  font-family: 'Hind Siliguri', sans-serif;
}

/* Action buttons row */
section#main-body .action-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
section#main-body .action-bar .btn {
  height: 40px;
  font-size: 13px;
  padding: 0 16px;
}

/* Empty state */
section#main-body .no-data {
  text-align: center;
  padding: 40px 20px;
}
section#main-body .no-data svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: .5;
}
section#main-body .no-data .text-light {
  color: #94a3b8 !important;
  font-size: 14px;
  margin-bottom: 12px;
}
section#main-body .no-data a {
  color: var(--amar-brand);
  font-weight: 600;
}

/* SSL icon in tables */
section#main-body .table-list td.ssl-info img {
  width: 28px;
  height: 28px;
}

/* Bulk action domain checkbox */
section#main-body .domids {
  width: 18px;
  height: 18px;
  accent-color: var(--amar-brand);
}

/* --- Tickets Page --- */
section#main-body .ticket-list-card {
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
section#main-body .ticket-list-card:hover {
  border-color: #d1d5db;
}
section#main-body .ticket-status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}
section#main-body .ticket-status.open {
  background: #dcfce7;
  color: #166534;
}
section#main-body .ticket-status.answered {
  background: #dbeafe;
  color: #1e40af;
}
section#main-body .ticket-status.closed {
  background: #f3f4f6;
  color: #6b7280;
}
section#main-body .ticket-status.customer-reply {
  background: #fef3c7;
  color: #92400e;
}

/* --- Responsive Tables --- */
@media screen and (max-width: 767.98px) {
  section#main-body .table-list {
    font-size: 13px;
  }
  section#main-body .table-list thead th,
  section#main-body .table-list tbody td {
    padding: 10px 8px;
  }
  section#main-body .dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: left;
    margin-bottom: 12px;
  }
  section#main-body .dataTables_wrapper .dataTables_length {
    float: none;
    margin-bottom: 12px;
  }
  section#main-body .dataTables_wrapper .dataTables_paginate {
    text-align: center;
    padding-top: 16px;
  }
  section#main-body .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 8px;
    font-size: 12px;
  }
  section#main-body .btn-group {
    flex-wrap: wrap;
    gap: 4px;
  }
  section#main-body .btn-group .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}
