:root {
  --narin-bg: #f5f7fb;
  --narin-surface: rgba(255,255,255,.86);
  --narin-surface-solid: #fff;
  --narin-text: #111827;
  --narin-muted: #6b7280;
  --narin-soft: #eef2f7;
  --narin-border: rgba(15,23,42,.08);
  --narin-border-strong: rgba(15,23,42,.12);
  --narin-blue: #0071e3;
  --narin-blue-dark: #0057b8;
  --narin-green: #16a34a;
  --narin-red: #dc2626;
  --narin-orange: #f59e0b;
  --narin-radius-lg: 28px;
  --narin-radius: 20px;
  --narin-radius-sm: 14px;
  --narin-shadow: 0 22px 70px rgba(15,23,42,.09);
  --narin-shadow-soft: 0 14px 42px rgba(15,23,42,.07);
  --narin-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

body.narin-whmcs {
  font-family: var(--narin-font) !important;
  color: var(--narin-text);
  background:
    radial-gradient(circle at 12% 4%, rgba(0,113,227,.08), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(124,58,237,.08), transparent 25%),
    linear-gradient(180deg, #fbfcff 0%, var(--narin-bg) 48%, #fff 100%) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.narin-clientarea-ui .contact-banner.whmcs.main-banner { display: none !important; }
body.narin-clientarea-ui .main-header { box-shadow: none !important; }
body.narin-clientarea-ui #main-body.narin-clientarea-main { padding: 0 0 72px !important; background: transparent !important; }
body.narin-clientarea-ui .narin-clientarea-container { max-width: 1220px; }
body.narin-clientarea-ui .narin-clientarea-grid { align-items: flex-start; row-gap: 24px; }
body.narin-clientarea-ui .narin-primary-content { min-width: 0; }

.narin-client-hero { padding: 34px 0 20px; }
.narin-client-hero .container { max-width: 1220px; }
.narin-client-hero-card {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.76)),
    radial-gradient(circle at top right, rgba(0,113,227,.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(17,24,39,.08), transparent 30%);
  box-shadow: var(--narin-shadow);
  padding: 34px;
  isolation: isolate;
}
.narin-client-hero-card:before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background: linear-gradient(120deg, rgba(255,255,255,.55), transparent 46%, rgba(255,255,255,.3));
  pointer-events: none;
  z-index: -1;
}
.narin-client-hero-content { max-width: 760px; display: flex; flex-direction: column; justify-content: center; }
.narin-client-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(0,113,227,.12);
  border-radius: 999px;
  background: rgba(0,113,227,.07);
  color: var(--narin-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.narin-client-eyebrow:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(0,113,227,.1); }
.narin-client-hero h1 { margin: 18px 0 12px; color: #0b1220; font-size: clamp(34px, 4vw, 56px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.narin-client-hero p { max-width: 680px; margin: 0; color: #546070; font-size: 17px; line-height: 1.6; letter-spacing: -.01em; }
.narin-client-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.narin-client-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #1f2937;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.narin-client-quicklinks a:hover { transform: translateY(-2px); background: #111827; color: #fff; box-shadow: 0 16px 36px rgba(15,23,42,.16); }
.narin-client-quicklinks i { font-size: 14px; }
.narin-client-hero-orb {
  flex: 0 0 210px;
  min-height: 190px;
  align-self: center;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  border-radius: 36px;
  background: linear-gradient(160deg, #101828, #1f2937 58%, #0071e3);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 24px 60px rgba(17,24,39,.22);
  overflow: hidden;
}
.narin-client-hero-orb span { position: absolute; width: 126px; height: 126px; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(2px); top: -30px; right: -32px; }
.narin-client-hero-orb strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.04em; z-index: 1; align-self: end; }
.narin-client-hero-orb small { display: block; margin-top: -46px; font-size: 13px; opacity: .72; z-index: 1; align-self: start; }
.narin-client-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 6px 0; color: #8a94a6; font-size: 13px; }
.narin-client-breadcrumb a { color: #64748b; text-decoration: none; }
.narin-client-breadcrumb a:hover { color: var(--narin-blue); }
.narin-client-breadcrumb i { font-size: 10px; opacity: .55; }
.narin-client-breadcrumb span { color: #111827; font-weight: 650; }

body.narin-clientarea-ui .narin-clientarea-sidebar { top: 94px !important; }
body.narin-clientarea-ui .sidebar,
body.narin-clientarea-ui .panel-sidebar,
body.narin-clientarea-ui .list-group,
body.narin-clientarea-ui .card-sidebar {
  border: 1px solid var(--narin-border) !important;
  border-radius: var(--narin-radius) !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: var(--narin-shadow-soft) !important;
  overflow: hidden;
}
body.narin-clientarea-ui .panel-sidebar > .panel-heading,
body.narin-clientarea-ui .card-sidebar > .card-header,
body.narin-clientarea-ui .sidebar .sidebar-header {
  border-bottom: 1px solid var(--narin-border) !important;
  background: rgba(248,250,252,.82) !important;
  color: #111827 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  padding: 16px 18px !important;
}
body.narin-clientarea-ui .list-group-item,
body.narin-clientarea-ui .panel-sidebar .list-group-item,
body.narin-clientarea-ui .sidebar .list-group-item {
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.055) !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 17px !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
body.narin-clientarea-ui .list-group-item:last-child { border-bottom: 0 !important; }
body.narin-clientarea-ui .list-group-item:hover { background: rgba(0,113,227,.07) !important; color: var(--narin-blue) !important; transform: translateX(2px); }
body.narin-clientarea-ui .list-group-item.active,
body.narin-clientarea-ui .panel-sidebar .list-group-item.active {
  background: #111827 !important;
  color: #fff !important;
  border-radius: 12px !important;
  margin: 6px 8px !important;
  border-bottom: 0 !important;
}

body.narin-clientarea-ui .primary-content > h1,
body.narin-clientarea-ui .primary-content > h2,
body.narin-clientarea-ui .primary-content > h3 { letter-spacing: -.04em; font-weight: 800; color: #0f172a; }
body.narin-clientarea-ui .card,
body.narin-clientarea-ui .panel,
body.narin-clientarea-ui .well,
body.narin-clientarea-ui .tiles,
body.narin-clientarea-ui .client-home-panels .panel,
body.narin-clientarea-ui .domain-checker-container,
body.narin-clientarea-ui .product-details-tab-container,
body.narin-clientarea-ui .narin-page-card,
body.narin-clientarea-ui .tt-news-wrap,
body.narin-clientarea-ui .affiliate-stat {
  border: 1px solid var(--narin-border) !important;
  border-radius: var(--narin-radius) !important;
  background: rgba(255,255,255,.88) !important;
  box-shadow: var(--narin-shadow-soft) !important;
}
body.narin-clientarea-ui .card { overflow: hidden; }
body.narin-clientarea-ui .card-header,
body.narin-clientarea-ui .panel-heading,
body.narin-clientarea-ui .modal-header {
  border-bottom: 1px solid var(--narin-border) !important;
  background: rgba(248,250,252,.8) !important;
  color: #111827 !important;
  font-weight: 800;
}
body.narin-clientarea-ui .card-body,
body.narin-clientarea-ui .panel-body { padding: 22px !important; }

body.narin-clientarea-ui .client-home-panels { row-gap: 18px; }
body.narin-clientarea-ui .tiles {
  display: block !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.narin-clientarea-ui .tiles > .row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
}
body.narin-clientarea-ui .tiles > .row > [class*="col-"] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
}
body.narin-clientarea-ui .tile,
body.narin-clientarea-ui .tiles .tile {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  min-height: 128px;
  overflow: hidden;
  text-decoration: none !important;
  border: 1px solid rgba(15,23,42,.06) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #fff, #f8fafc) !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.narin-clientarea-ui .tiles .tile > a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
}
body.narin-clientarea-ui .tile:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(15,23,42,.09); }
body.narin-clientarea-ui .tile .icon,
body.narin-clientarea-ui .tile i { color: var(--narin-blue) !important; }
body.narin-clientarea-ui .tile .icon,
body.narin-clientarea-ui .tile > i {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  font-size: 34px !important;
  line-height: 1 !important;
}
body.narin-clientarea-ui .tile .stat {
  margin-top: 0 !important;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  color: #111827;
}
body.narin-clientarea-ui .tile .title {
  max-width: calc(100% - 44px);
  margin-top: 14px;
  color: #64748b;
  font-weight: 650;
  line-height: 1.25;
}

/* Dashboard: retain a compact operational overview and move full lists to their pages. */
body.narin-template-clientareahome .narin-dashboard {
  display: grid;
  gap: 20px;
}
body.narin-template-clientareahome .narin-dashboard-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
body.narin-template-clientareahome .narin-dashboard-stat {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--narin-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.045);
  color: inherit;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.narin-template-clientareahome .narin-dashboard-stat:hover {
  border-color: rgba(0,113,227,.32);
  box-shadow: 0 16px 32px rgba(15,23,42,.08);
  color: inherit;
  transform: translateY(-2px);
}
body.narin-template-clientareahome .narin-dashboard-stat-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--narin-blue);
  font-size: 16px;
}
body.narin-template-clientareahome .narin-dashboard-stat-content {
  display: grid;
  min-width: 0;
  gap: 3px;
}
body.narin-template-clientareahome .narin-dashboard-stat-content strong {
  color: #111827;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}
body.narin-template-clientareahome .narin-dashboard-stat-content small {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-stat-arrow {
  color: #98a2b3;
  font-size: 11px;
}
body.narin-template-clientareahome .narin-dashboard-addon > * { margin-bottom: 0 !important; }
body.narin-template-clientareahome .narin-dashboard-notices {
  display: grid;
  gap: 12px;
}
body.narin-template-clientareahome .narin-dashboard-grid {
  display: block;
}
body.narin-template-clientareahome .narin-dashboard-main,
body.narin-template-clientareahome .narin-dashboard-side,
body.narin-template-clientareahome .narin-dashboard-secondary {
  display: grid;
  gap: 20px;
}
body.narin-template-clientareahome .narin-dashboard-operations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
body.narin-template-clientareahome .narin-dashboard-panel {
  overflow: hidden;
  border: 1px solid var(--narin-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.055);
}
body.narin-template-clientareahome .narin-dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15,23,42,.07);
}
body.narin-template-clientareahome .narin-dashboard-panel-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
body.narin-template-clientareahome .narin-dashboard-panel-title > i {
  color: var(--narin-blue);
  font-size: 15px;
}
body.narin-template-clientareahome .narin-dashboard-panel-title h2 {
  overflow: hidden;
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel-title .badge {
  flex: 0 0 auto;
}
body.narin-template-clientareahome .narin-dashboard-panel-action,
body.narin-template-clientareahome .narin-dashboard-panel-footer-link a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--narin-blue);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel-action:hover,
body.narin-template-clientareahome .narin-dashboard-panel-footer-link a:hover { color: var(--narin-blue-dark); }
body.narin-template-clientareahome .narin-dashboard-panel-body {
  padding: 16px 18px;
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
}
body.narin-template-clientareahome .narin-dashboard-panel-body > :last-child { margin-bottom: 0; }
body.narin-template-clientareahome .narin-dashboard-list {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.narin-template-clientareahome .narin-dashboard-list > .list-group-item {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 13px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.06) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #344054 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  transform: none !important;
}
body.narin-template-clientareahome .narin-dashboard-list > .list-group-item:hover {
  background: #f8fbff !important;
  color: #111827 !important;
}
body.narin-template-clientareahome .narin-dashboard-list > .list-group-item > i {
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 13px;
}
body.narin-template-clientareahome .narin-dashboard-list > .list-group-item > span {
  min-width: 0;
}
body.narin-template-clientareahome .narin-dashboard-list > .list-group-item > em {
  flex: 0 0 auto;
  margin-left: auto;
  font-style: normal;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-list > :nth-child(n+3),
body.narin-template-clientareahome .narin-dashboard-panel--tickets .narin-dashboard-list > :nth-child(n+3),
body.narin-template-clientareahome .narin-dashboard-panel--news .narin-dashboard-list > :nth-child(n+3) { display: none !important; }
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-panel-body {
  padding: 0;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-list {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-list > .list-group-item {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-list > .list-group-item > span {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) minmax(190px, 218px) 14px;
  grid-template-areas: "status details due arrow" "actions actions actions actions";
  align-items: center !important;
  column-gap: 22px;
  row-gap: 10px;
  width: 100% !important;
  min-width: 0;
  min-height: 82px !important;
  height: auto !important;
  margin: 0;
  padding: 16px 24px !important;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color .18s ease;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item:last-child {
  border-bottom: 0;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item:hover {
  background: #f8fbff;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-status {
  grid-area: status;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content !important;
  min-height: 28px;
  min-width: 0;
  padding: 0 11px;
  border-radius: 999px;
  background: #e9fbf2;
  color: #087c5b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-details {
  grid-area: details;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 0;
  min-width: 0;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .div-service-name .font-weight-bold {
  display: block;
  overflow: hidden;
  color: #344054;
  font-family: var(--font-family-sans-serif) !important;
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .div-service-name .text-domain {
  display: block;
  min-height: 0;
  overflow: hidden;
  color: #667085;
  font-family: var(--font-family-sans-serif) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due {
  grid-area: due;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: auto !important;
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px 0 2px 18px;
  border: 0;
  border-left: 1px solid rgba(15, 23, 42, .11);
  border-radius: 0;
  background: transparent;
  color: #667085;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  background: #eaf2ff;
  color: #1570ef;
  font-size: 14px;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due-copy > span {
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due-copy > strong {
  color: #344054;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-arrow {
  grid-area: arrow;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: #98a2b3;
  font-size: 11px;
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item:hover .narin-dashboard-service-arrow {
  color: var(--narin-blue);
}
body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item .div-service-buttons {
  grid-area: actions;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  justify-content: flex-start;
}
body.narin-template-clientareahome .narin-dashboard-panel-footer {
  margin: 0;
  padding: 13px 18px;
  border-top: 1px solid rgba(15,23,42,.06);
  background: #fcfdff;
}
body.narin-template-clientareahome .narin-dashboard-panel-footer:empty { display: none; }
body.narin-template-clientareahome .narin-dashboard-panel--notice .narin-dashboard-panel-header { display: none; }
body.narin-template-clientareahome .narin-dashboard-panel--notice .narin-dashboard-panel-body {
  padding: 14px 18px;
}
body.narin-template-clientareahome .narin-dashboard-panel--notice .alert,
body.narin-template-clientareahome .narin-dashboard-panel--notice .alert:last-child { margin: 0 !important; box-shadow: none !important; }
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register {
  padding-bottom: 18px;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register form > * {
  min-width: 0;
  margin: 0 !important;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register input {
  width: 100% !important;
  min-width: 0;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register .btn,
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 16px;
  white-space: nowrap;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register p i { color: #1570ef; }

@media (max-width: 1199.98px) {
  body.narin-template-clientareahome .narin-dashboard-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  body.narin-template-clientareahome .narin-dashboard-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  body.narin-template-clientareahome .narin-dashboard { gap: 14px; }
  body.narin-template-clientareahome .narin-dashboard-overview,
  body.narin-template-clientareahome .narin-dashboard-side,
  body.narin-template-clientareahome .narin-dashboard-operations { grid-template-columns: 1fr; }
  body.narin-template-clientareahome .narin-dashboard-stat { min-height: 76px; }
  body.narin-template-clientareahome .narin-dashboard-panel-header { padding: 13px 15px; }
  body.narin-template-clientareahome .narin-dashboard-panel-body,
  body.narin-template-clientareahome .narin-dashboard-panel-footer { padding-right: 15px; padding-left: 15px; }
  body.narin-template-clientareahome .narin-dashboard-list > .list-group-item { padding-right: 15px !important; padding-left: 15px !important; }
  body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register form { grid-template-columns: 1fr; }
  body.narin-template-clientareahome .narin-dashboard-panel--domain .narin-dashboard-domain-register .btn { width: 100%; }
}

@media (max-width: 767.98px) {
  body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-item {
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-areas: "status arrow" "details details" "due due" "actions actions";
    align-items: stretch;
    gap: 10px 12px;
    min-height: 0 !important;
    padding: 16px 15px !important;
  }
  body.narin-template-clientareahome .narin-dashboard-panel--services .div-service-name .font-weight-bold {
    display: block;
    white-space: normal;
  }
  body.narin-template-clientareahome .narin-dashboard-panel--services .narin-dashboard-service-due {
    min-height: 0;
    padding: 10px 0 0;
    width: 100% !important;
    border-top: 1px solid rgba(15, 23, 42, .08);
    border-left: 0;
  }
  body.narin-template-clientareahome .narin-dashboard-panel--services .div-service-buttons {
    margin: 0;
  }
}

@media (max-width: 1199.98px) {
  body.narin-clientarea-ui .tiles > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.narin-clientarea-ui .tiles > .row {
    grid-template-columns: 1fr;
  }
}

body.narin-clientarea-ui .table-container { padding: 0; overflow: auto; }
body.narin-clientarea-ui table.table { margin-bottom: 0; border-collapse: collapse !important; border-spacing: 0 !important; }
body.narin-clientarea-ui table.table thead th {
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  color: #7c8798;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 16px !important;
  background: #f8fafc !important;
}
body.narin-clientarea-ui table.table tbody tr { background: transparent; transition: background .18s ease; }
body.narin-clientarea-ui table.table tbody tr:hover { transform: none; box-shadow: none; background: rgba(0,113,227,.035); }
body.narin-clientarea-ui table.table tbody td {
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.065) !important;
  padding: 16px !important;
  vertical-align: middle !important;
  color: #334155;
  font-size: 14px;
}
body.narin-clientarea-ui table.table tbody tr:last-child td { border-bottom: 0 !important; }
body.narin-clientarea-ui table.table tbody td:first-child,
body.narin-clientarea-ui table.table tbody td:last-child { border-radius: 0; }
body.narin-clientarea-ui table.table a { color: #0f172a; font-weight: 700; text-decoration: none; }
body.narin-clientarea-ui table.table a:hover { color: var(--narin-blue); }

body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter input,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length select,
body.narin-clientarea-ui .form-control,
body.narin-clientarea-ui input[type="text"],
body.narin-clientarea-ui input[type="email"],
body.narin-clientarea-ui input[type="password"],
body.narin-clientarea-ui input[type="tel"],
body.narin-clientarea-ui input[type="number"],
body.narin-clientarea-ui select,
body.narin-clientarea-ui textarea {
  border: 1px solid rgba(15,23,42,.11) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.9) !important;
  color: #111827 !important;
  min-height: 44px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 20px rgba(15,23,42,.035) !important;
  outline: 0 !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.narin-clientarea-ui .form-control:focus,
body.narin-clientarea-ui input:focus,
body.narin-clientarea-ui select:focus,
body.narin-clientarea-ui textarea:focus {
  border-color: rgba(0,113,227,.5) !important;
  box-shadow: 0 0 0 4px rgba(0,113,227,.12), 0 12px 24px rgba(15,23,42,.06) !important;
}
body.narin-clientarea-ui label { color: #334155; font-weight: 700; font-size: 13px; }

body.narin-clientarea-ui .btn,
body.narin-clientarea-ui button,
body.narin-clientarea-ui .btn-default,
body.narin-clientarea-ui .btn-primary,
body.narin-clientarea-ui .btn-success,
body.narin-clientarea-ui .btn-danger,
body.narin-clientarea-ui .btn-warning,
body.narin-clientarea-ui .btn-info {
  border-radius: 999px !important;
  font-weight: 750 !important;
  letter-spacing: -.01em;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
body.narin-clientarea-ui .btn:hover { transform: translateY(-1px); }
body.narin-clientarea-ui .btn-primary,
body.narin-clientarea-ui .btn-success,
body.narin-clientarea-ui .btn-info { background: #111827 !important; color: #fff !important; border-color: #111827 !important; }
body.narin-clientarea-ui .btn-primary:hover,
body.narin-clientarea-ui .btn-success:hover,
body.narin-clientarea-ui .btn-info:hover { background: var(--narin-blue) !important; border-color: var(--narin-blue) !important; box-shadow: 0 14px 28px rgba(0,113,227,.22) !important; }
body.narin-clientarea-ui .btn-default,
body.narin-clientarea-ui .btn-secondary { background: #fff !important; color: #111827 !important; border-color: rgba(15,23,42,.11) !important; }
body.narin-clientarea-ui .btn-danger { background: #fff1f2 !important; color: #be123c !important; border-color: rgba(190,18,60,.14) !important; }
body.narin-clientarea-ui .btn-warning { background: #fffbeb !important; color: #b45309 !important; border-color: rgba(180,83,9,.14) !important; }
body.narin-clientarea-ui .dropdown-menu {
  border: 1px solid var(--narin-border) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.14) !important;
}
body.narin-clientarea-ui .dropdown-menu li a,
body.narin-clientarea-ui .dropdown-menu .dropdown-item { border-radius: 11px; padding: 10px 12px !important; color: #334155; font-weight: 650; }
body.narin-clientarea-ui .dropdown-menu li a:hover,
body.narin-clientarea-ui .dropdown-menu .dropdown-item:hover { background: rgba(0,113,227,.08); color: var(--narin-blue); }

body.narin-clientarea-ui .label,
body.narin-clientarea-ui .badge,
body.narin-clientarea-ui .status {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  border: 0 !important;
  background: #f8fafc;
  color: #334155;
}
body.narin-clientarea-ui .status-active,
body.narin-clientarea-ui .status-open,
body.narin-clientarea-ui .label-success,
body.narin-clientarea-ui .badge-success { background: #ecfdf5 !important; color: #047857 !important; border-color: rgba(4,120,87,.14); }
body.narin-clientarea-ui .status-pending,
body.narin-clientarea-ui .status-unpaid,
body.narin-clientarea-ui .label-warning { background: #fffbeb !important; color: #b45309 !important; border-color: rgba(180,83,9,.14); }
body.narin-clientarea-ui .status-suspended,
body.narin-clientarea-ui .status-cancelled,
body.narin-clientarea-ui .status-terminated,
body.narin-clientarea-ui .status-closed,
body.narin-clientarea-ui .label-danger { background: #fff1f2 !important; color: #be123c !important; border-color: rgba(190,18,60,.14); }

body.narin-clientarea-ui .alert {
  border: 1px solid rgba(15,23,42,.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.055);
  font-weight: 600;
}
body.narin-clientarea-ui .alert-info { background: #eff6ff !important; color: #1d4ed8 !important; }
body.narin-clientarea-ui .alert-success { background: #ecfdf5 !important; color: #047857 !important; }
body.narin-clientarea-ui .alert-warning { background: #fffbeb !important; color: #b45309 !important; }
body.narin-clientarea-ui .alert-danger { background: #fff1f2 !important; color: #be123c !important; }

body.narin-clientarea-ui .nav-tabs { border-bottom: 0 !important; gap: 8px; display: flex; flex-wrap: wrap; margin-bottom: 12px; }
body.narin-clientarea-ui .nav-tabs .nav-link,
body.narin-clientarea-ui .nav-tabs > li > a {
  border: 1px solid var(--narin-border) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.75) !important;
  color: #475569 !important;
  font-weight: 750;
  padding: 10px 15px !important;
}
body.narin-clientarea-ui .nav-tabs .nav-link.active,
body.narin-clientarea-ui .nav-tabs > li.active > a,
body.narin-clientarea-ui .nav-tabs > li > a.active { background: #111827 !important; color: #fff !important; }
body.narin-clientarea-ui .responsive-tabs-sm-connector { display: none !important; }

.narin-page-card { padding: 22px; margin-bottom: 22px; }
.narin-page-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.narin-page-topbar h2 { margin: 0; color: #0f172a; font-size: 26px; font-weight: 850; letter-spacing: -.045em; }
.narin-page-topbar p { margin: 4px 0 0; color: #64748b; }
.narin-page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.narin-soft-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #111827; color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 800; }
.narin-soft-link.secondary { background: #fff; color: #111827 !important; border: 1px solid var(--narin-border); }

.narin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.narin-stat-card { border: 1px solid var(--narin-border); border-radius: 18px; background: linear-gradient(180deg,#fff,#f8fafc); padding: 18px; box-shadow: 0 12px 26px rgba(15,23,42,.05); }
.narin-stat-card span { display: block; color: #64748b; font-size: 13px; font-weight: 700; }
.narin-stat-card strong { display: block; margin-top: 6px; color: #111827; font-size: 28px; line-height: 1; font-weight: 850; letter-spacing: -.045em; }

body.narin-template-announcements .announcements,
body.narin-template-announcement .announcement { background: transparent !important; box-shadow: none !important; border: 0 !important; }
body.narin-template-announcements .announcement {
  border: 1px solid var(--narin-border) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: var(--narin-shadow-soft);
  margin-bottom: 16px;
}
body.narin-template-announcements .announcement h2 a { color: #111827; font-size: 21px; font-weight: 850; letter-spacing: -.035em; text-decoration: none; }
body.narin-template-announcements .announcement h2 a:hover { color: var(--narin-blue); }
body.narin-template-announcements .tt-read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--narin-blue); font-weight: 800; text-decoration: none; }

body.narin-template-clientareaproductdetails .product-details { border: 0 !important; }
body.narin-template-clientareaproductdetails .product-details h4 { color: #64748b; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 14px 0 4px; }
body.narin-template-clientareaproductdetails .product-status { border-radius: 999px !important; }
body.narin-template-clientareaproductdetails .module-client-area { border-radius: 22px; overflow: hidden; }

body.narin-template-clientareadomains #domainForm,
body.narin-template-clientareadomains .tab-content { overflow: visible; }

body.narin-template-affiliates .affiliate-stat { min-height: 124px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 22px !important; color: #111827 !important; }
body.narin-template-affiliates .affiliate-stat i { font-size: 22px; color: var(--narin-blue); }
body.narin-template-affiliates .affiliate-stat span { display: block; font-size: 34px; line-height: 1; font-weight: 850; letter-spacing: -.05em; color: #111827; }

body.narin-clientarea-ui .ticket-reply,
body.narin-clientarea-ui .ticket-details,
body.narin-clientarea-ui .ticket-message,
body.narin-clientarea-ui .ticket-message .message,
body.narin-clientarea-ui .kb-article-item,
body.narin-clientarea-ui .announcement-single,
body.narin-clientarea-ui .invoice-container {
  border: 1px solid var(--narin-border) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: var(--narin-shadow-soft) !important;
}
body.narin-clientarea-ui .invoice-container { padding: 24px; }

body.narin-clientarea-ui .pagination > li > a,
body.narin-clientarea-ui .pagination > li > span,
body.narin-clientarea-ui .dataTables_paginate .paginate_button {
  border: 1px solid var(--narin-border) !important;
  border-radius: 999px !important;
  margin: 0 3px !important;
  color: #334155 !important;
  background: #fff !important;
  font-weight: 750;
}
body.narin-clientarea-ui .pagination > .active > a,
body.narin-clientarea-ui .dataTables_paginate .paginate_button.current { background: #111827 !important; color: #fff !important; }

@media (max-width: 991.98px) {
  .narin-client-hero { padding-top: 24px; }
  .narin-client-hero-card { flex-direction: column; padding: 26px; border-radius: 28px; min-height: 0; }
  .narin-client-hero h1 { font-size: 38px; }
  .narin-client-hero-orb { display: none; }
  body.narin-clientarea-ui .narin-clientarea-sidebar { position: static !important; }
  .narin-page-topbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
  .narin-client-hero-card { padding: 22px; }
  .narin-client-hero h1 { font-size: 32px; }
  .narin-client-hero p { font-size: 15px; }
  .narin-client-quicklinks { display: grid; grid-template-columns: 1fr 1fr; }
  .narin-client-quicklinks a { justify-content: center; padding: 0 10px; }
  body.narin-clientarea-ui .card-body,
  body.narin-clientarea-ui .panel-body,
  .narin-page-card { padding: 16px !important; }
  body.narin-clientarea-ui table.table { border-spacing: 0 !important; }
  body.narin-clientarea-ui table.table tbody td { padding: 12px 10px !important; font-size: 13px; }
}

/*
 * Client-area information hierarchy
 *
 * DataTables already creates its own list shell. Giving that shell a single
 * surface and keeping rows flat prevents the previous card-inside-card stack.
 */
body.narin-clientarea-ui .dataTables_wrapper {
  overflow: hidden;
  border: 1px solid var(--narin-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
body.narin-clientarea-ui .dataTables_wrapper > .listtable {
  min-height: 68px;
  padding: 14px 18px;
  border: 0 !important;
  border-bottom: 1px solid rgba(15,23,42,.08);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length {
  margin: 0;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length {
  padding: 10px 18px 14px;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter label,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter input,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter .form-control,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length select,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length .form-control {
  min-height: 38px;
  margin: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter input,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter .form-control {
  flex: 0 0 240px;
  width: 240px !important;
  max-width: 100%;
  padding: 7px 10px !important;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length select,
body.narin-clientarea-ui .dataTables_wrapper .dataTables_length .form-control {
  flex: 0 0 76px;
  width: 76px !important;
  padding: 6px 28px 6px 10px !important;
}
body.narin-clientarea-ui .dataTables_wrapper .listtable > table.table-list,
body.narin-clientarea-ui .dataTables_wrapper .listtable > .table-responsive > table.table-list {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_info {
  padding: 14px 18px !important;
  color: #64748b;
  font-size: 13px;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_paginate {
  padding: 10px 18px 14px !important;
}
body.narin-clientarea-ui .dataTables_wrapper .dataTables_paginate .paginate_button,
body.narin-clientarea-ui .pagination > li > a,
body.narin-clientarea-ui .pagination > li > span {
  min-width: 36px;
  min-height: 36px;
  margin: 0 2px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

/* Service detail: shared shell only. Module-specific management screens stay intact. */
body.narin-template-clientareaproductdetails .narin-product-detail-page {
  margin-bottom: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.narin-template-clientareaproductdetails .narin-product-detail-page > .narin-page-topbar {
  margin-bottom: 20px;
}
body.narin-template-clientareaproductdetails .narin-product-detail-page > .tab-content {
  margin-bottom: 0 !important;
}
body.narin-template-clientareaproductdetails .narin-service-overview {
  overflow: hidden;
  border: 1px solid var(--narin-border);
  border-radius: 16px;
  background: #fff;
}
body.narin-template-clientareaproductdetails .narin-service-identity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(15,23,42,.07);
}
body.narin-template-clientareaproductdetails .narin-service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0,113,227,.12);
  border-radius: 12px;
  background: #eef5ff;
  color: var(--narin-blue);
  font-size: 17px;
}
body.narin-template-clientareaproductdetails .narin-service-identity-copy {
  min-width: 0;
}
body.narin-template-clientareaproductdetails .narin-service-identity-copy > span,
body.narin-template-clientareaproductdetails .narin-service-summary-grid dt {
  display: block;
  color: #718096;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}
body.narin-template-clientareaproductdetails .narin-service-identity-copy h3 {
  overflow: hidden;
  margin: 4px 0 0;
  color: #152033;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareaproductdetails .narin-service-identity-copy p {
  overflow: hidden;
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareaproductdetails .narin-service-identity-copy p i {
  margin-right: 5px;
  color: var(--narin-blue);
}
body.narin-template-clientareaproductdetails .narin-service-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edfdf5;
  color: #087c5b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
body.narin-template-clientareaproductdetails .narin-service-status.product-status-suspended,
body.narin-template-clientareaproductdetails .narin-service-status.product-status-terminated,
body.narin-template-clientareaproductdetails .narin-service-status.product-status-cancelled {
  background: #fff1f2;
  color: #be123c;
}
body.narin-template-clientareaproductdetails .narin-service-status.product-status-pending,
body.narin-template-clientareaproductdetails .narin-service-status.product-status-pendingpayment {
  background: #fffbeb;
  color: #b45309;
}
body.narin-template-clientareaproductdetails .narin-service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 4px 24px;
}
body.narin-template-clientareaproductdetails .narin-service-summary-grid dl {
  min-width: 0;
  margin: 0;
  padding: 15px 14px 15px 0;
}
body.narin-template-clientareaproductdetails .narin-service-summary-grid dl:nth-child(3n + 2),
body.narin-template-clientareaproductdetails .narin-service-summary-grid dl:nth-child(3n + 3) {
  padding-left: 14px;
  border-left: 1px solid rgba(15,23,42,.07);
}
body.narin-template-clientareaproductdetails .narin-service-summary-grid dd {
  overflow: hidden;
  margin: 5px 0 0;
  color: #27364d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.narin-template-clientareaproductdetails .narin-service-summary-due dd {
  color: #0f2748;
  font-size: 16px;
  font-weight: 800;
}
body.narin-template-clientareaproductdetails .narin-service-summary-due dt i {
  margin-right: 4px;
  color: var(--narin-blue);
}
body.narin-template-clientareaproductdetails .narin-service-summary-alert dd {
  color: #be123c;
}
body.narin-template-clientareaproductdetails .narin-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(15,23,42,.07);
}
body.narin-template-clientareaproductdetails .narin-service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--narin-border);
  border-radius: 9px;
  background: #fff;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}
body.narin-template-clientareaproductdetails .narin-service-action i {
  margin-right: 7px;
}
body.narin-template-clientareaproductdetails .narin-service-action-primary {
  border-color: #111827;
  background: #111827;
  color: #fff !important;
}
body.narin-template-clientareaproductdetails .narin-service-action-danger {
  border-color: rgba(190,24,93,.16);
  background: #fff7f8;
  color: #be123c !important;
}
body.narin-template-clientareaproductdetails .narin-service-action.disabled {
  cursor: default;
  opacity: .55;
  pointer-events: none;
}
body.narin-template-clientareaproductdetails .product-details-tab-container {
  margin-top: 12px;
  padding: 24px !important;
  border: 1px solid var(--narin-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.narin-template-clientareaproductdetails .product-details-tab-container .row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,.065);
}
body.narin-template-clientareaproductdetails .product-details-tab-container .row:last-child {
  border-bottom: 0;
}

@media (max-width: 575.98px) {
  body.narin-clientarea-ui .dataTables_wrapper {
    border-radius: 12px;
  }
  body.narin-clientarea-ui .dataTables_wrapper > .listtable {
    display: grid;
    gap: 10px;
    padding: 12px;
  }
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter,
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_length {
    float: none !important;
    width: 100%;
  }
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_length {
    padding: 0 12px 12px;
  }
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter label,
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_length label {
    justify-content: space-between;
  }
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter input,
  body.narin-clientarea-ui .dataTables_wrapper .dataTables_filter .form-control {
    flex-basis: min(64vw, 240px);
    width: min(64vw, 240px) !important;
  }
  body.narin-template-clientareaproductdetails .narin-product-detail-page > .tab-content > .tab-pane > .card > .card-body,
  body.narin-template-clientareaproductdetails .product-details-tab-container {
    padding: 16px !important;
  }
  body.narin-template-clientareaproductdetails .narin-service-identity {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px 16px;
  }
  body.narin-template-clientareaproductdetails .narin-service-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  body.narin-template-clientareaproductdetails .narin-service-status {
    grid-column: 2;
    justify-self: start;
  }
  body.narin-template-clientareaproductdetails .narin-service-identity-copy h3 {
    font-size: 17px;
    white-space: normal;
  }
  body.narin-template-clientareaproductdetails .narin-service-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 3px 16px;
  }
  body.narin-template-clientareaproductdetails .narin-service-summary-grid dl,
  body.narin-template-clientareaproductdetails .narin-service-summary-grid dl:nth-child(3n + 2),
  body.narin-template-clientareaproductdetails .narin-service-summary-grid dl:nth-child(3n + 3) {
    padding: 13px 10px 13px 0;
    border-left: 0;
  }
  body.narin-template-clientareaproductdetails .narin-service-summary-grid dl:nth-child(even) {
    padding-left: 10px;
    border-left: 1px solid rgba(15,23,42,.07);
  }
  body.narin-template-clientareaproductdetails .narin-service-summary-grid dd {
    white-space: normal;
  }
  body.narin-template-clientareaproductdetails .narin-service-actions {
    padding: 12px 16px 16px;
  }
  body.narin-template-clientareaproductdetails .product-details-tab-container .row {
    padding: 10px 0;
  }
}


/* Notification counter badge */
.top-bar-dropdown.notification.narin-notification-dropdown { position: relative; }
.narin-notification-btn { display: inline-flex !important; align-items: center; gap: 8px; position: relative; }
.narin-notification-icon-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.narin-notification-count {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(255,59,48,.28);
  font-size: 11px;
  font-weight: 850;
  line-height: 14px;
  text-align: center;
  letter-spacing: -.02em;
  z-index: 2;
}
@media (max-width: 575.98px) {
  .narin-notification-count { top: -8px; right: -9px; min-width: 17px; height: 17px; font-size: 10px; line-height: 13px; }
}


/* Client balance pill */
.narin-client-balance-item {
  display: inline-flex;
  align-items: center;
}
.narin-client-balance-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  min-height: 30px;
  padding: 0 !important;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.01em;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.narin-client-balance-link {
  align-items: center;
  color: #111827 !important;
  display: inline-flex !important;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.narin-client-balance-link + .narin-client-balance-link {
  border-left: 1px solid rgba(15,23,42,.08);
}
.narin-client-balance-link i {
  font-size: 15px;
  color: #0f172a;
}
.narin-client-balance-icon {
  align-items: center;
  background: #0f766e;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 20px;
  font-size: 12px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}
.topbar .left-topbar ul li .narin-client-balance-icon {
  align-items: center !important;
  background: #0f766e !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  flex: 0 0 20px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  height: 20px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 20px !important;
  text-align: center !important;
  width: 20px !important;
}
.narin-client-balance-link span {
  color: #64748b;
}
.narin-client-balance-link strong {
  color: #0f172a;
  font-weight: 850;
  white-space: nowrap;
}
.narin-client-balance-bonus i,
.narin-client-balance-bonus .narin-client-balance-icon,
.narin-client-balance-bonus strong {
  color: #0f766e;
}
.narin-client-balance-bonus .narin-client-balance-icon {
  color: #fff;
}
.narin-client-balance-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15,23,42,.12);
}
@media (max-width: 767.98px) {
  .narin-client-balance-link { padding: 6px 8px !important; font-size: 12px; }
}

/* Remove any separator line between Account and Credit in the topbar */
.topbar .left-topbar ul > li.topbar-dropdown-two,
.topbar .left-topbar ul > li.narin-client-balance-item {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
.topbar .left-topbar ul > li.topbar-dropdown-two::before,
.topbar .left-topbar ul > li.topbar-dropdown-two::after,
.topbar .left-topbar ul > li.narin-client-balance-item::before,
.topbar .left-topbar ul > li.narin-client-balance-item::after,
.left-topbar ul > li.topbar-dropdown-two::before,
.left-topbar ul > li.topbar-dropdown-two::after,
.left-topbar ul > li.narin-client-balance-item::before,
.left-topbar ul > li.narin-client-balance-item::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.topbar .left-topbar ul > li.narin-client-balance-item {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
/* Dashboard card headings are content, never sticky navigation. */
body.narin-template-clientareahome .narin-dashboard-panel-header.header-sticky {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: auto !important;
  animation: none !important;
}

/* Service cancellation request: keep the billing choice and form actions distinct. */
body.narin-template-clientareacancelrequest .narin-cancellation-request {
  max-width: 980px;
  margin: 0 auto;
}
body.narin-template-clientareacancelrequest .narin-cancellation-request > .alert {
  margin-bottom: 18px;
}
body.narin-template-clientareacancelrequest .narin-cancellation-form {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .055);
}
body.narin-template-clientareacancelrequest .narin-cancellation-reason {
  display: grid;
  gap: 9px;
}
body.narin-template-clientareacancelrequest .narin-cancellation-reason textarea {
  width: 100%;
  min-height: 156px;
  padding: 14px 16px;
  resize: vertical;
}
body.narin-template-clientareacancelrequest .narin-cancellation-domain-warning {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
}
body.narin-template-clientareacancelrequest .narin-cancellation-domain-warning p {
  margin: 0;
}
body.narin-template-clientareacancelrequest .narin-cancellation-domain-confirm {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 0;
  cursor: pointer;
  line-height: 1.45;
}
body.narin-template-clientareacancelrequest .narin-cancellation-domain-confirm .form-check-input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}
body.narin-template-clientareacancelrequest .narin-cancellation-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}
body.narin-template-clientareacancelrequest .narin-cancellation-type {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
}
body.narin-template-clientareacancelrequest .narin-cancellation-type select {
  width: 100%;
  padding-right: 42px;
}
body.narin-template-clientareacancelrequest .narin-cancellation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
body.narin-template-clientareacancelrequest .narin-cancellation-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  margin: 0;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  body.narin-template-clientareacancelrequest .narin-cancellation-form {
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
  }
  body.narin-template-clientareacancelrequest .narin-cancellation-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  body.narin-template-clientareacancelrequest .narin-cancellation-type {
    width: 100%;
  }
  body.narin-template-clientareacancelrequest .narin-cancellation-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  body.narin-template-clientareacancelrequest .narin-cancellation-actions .btn {
    width: 100%;
  }
}
