/* =====================================================================
   All in Mova — Vendor Portal
   Bootstrap 5 companion theme (brand overrides + custom components)
   ===================================================================== */

:root {
  /* brand */
  --brand: #F2701D;
  --brand-dark: #DB6314;
  --brand-soft: rgba(242, 112, 29, 0.12);
  --brand-ring: rgba(242, 112, 29, 0.20);

  /* peach side panel */
  --peach: #FCEFE3;
  --peach-circle: #FBE0C8;

  /* text + lines */
  --heading: #1C1C1E;
  --label: #404650;
  --muted: #8B929C;
  --placeholder: #A2A7AF;
  --border: #E6E8EC;
  --card-border: #ECEEF1;
  --dash: #D9DCE1;

  /* status */
  --green: #4CAF50;  --green-soft: #D8F5E3;
  --amber: #E2982E;  --amber-soft: #FBE6C2;
  --num-bg: #F1F2F4; --num-text: #9AA0A8;

  /* hook into Bootstrap */
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: var(--heading);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-dark);
  --bs-border-color: var(--border);
  --bs-primary: var(--brand);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.link-quiet { color: var(--brand); font-weight: 400; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }
.text-muted-soft { color: var(--muted) !important; }

/* =========================== Buttons =============================== */

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-y: 10px  ;
  --bs-btn-padding-x: 15px;
  --bs-btn-border-radius: 4px;
  font-size: 15px;
}

.btn:hover {
    background: #FB7701;
    color: white;
    border: none;
}

.btn-primary {
  --bs-btn-bg: var(--brand);            --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);--bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-disabled-bg: var(--brand);   --bs-btn-disabled-border-color: var(--brand);
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
}
.btn-outline-primary {
  --bs-btn-color: var(--brand);  --bs-btn-border-color: var(--brand); --bs-btn-border-width: 1.5px;
  --bs-btn-hover-bg: var(--brand-soft);  --bs-btn-hover-color: var(--brand);  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-bg: var(--brand-soft); --bs-btn-active-color: var(--brand); --bs-btn-active-border-color: var(--brand);
}
.btn-browser {
  --bs-btn-bg: #EFEFEF; --bs-btn-border-color: #EFEFEF;
  --bs-btn-hover-bg: #e6e6e6; --bs-btn-hover-border-color: #e6e6e6;
  --bs-btn-color: #2D2D2D; --bs-btn-hover-color: #2D2D2D;
  --bs-btn-font-weight: 500; font-size: 0.9rem; border-radius: 8px;
}

/* =========================== Form controls ========================= */
.form-label { font-weight: 500; color: var(--label); margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-control, .form-select {
  border-color: var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--heading);
}
.form-control::placeholder { color: var(--placeholder); }
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem var(--brand-ring);
}
textarea.form-control { min-height: 92px; }
select.form-select:not(.has-value) { color: var(--placeholder); }

/* =========================== Checkbox ============================== */
.form-check-input {
  width: 1.2rem; height: 1.2rem; margin-top: 0.18rem;
  border: 1.5px solid var(--border); border-radius: 0.4rem;
}
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 0.2rem var(--brand-ring); }
.form-check-label { color: var(--label); padding-left: 0.35rem;font-size: 14px; }
.form-check-label a { color: var(--brand); font-weight: 500; text-decoration: none; }

/* =========================== Split layout ========================== */
.brand-panel { background: var(--peach); }
.brand-title {
  font-weight: 600; letter-spacing: -0.02em; color: var(--heading);
  font-size: clamp(28px, 3vw, 40px); line-height: 1.12;
}
.brand-sub { color: var(--muted); max-width: 30ch; }
.illustration { width: 100%; max-width: 420px; }

/* right column: full-height, scroll-safe vertical centering */
.form-scroll { overflow-y: auto; }
.form-wrap { width: 100%; max-width: 400px; margin: auto; }

/* =========================== Page headings ========================= */
.page-title {
  font-weight: 600; letter-spacing: -0.02em; color: var(--heading);
  font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15;
}
.page-sub { color: var(--muted); font-size: 1rem; max-width: 34ch; }

/* =========================== Password eye ========================== */
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 3rem; }
.eye-btn {
  position: absolute; top: 50%; right: 0.4rem; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px;
}
.eye-btn:hover { color: var(--label); }
.eye-btn svg { width: 20px; height: 20px; }

/* =========================== Cards ================================= */
.card {
  --bs-card-border-color: var(--card-border);
  --bs-card-border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.card-title { font-weight: 600; color: var(--heading); font-size: 1rem; }

/* =========================== Logo uploader ========================= */
.logo-preview {
  width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto;
  background: #ECECEC center/cover no-repeat; display: grid; place-items: center; overflow: hidden;
}
.logo-preview svg { width: 26px; height: 26px; color: #B9BEC5; }
.logo-input { flex: 1; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.logo-name { flex: 1; padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--placeholder); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-name.filled { color: var(--heading); }
.logo-input .btn-browser { border-radius: 0; border-left: 1px solid var(--border); }
.logo-hint { font-size: 0.8rem; color: var(--muted); }

/* =========================== Dropzone ============================== */
.dropzone {
  position: relative; border: 1.6px dashed var(--dash); border-radius: 14px;
  background: #FCFCFD; padding: 1.6rem 1.1rem; text-align: center; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone:hover { border-color: var(--brand); }
.dropzone.dragover { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input[type="file"] { display: none; }
.dz-label { font-weight: 500; color: var(--label); font-size: 0.95rem; margin-bottom: 0.6rem; }
.dz-icon { width: 40px; height: 40px; margin: 0 auto 0.75rem; color: #A8AEB6; }
.dz-icon svg {
    width: 45px;
}
.dz-main { color: var(--muted); font-size: 0.95rem; }
.dz-sub { color: var(--placeholder); font-size: 0.8rem; margin-top: 0.25rem; }
.dz-file { color: var(--brand); font-weight: 600; font-size: 0.8rem; margin-top: 0.5rem; word-break: break-all; }

/* =========================== Status timeline ======================= */
.status-item {
  display: flex; align-items: center; gap: 0.9rem;
  border: 1px solid var(--card-border); border-radius: 12px; padding: 0.9rem 1rem;
}
.status-ic {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: 0.9rem;
}
.status-ic svg { width: 34px; height: 34px; }
.status-ic.done { background: var(--green-soft); color: var(--green); }
.status-ic.review { background: var(--amber-soft); color: var(--amber); }
.status-ic.pending { background: var(--num-bg); color: var(--num-text); }
.status-tt { font-weight: 600; color: var(--heading); font-size: 0.95rem; }
.status-ss { color: var(--muted); font-size: 0.82rem; }

/* =========================== Avatar ================================ */
.avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #F1EDE8; margin: 0 auto; }
.avatar img{
  width: 100%;
  height: 100%;
}
/* =========================== Toast (no clash with .toast) ========== */
.app-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: #1f2430; color: #fff; font-size: 0.9rem; padding: 0.75rem 1.1rem;
  border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1080; max-width: calc(100vw - 32px);
}
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================== Footer link line ===================== */
.foot-line { color: var(--label); font-weight: 500; }
.brand-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.brand-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* =========================== Team Management ======================= */
.tm-page { background: var(--peach); min-height: 100vh; }

.tm-nav { padding: 2.0rem; border-bottom: 1px solid #FFE3CA; }
.tm-brand { color: var(--brand); font-weight: 600; font-size: 22px; text-decoration: none; }

.tm-content {     
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 3rem; 
  }

.tm-title-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.tm-title-row p.brand-sub{
  max-width: 100%;
}
.btn-add-member {
  white-space: nowrap;
  padding: 12px 10px;
}

.member-list { display: flex; flex-direction: column; gap: 0.75rem; }

.member-card {
  background: #fff;
  border-radius: 16px;
  padding: 0.875rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
  justify-content: space-between;
}
.infopart{
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.btnpart{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.member-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: #E8EAED;
  display: grid;
  place-items: center;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.member-info { flex: 1; min-width: 0; }
.member-name { font-weight: 600; font-size: 0.95rem; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.member-email { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }

.member-badge {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  padding: 6px;
  border-radius: 6px;
}
.badge-owner   { background: transparent; color: #C813B0; border: 1px solid #EEEEEE; transition: background 0.15s, color 0.15s; }
.badge-manager { background: #E4F7FF;           color: #26A1F4; transition: background 0.15s, color 0.15s; }

.badge-owner:hover   { background: #C813B0; color: #fff; }
.badge-manager:hover { background: #26A1F4;           color: #E4F7FF; }
/* .badge-staff   { background: var(--num-bg);      color: var(--muted); } */

.member-actions { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; }

.action-btn {
  width: 30px; 
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: none;
  display: grid; place-items: center;
  cursor: pointer;
  transition: opacity 0.15s;
  flex: 0 0 auto;
}
.action-btn:hover { opacity: 0.75; }
.action-btn svg { width: 100%; height: 100%; }
/* .action-edit   { background: #E3EBF6; color: #4A7ABE; } */
/* .action-delete { background: #FDECEA; color: #E53935; } */

/* =========================== Vendor Settings ======================= */
.vs-page { background: #fff; min-height: 100vh; }

.vs-nav { padding: 2rem; border-bottom: 1px solid #FFDDBE; }
.vs-brand { color: var(--brand); font-weight: 600; font-size: 22px; text-decoration: none; }

.vs-content { max-width: 100%; padding: 3rem 2rem 3rem; }

.vs-title { font-weight: 700; color: var(--heading); font-size: clamp(24px, 3vw, 30px); margin-bottom: 1.5rem; }

.vs-card {
  border: 1px solid #FFDDBE;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.vs-card-title {
  font-weight: 700;
  color: var(--heading);
  font-size: 18px;
  padding: 1rem 1.25rem 15px;
  /* border-bottom: 1px solid var(--card-border); */
}

.vs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}
/* .vs-row + .vs-row { border-top: 1px solid var(--card-border); } */

.vs-row-info { flex: 1; min-width: 0; }
.vs-row-label { font-size: 16px; font-weight: 500; color: var(--heading); line-height: 1.4; }
.vs-row-sub { font-size: 16px; color: var(--muted); margin-top: 0.1rem; }

.vs-row-action { flex: 0 0 auto; }

.vs-row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 1.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}
/* .vs-row-link + .vs-row-link { border-top: 1px solid var(--card-border); } */
.vs-row-link:hover { background: #fafafa; }
.vs-row-link .vs-row-label { color: var(--heading); }
.vs-row-link.danger .vs-row-label { color: #E53935; }

.vs-chevron {
  width: 18px; height: 18px;
  color: var(--muted);
  flex: 0 0 auto;
}

/* Toggle switch */
.vs-toggle.form-check { padding: 0; margin: 0; }
.vs-toggle .form-check-input {
  width: 2.6rem;
  height: 1.45rem;
  margin: 0;
  cursor: pointer;
  border-radius: 1rem;
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s;
}
.vs-toggle .form-check-input:checked {
  background-color: var(--green);
  border-color: var(--green);
}
.vs-toggle .form-check-input:focus {
  box-shadow: none;
  border-color: var(--green);
}
.vs-toggle .form-check-input:checked:focus {
  border-color: var(--green);
}

/* =========================== Dashboard ============================= */

.dash-body {
  background: #F5F6FA;
  margin: 0;
  overflow: hidden;
}

.sidebar-is-open {
  overflow: hidden;
}

/* ---- Wrapper ---- */
.dash-wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ---- Sidebar ---- */
.dash-sidebar {
  width: 290px;
  flex: 0 0 290px;
  background: #F9F9F9;
  /* border-right: 1px solid var(--border); */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 300;
  transition: transform 0.27s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 1.25rem;
  flex: 0 0 auto;
}

.sidebar-brand {
  color: var(--brand);
  font-weight: 600;
  font-size: 22px;
  text-decoration: none;
}

.sidebar-close-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 0;
  flex: 0 0 auto;
}
.sidebar-close-btn:hover { background: var(--border); color: var(--label); }

.sidebar-nav {
  padding: 0.5rem 22px 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 13px 10px 13px 0px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--label);
  font-size: 16px;
  font-weight: 400;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.sidebar-link:hover {
  /* background: var(--brand-soft); */
  color: var(--brand);
}
.sidebar-link:hover svg path, .sidebar-link.active svg path {
  fill: var(--brand);
}
.sidebar-link.active {
  /* background: var(--brand-soft); */
  color: var(--brand);
}
.sidebar-link .nav-icon { stroke: var(--muted); transition: stroke 0.12s ease; }
.sidebar-link:hover .nav-icon,
.sidebar-link.active .nav-icon { stroke: var(--brand); }

.nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* ---- Mobile overlay ---- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 299;
  opacity: 0;
  transition: opacity 0.27s ease;
}
.sidebar-overlay.overlay-active {
  display: block;
  opacity: 1;
}

/* ---- Main column ---- */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ---- Topbar ---- */
.dash-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 0 0 auto;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hamburger-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 9px;
  display: none;
  place-items: center;
  color: var(--heading);
  flex: 0 0 auto;
  padding: 0;
}
.hamburger-btn:hover { background: var(--border); }

.topbar-heading { min-width: 0; }

.topbar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.25;
}

.topbar-sub {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.topbar-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--brand);
  transition: border-color 0.12s, color 0.12s;
  padding: 0;
}
.topbar-icon-btn:hover { border-color: var(--brand); color: var(--brand); }

.topbar-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* background: var(--brand); */
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  flex: 0 0 36px;
  padding: 0;
  transition: background 0.12s;
}
.topbar-avatar-btn:hover { background: var(--brand-dark); }

/* ---- Content area ---- */
.dash-content {
  background-color: #fff;
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
/* .dash-content .li-panel:last-child{
  height: fit-content;
} */

/* ---- Stats row ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
}
.stat-icon svg { width: 30px; height: 30px;}

.stat-icon--teal   { background: #01CFC3; }
.stat-icon--orange { background: #FF9066;  }
.stat-icon--green  { background: #77BD65;  }
.stat-icon--amber  { background: #FFD46B; }

.stat-num {
  font-size: 30px;
  font-weight: 700;
  color: #FB7701;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: var(--muted);
  margin-top: 0.25rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ---- Dashboard card ---- */
.dash-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem 1.375rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
.dash-card.h100{
  height: 100%;

}

.dash-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 40px;
  margin-top: 0;
}

/* ---- Revenue chart ---- */
.chart-wrap {
  position: relative;
  height: 220px;
}

/* ---- Order status ---- */
.order-status-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.order-status-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.dot-title {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: space-between;
}

.prograce-count {
    display: flex;
    flex: 0 0 100%;
}

.os-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /* flex: 0 0 10px; */
  margin-right: 20px;
}
.os-dot--yellow { background: #F0B100; }
.os-dot--blue   { background: #2B7FFF; }
.os-dot--purple { background: #AD46FF; }
.os-dot--green  { background: #00C950; }

.os-label {
  font-size: 18px;
  color: var(--label);
  font-weight: 400;
  display: contents;
  flex: 0 0 78px;
}

.os-bar-wrap {
  flex: 1;
  height: 6px;
  background: #F1F2F4;
  /* border-radius: 99px; */
  overflow: hidden;
}

.os-bar {
  height: 100%;
  border-radius: 99px;
  min-width: 5px;
}
.os-bar--yellow { background: #E2A800; }
.os-bar--blue   { background: #26A1F4; }
.os-bar--purple { background: #7C3AED; }
.os-bar--green  { background: #4CAF50; }
.os-bar--orange { background: var(--brand); }

.os-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading);
  flex: 0 0 32px;
  text-align: right;
}

.recent-order .dash-card-title{
  margin-bottom: 24px;
}
.recent-order.dash-card{
  height: auto;
}

/* ---- Orders table ---- */
.orders-table {
  width: 100%;
  /* border-collapse: separate; */
  border-spacing: 0;
  font-size: 0.855rem;
}
.active-dot{
  position: relative; 
  padding-left: 10px;
}

.active-dot::before{
  position: absolute;
  content :'';
  display: block;
  top:50%;
  left:0;
  transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #008236;
}

.sidebar-brand-row .sidebar-close-btn{
  display: none;
}

.orders-table thead tr { background: var(--brand) ;  }

.orders-table thead th {
  padding: 0.75rem 1rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.orders-table thead th:first-child { border-radius: 8px 0 0 0; }
.orders-table thead th:last-child  { border-radius: 0 8px 0 0; }

.orders-table tbody { border: 1px solid var(--card-border); }
.orders-table tbody tr:last-child td { border-bottom: none; }

.orders-table tbody tr:last-child td:first-child { border-radius: 0 0 0 8px; }
.orders-table tbody tr:last-child td:last-child  { border-radius: 0 0 8px 0; }

.orders-table tbody td {
  padding: 0.875rem 1rem;
  color: var(--label);
  white-space: nowrap;
  vertical-align: middle;
}
.orders-table tbody tr {
  border-bottom: 1px solid #E3E3E3;
}
/* .order-id { font-weight: 600; color: var(--heading); } */

/* ---- Order status badges ---- */
.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 7px;
}

.badge-pending    { background: #FFEEC3; color: #CE8106; border: 1px solid #CE8106; }
.badge-confirmed  { background: #ECF7FF; color: #2041BF; border: 1px solid #2041BF; }
.badge-processing { background: #F3F3FF; color: #6C43A3; border: 1px solid #6C43A3; }
.badge-delivered  { background: #E8FDF6; color: #047A37; border: 1px solid #047A37; }
.badge-cancelled  { background: #FDF1F0; color: #B70803; border: 1px solid #B70803; }

/* ---- Payment status ---- */
.pay-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.pay-status svg { flex: 0 0 19px; }

.pay-pending  { color: var(--muted); }
.pay-paid     { color: #008236; }
.pay-unpaid   { color: #F34235; }
.pay-refunded { color: #2B7FFF; }

/* ---- View button ---- */
.view-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 0;
  transition: background 0.12s, color 0.12s;
}
.view-btn:hover { background: var(--border); color: var(--label); }


.ord-over .card {
    background: #FDFDFD;
    border-radius: 0px;
    padding: 0px 40px 28px;
    width: 100%;
    border: 0
  }
 
  .metric-label {
    font-size: 18px;
    font-weight: 500;
    margin:0px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
  }
 
  .metric-value {
    font-size: 40px;
    font-weight: 600;
    color: var(--heading);
    text-align: center;
    line-height: 1.1;
    margin: 6px 0 4px;
  }
 
  .chart-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #9b9b9b;
    padding-top:5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
  }
 
  .chart-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
  }
  .ord-over.chart-wrap{
    height: auto;
  }
 
  .legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
 
  .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
  }
 
  .legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 2px;
  }

.revenue-analytics .stats-row{
  grid-template-columns: repeat(3, 1fr);
}
.stat-icon--dark-green{
  background: #4CAF50;
}
.stat-icon--blue{
  background: #155DFC;
}
.stat-icon--purple{
  background: #C479FF;
}
.stat-num.dark-green{
  color: #4CAF50;
}
.stat-num.blue{
  color: #155DFC;
}
.stat-num.purple{
  color: #C479FF;
}


.tabs {
  display: flex;
  gap: 4px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 4px;
  background: #fff;
}

.tab {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.tab:hover { background: #f3f4f6; color: #111; }

.tab.active {
  background: #F6F6F6;
  color: #000;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
}

/* Custom tooltip */
.custom-tooltip {
  position: absolute;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 10;
}

.custom-tooltip.visible { opacity: 1; }

.tooltip-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.tooltip-value-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.tooltip-value {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.tooltip-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #e8f8ed;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 600;
  color: #22a84a;
}

.tooltip-badge svg { width: 13px; height: 13px; }

.tooltip-sparkline {
  display: inline-block;
  vertical-align: middle;
}

.tooltip-vs {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.tooltip-date {
  display: inline-block;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 12px;
  color: #555;
  padding: 4px 10px;
  margin-top: 2px;
}

.crosshair-line {
  position: absolute;
  top: 0;
  width: 1px;
  border-left: 1.5px dashed #ccc;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}
.revenue-analytics .dash-card-title{
  margin-bottom: 20px;
}
.revenue-analytics .title-cal{
  margin-bottom: 20px;
}
.revenue-analytics .card{
  border: 0px;
  box-shadow: none;
  padding: 0 30px 30px;
  background-color: #FDFDFD;
}

.product-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  /* border-bottom: 1px solid #f0f0f0; */
}

.product-item:last-child {
  border-bottom: none;
}

.product-thumb {
  width: 40px;
  height: 40px;
  background: #f3f0f0;
  border-radius: 10px;
  flex-shrink: 0;
}

.product-name {
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  margin-left: 16px;
  flex: 1;
}

.product-price {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
.single-full-block{
  width: 100%;
}
.single-full-block .os-bar-wrap{
  flex: 0 0 85%;
}

/*ORDER MANAGEMENT*/

.btn-typ1{
  border: 1px solid #FB7701;
  color: #FB7701;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.5s;
  margin-right: 10px;
  background-color: transparent;
}
.btn-typ1:hover{
  background-color: #FB7701;
  color: #fff;
}

.btn-typ2{
  border: 1px solid #FB7701;
  background-color: #FB7701;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.5s;
  margin-right: 10px;
}
.btn-typ2:hover{
  color: #FB7701;
  background-color: #fff;
}
.orders{
  margin-bottom: 30px;
}
.orders .stats-row {
    grid-template-columns: repeat(5, 1fr);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 ;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid #c8c5bc;
  border-radius: 8px;
  padding: 7px 12px;
  background: #fff;
  width: 200px;
}

.search-box i {
  color: #888780;
  font-size: 16px;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #888780;
  width: 100%;
}
.orders .btn-wrap {
    display: flex;
    padding-top: 20px;
}

.orders .tabs {
  display: flex;
  gap: 1.5rem;
  border: 0;
  margin-left: auto;
}

.orders .tab {
  font-size: 16px;
  color: #888780;
  cursor: pointer;
  padding: 4px 0;
  background-color: transparent;
  text-decoration: none;
}


.orders .tab.active, .orders .tab:hover {
  color: #E57B28;
  font-weight: 500;
}

/* Table wrapper */
.orders .table-wrap {
  border: 0.5px solid #e0ddd4;
  border-radius: 12px;
  background: #fff;
  overflow: scroll;
}

.orders table {
  width: 100%;
  border-collapse: collapse;
}

.orders tbody tr {
  border-bottom: 0.5px solid #e0ddd4;
  background-color: #FDFDFD;
  padding: 20px 10px;
}

.orders tbody tr:last-child {
  border-bottom: none;
}

.orders tbody td {
  padding: 25px 16px;
  font-size: 14px;
  color: #1a1a1a;
  vertical-align: middle;
}

.order-id {
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.customer-name {
  font-weight: 500;
  font-size: 14px;
}

.items-count {
  font-size: 12px;
  color: #888780;
  margin-top: 2px;
}

.amount {
  color: #00C950;
  font-weight: 500;
  white-space: nowrap;
}

.date-time {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.5;
  white-space: nowrap;
}

/* Status badges */
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 8px 15px;
  border-radius: 4px;
  border: 0px;
  font-weight: 500;
  white-space: nowrap;
}

.orders .badge-pending    { background: #CE81061C; color: #CE8106; }
.orders .badge-processing { background: #26A1F41C; color: #26A1F4; }
.orders .badge-shipped    { background: #AD46FF1C; color: #AD46FF; }
.orders .badge-delivered  { background: #00C9501C; color: #00C950; }

.view-link {
  color: #2176AE;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.view-link:hover { text-decoration: underline; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.showing {
  font-size: 13px;
  color: #5f5e5a;
}

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

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 0.5px solid #c8c5bc;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  color: #5f5e5a;
  font-family: inherit;
}

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

.page-btn:hover:not(.active) {
  background: var(--brand);
  color: #fff;
}

/* =====================================================================
   ORDER DETAILS PAGE
   ===================================================================== */

.order-detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Shared card */
.od-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem 1.375rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
.od-card:last-child { margin-bottom: 0; }

.od-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 1rem;
}

/* --- Customer card --- */
.od-customer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.od-customer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  background: #f1ede8;
}
.od-customer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.od-customer-name { font-size: 16px; font-weight: 600; color: var(--heading); }
.od-customer-since { font-size: 14px; color: var(--muted); margin-top: 2px; }

.od-customer-contact { margin-bottom: 1rem; }
.od-contact-row { font-size: 14px; color: var(--muted); line-height: 1.8; }

.od-customer-stats { border-top: 1px solid var(--card-border); padding-top: 0.875rem; margin-bottom: 1rem; }
.od-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 3px 0;
}
.od-stat-label { color: var(--muted); }
.od-stat-value { font-weight: 400; color: var(--heading); }
.od-stat-value.green, .green { color: #00C950; }

.od-profile-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.od-profile-btn:hover { background: var(--brand); color: #fff; }

/* --- Payment card --- */
.od-pay-row { margin-bottom: 2px; }
.od-pay-label { font-size: 14px; color: var(--muted); }
.od-pay-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.od-pay-method { font-size: 14px; font-weight: 600; color: var(--heading); }
.od-pay-status-badge {
  font-size: 12px;
  font-weight: 400;
  color: #00C950;
  /* background: #00C9501C; */
  padding: 3px 10px;
  border-radius: 5px;
}
.od-pay-detail { margin-bottom: 0.625rem; }
.od-pay-detail-label { font-size: 13px; color: var(--muted); }
.od-pay-detail-val { font-size: 13px; color: var(--label); margin-top: 2px; word-break: break-all; }

/* --- Timeline --- */
.od-timeline { display: flex; flex-direction: column; }
.od-timeline-item {
  display: flex;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 1.125rem;
}
.od-timeline-item.od-tl-last { padding-bottom: 0; }
.od-timeline-item.od-tl-last::after {content: none;}

.od-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 10px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.od-timeline-item::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 4px;
  /* transform: translateX(-50%); */
  width: 1px;
  height: 70%;
  background: #d4d4d4;
}
.od-tl-event { font-size: 14px; font-weight: 500; color: var(--heading); }
.od-tl-meta  { font-size: 14px; color: var(--muted); margin-top: 2px; font-weight: 400;  }

/* --- Order Stepper --- */
.od-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.od-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.od-step:not(.od-step--last) .od-step-line {
  position: absolute;
  top: 35px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 2px;
  background: #d4d4d4;
}
.od-step--done.od-step .od-step-line{
  background: #00c950;
}
.od-step--done .od-step-line,
.od-step--active .od-step-line { background: var(--brand); }

.od-step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.od-step--done .od-step-circle  { background: #00c950; color: #fff; }
.od-step--active .od-step-circle { background: #2B7FFF; color: #fff; }
.od-step--pending .od-step-circle { background: #f1f2f4; color: #000; border: 2px solid var(--card-border); }

.od-step-label { 
  font-size: 16px;
    font-weight: 500;
    padding-top: 19px;
    color: var(--heading);
 }
.od-step-sub   { font-size: 14px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* --- Order Items --- */
.od-items-table { margin-bottom: 0; }
.od-item-row {
  display: grid;
  grid-template-columns: 48px 1fr 60px 80px 80px;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
}
.od-item-row.od-item-header { border-bottom: none; padding-bottom: 4px; }
.od-item-row:last-child { border-bottom: none; }

.od-col-label { font-size: 12px; color: var(--muted); text-align: center; font-weight: 500; }
.od-item-col { font-size: 13px; color: var(--label); text-align: center; }
.od-item-total { font-weight: 600; color: #00C950; }
.od-item-col.od-col-label{
  color: var(--muted);
}
.od-thumb-box {
  width: 54px;
  height: 54px;
  background: #D9D9D9;
  border-radius: 8px;
}
.od-item-name { font-size: 15px; font-weight: 500; color: var(--heading); }
.od-item-sku  { font-size: 13px; color: #B3B3B4; margin-top: 2px; }

/* --- Summary --- */
.od-summary {
  border-top: 1px solid var(--card-border);
  margin-top: 0.875rem;
  padding-top: 0.875rem;
}
.od-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--label);
  padding: 4px 0;
}
.od-discount { color: #00C950; }
.od-total { font-size: 15px; font-weight: 700; color: var(--heading); border-top: 1px solid var(--card-border); margin-top: 6px; padding-top: 10px; }

/* --- Shipping --- */
.od-shipping-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.25rem;
}
.od-shipping-label { font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 0.5rem; }
.od-shipping-val   { font-size: 14px; color: var(--label); line-height: 1.7; }
.od-shipping-method { font-size: 14px; font-weight: 500; color: var(--heading); }
.od-shipping-eta    { font-size: 13px; color: var(--muted); margin-top: 2px; margin-bottom: 0.75rem; }

.od-tracking-badge {
  display: inline-flex;
  flex-direction: column;
  background: #EFF4FF;
  border-radius: 8px;
  padding: 8px 14px;
  gap: 2px;
}
.od-tracking-label { font-size: 11px; color: #5b7ec9; font-weight: 500; }
.od-tracking-num   { font-size: 13px; font-weight: 700; color: #2B4FC4; }

.orders .btn-wrap.botm {
    justify-content: flex-end;
}

/* =====================================================================
   UPDATE ORDER STATUS PAGE
   ===================================================================== */


/* Current status banner */
.us-current-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #DAEAFF;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 1.5rem;
}
.btn-typ-blue{
  background-color: #155DFC;
  border: 1px solid #155DFC;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
}
.btn-typ-blue:hover{
  background-color: #fff;
  color: #155DFC;
}
.us-current-label {
  font-size: 16px;
  color: #2273B1;
  font-weight: 500;
  margin-bottom: 2px;
}
.us-current-value {
  font-size: 15px;
  font-weight: 600;
  color: #1F7EFF;
}

.status-card{
  padding: 20px;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
}
/* Section title */
.us-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 1rem;
}

/* Status list */
.us-status-list {
  margin-bottom: 1.75rem;
  padding: 20px 20px 0 20px;
}

.us-status-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  position: relative;
  padding-bottom: 0;
}

.us-status-item input[type="radio"] { display: none; }

.us-status-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 4px;
  z-index: 1;
  position: relative;
}
.us-dot--green { background: #4CAF50; }
.us-dot--gray  { background: #C7CDD6; }

.us-status-connector {
  position: absolute;
  left: 9px;
  top: 30px;
  width: 2px;
  height: calc(100% + -29px);
  background: #000000;
  z-index: 0;
}
.us-status-last .us-status-connector { display: none; }

.us-status-body {
  flex: 1;
  padding-bottom: 45px;
}
.us-status-last .us-status-body { padding-bottom: 0; }

.us-status-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}
.us-status-desc {
  font-size: 16px;
  color: var(--muted);
  margin-top: 2px;
}

/* Highlight selected item */
/* .us-status-item:has(input:checked) .us-status-name { color: var(--brand); } */
.us-status-item:has(input:checked) .us-status-dot.us-dot--green { outline: 3px solid rgba(76,175,80,0.25); }

/* Form */
.us-form { display: flex; flex-direction: column; gap: 1rem; }

.us-form-group { display: flex; flex-direction: column; gap: 5px; }

.us-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.us-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--label);
}
.us-required { color: #F34235; }

.us-select,
.us-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--heading);
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.us-select:focus,
.us-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.us-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.us-select option[disabled] { color: var(--placeholder); }
input[type="date"].us-input { color: var(--muted); }
input[type="date"].us-input::-webkit-calendar-picker-indicator { opacity: 0.5; cursor: pointer; }

/* Dropzone */
.us-dropzone {
  border: 2px dashed var(--dash);
  border-radius: 10px;
  background: #fafbfc;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.us-dropzone:hover { border-color: var(--brand); background: var(--brand-soft); }

.us-dz-icon { margin-bottom: 4px; }
.us-dz-text {
  font-size: 18px;
  color: #000;
  font-weight: 500;
}

.us-browse-btn {
 background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 13px 36px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-top: 4px;
}
.us-browse-btn:hover { background: var(--brand-dark); }





/*----------------Ramendra css-----------------*/

/*----------------Product pages-----------------*/

.product_list {
  border: 1px solid #E8E8E8;
  padding: 15px;
  border-radius: 12px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #212529;
}

.page-title p {
  color: #6c757d;
  font-size: 14px;
  margin: 5px 0 0 0;
  font-weight: 400;
}

.btn-group-top {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-orange {
  background-color: #ff8c00;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #e67e00;
  color: white;
}

.btn-outline-orange {
  background-color: transparent;
  color: #ff8c00;
  border: 1px solid #ff8c00;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-orange:hover {
  background-color: #ff8c00;
  color: white;
}

.searchbar {
  width: auto;
  float: right;
  display: block;
  text-align: right;
}
.search-export {
    display: inline-block;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}
.search-export .searchbox {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 15px;
    width: calc(400px - 70px);
    float: left;
}

.search-export .search-box {
    margin: 0;
    padding: 0;
    z-index: 10;
    border: 0px;
}

.search-export .search-box svg {
    width: 20px;
    float: left;
    margin-right: 0px;
    margin-top: 5px;
}

.search-export .search-box input {
  width: 250px !important;
  float: left !important;
  padding: 6px 10px 6px 35px;
  border: 0px !important;
  border-radius: 4px;
  font-size: 14px;
}

.search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.search-export .searchbox .filter-btn {
    background: none;
    border: 0px;
    padding: 0px;
    border-radius: 0px;
    /* cursor: pointer; */
    /* color: #6c757d; */
    float: right;
    margin-top: 5px;
}

.export-btn {
  color: #28a745;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 10px;
  margin-left: 10px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
  width: 100%;
}

.select-all {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-all input{
  width: 20px;
  height: 20px;
}

.products-count {
    color: #00C950;
    font-weight: 600;
    font-size: 14px;
    background: #00C9501C;
    height: 34px;
    line-height: 34px;
    padding: 0px 10px;
    border-radius: 4px;
}

.bulk-actions {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  background-color: white;
  color: #212529;
  border: 1px solid #dee2e6;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.btn-danger-secondary {
  background-color: #6c757d;
  color: white;
  border: 1px solid #6c757d;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger-secondary:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

.products-table {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-row {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.3s ease;
}

.product-row:hover {
  background-color: #f8f9fa;
}

.product-row:last-child {
  border-bottom: none;
}

.product-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: 15px;
}

.product-img{
  margin-right: 10px;
}

.product-img img{
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-weight: 600;
  color: #212529;
  font-size: 14px;
  margin-bottom: 4px;
}

.product-sku {
  color: #adb5bd;
  font-size: 13px;
}

.product-price {
  width: 80px;
  text-align: center;
  font-weight: 600;
  color: #212529;
  font-size: 14px;
}

.product-stock {
  width: 60px;
  text-align: center;
  color: #6c757d;
  font-size: 13px;
}

.product-status {
  width: 120px;
  margin-left: 30px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  width: 90px;
  text-align: center;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
}

.status-out-of-stock {
  background-color: #f8d7da;
  color: #721c24;
}

.status-low-stock {
  background-color: #fff3cd;
  color: #856404;
}

.product-actions {
  width: 100px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* .action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  font-size: 16px;
  padding: 4px 8px;
  transition: color 0.3s ease;
} */

.action-btn:hover {
  color: #ff8c00;
}

.pagination-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.pagination-info {
  color: #6c757d;
  font-size: 14px;
}

.pagination {
  display: flex;
  gap: 5px;
  align-items: center;
}

.pagination-btn {
  background-color: white;
  border: 1px solid #dee2e6;
  padding: 6px 13px;
  border-radius: 4px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.pagination-btn.active {
  background-color: var(--brand);
  color: white;
  border-color: var(--brand);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {

  .page-header {
    flex-direction: column;
  }

  .btn-group-top {
    width: 100%;
    flex-wrap: wrap;
  }

  .product-row {
    flex-wrap: wrap;
  }

  .product-price,
  .product-stock,
  .product-actions {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {


  .page-title h1 {
    font-size: 20px;
  }

  .search-export {
    flex-direction: column;
  }

  .search-box {
    max-width: 100%;
  }
}

/*----------------- Category Selection ----------------*/

.section-subtitle {
  color: #999;
  font-size: 14px;
  margin-bottom: 30px;
}

.btn-primary-custom {
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    line-height: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #e67e00;
  color: white;
}

.category-box {
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.category-box.active {
  border-color: #2ecc71;
  background-color: #f0fdf4;
}

.category-box.inactive {
  border-color: #ddd;
  background-color: #f9f9f9;
  opacity: 0.6;
}

.category-box.inactive .category-name {
  color: #999;
}

.category-box.inactive .category-type {
  color: #ccc;
}

.category-box.active .category-name {
  color: #2ecc71;
}

.category-box.active .category-type {
  color: #666;
}

.category-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.category-type {
  font-size: 12px;
  color: #999;
}

.category-item {
    padding: 15px 15px;
    border: 1px solid #e8e8e8 !important;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    margin: 10px 0px;
    border-radius: 10px;
}

.category-item:hover {
  background-color: #FFFAF6 ;
  border: #FFE0C4 1px solid;
}

.category-item:first-child {
  border-top: none;
}

.category-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.category-item-subtitle {
  font-size: 12px;
  color: #999;
  margin: 3px 0 0 0;
}

.category-item-link {
  color: #999;
  font-size: 16px;
  margin-left: 20px;
}

.browse-section {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0;
  max-height: 600px;
  overflow-y: auto;
}

.browse-section .search-box {
  margin: 0;
  padding: 15px !important;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  border: none;  
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.browse-section .search-box input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 15px;
  width: 100%;
}

#categoriesList {
    margin: 0;
    padding: 20px;
}

.subcategory-item {
    padding: 12px 15px 12px 45px;
    border-bottom: 0;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: none;
    font-size: 14px;
    color: #333;
}

.subcategory-item:hover {
  background-color: #f0f0f0;
}

.subcategory-item:last-child {
  border-bottom: 1px solid #e8e8e8;
}

.category-attributes {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
  margin-top: 20px;
}

.attribute-group {
  margin-bottom: 15px;
}

.attribute-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.form-check {
  margin-bottom: 8px;
}

.form-check-label {
  margin-left: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #2ecc71;
  border-color: #2ecc71;
}

.required-text {
  color: #999;
  font-size: 12px;
  margin-bottom: 15px;
  display: block;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.selected-category-section {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px;
}

.confirmCategory {
  width: 100%;
}

/*------------ Add Product ---------------*/

.section-subtitle {
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-outline-custom {
  background-color: transparent;
  color: #ff8c00;
  border: 1px solid #ff8c00;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #ff8c00;
  color: white;
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.upload-area {
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 30px;
  text-align: center;
  background-color: #fafafa;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: #ff9800;
  background-color: #fff8f0;
}

.upload-box {
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  display: inline-block;
  width: 100%;
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
}

.upload-box .upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.upload-box icon {
  font-size: 30px;
  color: #ddd;
}

.btn-group-custom {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.required::after {
  content: " *";
  color: red;
}

/*---------------- edit product -----------------*/

.section-subtitle {
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
}


.btn-outline-custom {
  border-color: #ff9800;
  color: #ff9800;
}

.btn-outline-custom:hover {
  background-color: #ff9800;
  color: white;
}

.btn-delete {
  border-color: #ff9800;
  color: #ff9800;
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.upload-area {
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 30px;
  text-align: center;
  background-color: #fafafa;
  cursor: pointer;
}

.upload-box {
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  display: inline-block;
  width: 100%;
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.upload-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.upload-box .upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.upload-box .close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: white;
  border: 1px solid #ddd;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  z-index: 10;
}

.status-card {
    /* border: 1px solid #FB7701; */
    border-radius: 8px;
    padding: 20px;
    /* background-color: #FFFBF8; */
    margin-bottom: 20px;
}

.status-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-card-header h5{
  font-size: 16px;
  font-weight: 600;
}

.status-card-header p{
  font-size: 14px;
  font-weight: 400;
  color: #616C7B;
}

.alert-warning-light {
    background-color: #FEFCE8;
    border: 1px solid #FCE100;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn-group-custom {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.required::after {
  content: " *";
  color: red;
}

.toggle-switch {
  width: 50px;
  height: 26px;
  background-color: #ccc;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-switch.active {
  background-color: #4caf50;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.toggle-switch.active::after {
  left: 26px;
}

/*--------------Pricing-discounts -------------------*/

 :root{
            --orange:#F2701D;
            --orange-dark:#DB6314;
            --orange-soft:#FFF3EC;
            --green:#22C55E;
            --green-text:#16A34A;
            --ink:#1F2937;
            --label:#374151;
            --muted:#6B7280;
            --muted-2:#9CA3AF;
            --line:#ECECEF;
            --field-border:#E5E7EB;
        }

.page-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-subtitle {
  color: var(--muted-2);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
  border-radius: 16px;
}

.card-body {
  padding: 28px;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 15px;
}

.section-subtitle {
  color: var(--muted-2);
  font-size: 13px;
  margin: 0 0 0;
}

/* ---------- Form fields ---------- */
.form-label {
  font-weight: 500;
  color: var(--label);
  margin-bottom: 7px;
  font-size: 13.5px;
}

.form-control,
.form-select {
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
}

.form-control::placeholder {
  color: var(--muted-2);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(242, 112, 29, .15);
}

.field-help {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 7px;
}

.required::after {
  content: " *";
  color: #EF4444;
}

/* ---------- Toggle ---------- */
.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-switch {
  width: 46px;
  height: 26px;
  background: #D1D5DB;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .25s;
  display: inline-block;
  flex: 0 0 auto;
}

.toggle-switch.active {
  background: var(--green);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left .25s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.toggle-switch.active::after {
  left: 23px;
}

/* ---------- Sale note ---------- */
.sale-note {
  background: #FFFBEB;
  border: 1px solid #F3E1A6;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #B45309;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}

.sale-note i {
  color: var(--orange);
}

/* ---------- Bulk tiers ---------- */
.btn-add-tier {
  background: #fff;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 9px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  transition: .2s;
}

.btn-add-tier:hover {
  background: var(--orange);
  color: #fff;
}

.tier-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F6F6F7;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 14px;
}

.tier-row:last-child {
  margin-bottom: 0;
}

.tier-item {
  flex: 1;
  text-align: center;
}

.tier-value {
    font-size: 18px;
    font-weight: 700;
    color: #616C7B;
    line-height: 1.2;
}

.tier-discount {
  color: var(--green-text);
}

.tier-label {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 6px;
}

.tier-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.tier-actions a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.edit-link {
    color: #26A1F4;
}

.remove-link {
  color: #F34235;
}

/* ---------- Pricing summary ---------- */
.pricing-summary {
  background: #F0FBF4;
  border: 1px solid var(--green);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 8px;
}

.summary-title {
  color: var(--green-text);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 14px;
  color: var(--muted);
}

.summary-row .val {
  color:#928FA6;
  font-weight: 600;
}

.summary-row.total {
  border-top: 1px solid #BBE9CC;
  padding-top: 16px;
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.summary-row.total .val {
  color: var(--green-text);
}

/* ---------- Action buttons ---------- */
.btn-group-custom {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}

.pricing-align.btn-group-custom {  
  justify-content: end;
}

.btn-cancel {
  background: #fff;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 9px;
  padding: 11px 28px;
  font-weight: 600;
  transition: .2s;
}

.btn-cancel:hover {
  background: var(--orange-soft);
  color: var(--orange);
}

.btn-save {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  border-radius: 9px;
  padding: 11px 28px;
  font-weight: 600;
  transition: .2s;
}

.btn-save:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

@media (max-width:991px) {
  .main-content {
    padding: 24px 20px 48px;
  }

  .header-top {
    padding: 14px 20px;
  }

  .tier-row {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .tier-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/*-----------------Bulk page------------*/


.section-card{
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:8px;
    margin-bottom:20px;
    box-shadow: none;
}

.section-card .card-body{
    padding:24px;
}

.orange-btn{
    background:#f57c00;
    border-color:#f57c00;
    color:#fff;
}

.orange-btn:hover{
    background:#e06f00;
    border-color:#e06f00;
    color:#fff;
}

.step-list li{
    color:#6c757d;
    margin-bottom:12px;
    font-size:14px;
}

.download-template a{
    font-weight:600;
    font-size:14px;
}

.download-template small{
    display:block;
    color:#6c757d;
}

.upload-area{
    border:2px dashed #d8d8d8;
    border-radius:6px;
    min-height:220px;
    cursor:pointer;
    transition:.3s;
    background:#fafafa;
}

.upload-area.dragover{
    border-color:#f57c00;
    background:#fff7ef;
}

.upload-icon{
    font-size:60px;
    color:#b8b8b8;
}

.file-info{
    display:none;
}

.status-success{
    background:#eaf8ee;
    color:#28a745;
    padding:6px 14px;
    border-radius:4px;
    font-size:12px;
}

.status-failed{
    background:#fdeaea;
    color:#dc3545;
    padding:6px 14px;
    border-radius:4px;
    font-size:12px;
}

.upload-item{
    padding:18px 0;
}

.upload-item:not(:last-child){
    border-bottom:1px solid #eee;
}

.file-icon{
    width:48px;
    height:48px;
    border-radius:6px;
    background:#f1f3f5;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#adb5bd;
    font-size:20px;
}

.tips-card{
    background:#fffaf5;
    border:1px solid #f4a261;
    border-radius:8px;
}

.tips-card ul{
    margin-bottom:0;
}

.tips-card li{
    margin-bottom:10px;
    color:#6c757d;
    font-size:14px;
}

.products-count{
    font-size:13px;
    color:#6c757d;
}

.view_btn{
  width: 150px;
  text-align: right;
}

/*---------------Logistis_partner---------------*/

.logistis_partner{

}
.section-card{
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:6px;
    margin-bottom:20px;
}

.partner-card{
    border:1px solid #7ce39e;
    border-radius:4px;
    padding:12px;
    background:#fff;
}

.logo-box{
    width:42px;
    height:42px;
    background:#e9ecef;
    border-radius:4px;
}

.logistis_partner .status-active {
    color: #00C950;
    font-size: 11px;
    height: 21px;
    display: inline-block;
    line-height: 21px;
    padding: 0px 10px;
    border-radius: 4px;
}

.shipping-card{
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:6px;
    padding:16px;
    margin-bottom:16px;
}

.carrier-logo{
    width:40px;
    height:40px;
    background:#e9ecef;
    border-radius:4px;
}

.recommended-badge{
    background:#4d8dff;
    color:white;
    font-size:10px;
    padding:2px 8px;
    border-radius:3px;
}

.price{
    color:#22c55e;
    font-weight:600;
}

.feature-badge{
    font-size:11px;
    padding:4px 8px;
    border-radius:3px;
}

.btn-orange{
    background:#FB7701;
    color:white;
    border:none;
}

.btn-orange:hover{
    background:#e86f00;
    color:white;
}

.filter-btn{
  border-radius: 4px;
  margin: 0px 5px;
  font-size: 15px;
  padding: 10px 15px;
}

.filter-btn.active{
    background:#FB7701;
    color:white;
    border-color:#FB7701;
}
.carrier-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.carrier-left{
    display:flex;
    gap:12px;
    flex:1;
    min-width:0;
}

.carrier-price{
    text-align:right;
    white-space:nowrap;
}

.carrier-price small{
    display:block;
    color:#6c757d;
}

.price{
    color:#22c55e;
    font-weight:700;
    font-size:18px;
}

.carrier-details{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:20px;
}

.carrier-details small{
    display:block;
    color:#6c757d;
}

.carrier-details strong{
    display:block;
    font-size:13px;
}

.carrier-features{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:15px;
    font-size: 13px;
}

.carrier-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

@media (max-width:991px){

    .carrier-details{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:576px){

    .carrier-header{
        flex-direction:column;
    }

    .carrier-price{
        text-align:left;
    }

    .carrier-details{
        grid-template-columns:1fr;
    }

    .carrier-actions{
        flex-direction:column;
    }

    .carrier-actions .btn{
        width:100%;
    }

    .filter-btn{
        flex:1;
    }

}
/* =====================================================================
  Shipping Rates — Page-specific styles
  ===================================================================== */

/* ---- Stats strip ---- */
.sr-stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin:  0 -20px;
}
.sr-single{
  flex: 0 0 20%;
  padding: 40px 10px;
  height: stretch;
}
.sr-stat {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F5F5F5;
  border-radius: 4px;
  gap: 10px 0;
  height: 100%;
}
.sr-stat + .sr-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--border);
}
.sr-stat-num {
  display: block;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
}
.sr-stat-label {
  display: block;
  font-size: 16px;
  color: #616C7B;
  font-weight: 400;
}
.sr-num-blue   { color: #155DFC; }
.sr-num-purple { color: #9810FA; }
.sr-num-amber  { color: #FB7701; }
.sr-num-green  { color: #00A63E; }
.sr-num-d-blue  { color: #4F39F6; }

/* ---- Filter bar ---- */
.sr-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sr-search-wrap {
  position: relative;
  flex: 0 0 220px;
}
.sr-search-input {
  width: 100%;
  padding: 0.52rem 1rem 0.52rem 2.4rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--heading);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.sr-search-input:focus { border-color: var(--brand); }
.sr-search-input::placeholder { color: var(--placeholder); }
.sr-search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}
.sr-tabs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.sr-tab {
  border: none;
  background: transparent;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}
.sr-tab:hover { color: var(--brand); }
.sr-tab.active {
  color: var(--brand);
  font-weight: 600;
}
.sr-tab-caret {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

/* ---- Rate card ---- */
.sr-card {
  background: #fff;
  border: 1px solid #D5D5D5;
  border-radius: 8px;
  padding: 1.375rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

/* Card top row */
.sr-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.sr-card-id-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sr-card .sr-img-sect-full{
  flex: 0 0 10%;
}
.sr-card .sr-content-full{
  flex: 0 0 90%;
  padding: 20px 0;
}
.sr-carrier-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #F3F4F6;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
}
.sr-carrier-icon svg {
  width: 20px;
  height: 20px;
}
.sr-card-id-info { }
.sr-card-id-primary {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}
.sr-card-id-primary .separator {
  color: var(--border);
  margin: 0 0.35rem;
}
.sr-card-id-primary .carrier-name {
  color: var(--muted);
  font-weight: 400;
}
.sr-card-id-secondary {
  font-size: 16px;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Badges */
.sr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.sr-badge--blue   { background: #4D9BFF; color: #fff; }
.sr-badge--red { background: #C945361A; color: #C94536; }
.sr-badge--green  { background: #F0FDF4; color: #16A34A; }
.sr-badge--prpl { background: #930BFF26; color: #930BFF; }

/* Meta grid: 4 columns */
.sr-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem 1rem;
  margin-bottom: 1.25rem;
}
.sr-meta-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.sr-meta-val {
  font-size: 16px;
  font-weight: 600;
  /* color: var(--heading); */
}
.sr-meta-val.strike {
  text-decoration: line-through;
  color: #DC2626;
}
.sr-meta-val.updated {
  color: #DC2626;
}

/* Weight / tier steps */
.sr-steps-wrap {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.25rem;
}
.sr-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.sr-step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.sr-step-circle.done {
  background: #2B7FFF;
  color: #fff;
}
.sr-step-circle.pending {
  background: #F1F3F6;
  color: #000;
}
.sr-step-circle svg {
  width: 30px;
  height: 30px;
}
.sr-step-lbl {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.sr-step-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--heading);
}
.sr-connector {
  flex: 1;
  height: 2px;
  min-width: 28px;
  background: #D0D5DD;
  margin-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
}
.sr-connector.done { background: #2B7FFF; }

/* Info box */
.sr-info-box {
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 1.25rem;
}
.sr-info-box--blue {
  border: 1px solid #458FFF;
  background: #D0E5FF;
}
.sr-info-box--red {
  background: #FAECEB;
  border: 1px solid #C94536;
}
.sr-info-box--purple {
  background: #EFDAFF;
  border: 1px solid #930BFF;
}
.sr-info-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.2rem;
}
.sr-info-title.red{
  color: #C94536;
}
.sr-info-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Action buttons row */
.sr-action-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.sr-action-btn {
  padding: 0.48rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.4;
}
.sr-action-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sr-action-btn--brand {
  border-color: var(--brand);
  color: var(--brand);
}
.sr-action-btn--brand:hover {
  background: #FFF7F2;
}

/* Avatar image */
.topbar-avatar-btn img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.sr-img-sect-full img{
  height: 95px;
  width: 95px;
  background-color: #F6F6F6;
  object-fit: none;
}
.sr-stats-strip.rt .sr-single{
    flex: 0 0 25%;
}
.sr-meta-grid.rt{
  grid-template-columns: repeat(5, 1fr);
}
.sr-info-box .d-flex h4{
  color: #930BFF;
  font-size: 16px;
  font-weight: 600;
}
.sr-info-box .d-flex span{
  color: #616C7B;
  font-weight: 400;
}
.sr-card.orange-bodr{
  border-color: #E09D98;
}
h2.sr-title{
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

/* =====================================================================
   Lead Time Configuration — lt-* components
   ===================================================================== */

/* Summary strip */
.lt-summary-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #D1D5DC;
  border-radius: 10px;
  padding: 22px 32px;
  margin-bottom: 20px;
}
.lt-summary-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.lt-summary-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}
.lt-summary-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.lt-summary-op {
  font-size: 20px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 4px;
  padding-bottom: 18px;
}
.lt-blue   { color: #155DFC; }
.lt-green  { color: #00A63E; }
.lt-orange { color: var(--brand); }

/* Card */
.lt-card {
  margin-bottom: 20px;
  padding: 24px 24px 8px;
}
.lt-section-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--heading);
  margin: 0 0 20px;
}

/* Standard / Express row */
.lt-proc-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.lt-proc-col {
  flex: 1 1 200px;
}
.lt-proc-group-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--label);
  margin-bottom: 10px;
}
.lt-minmax-row {
  display: flex;
  gap: 12px;
}
.lt-minmax-col {
  flex: 1;
}
.lt-field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 400;
}
.lt-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--heading);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.lt-input:focus { border-color: var(--brand); }

/* Category section */
.lt-category-section {
  background-color: #F9FAFB;
  border-radius: 8px;
  overflow: auto;
  margin-bottom: 16px;
  border: 1.6px solid #E5E7EB;
}
.lt-category-header {
  background: #F8F9FB;
  padding: 15px 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--label);
}
.lt-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background-color: #fff;
  margin: 15px;
  border-radius: 10px;
}
.lt-category-row:last-child { border-bottom: none; }
.lt-category-name {
  font-size: 14px;
  color: var(--label);
  font-weight: 500;
}
.lt-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lt-input-sm {
  width: 52px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  color: var(--heading);
  font-family: inherit;
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.lt-input-sm:focus { border-color: var(--brand); }
.lt-range-sep {
  font-size: 13px;
  color: var(--muted);
}
.lt-range-unit {
  font-size: 13px;
  color: var(--muted);
  min-width: 28px;
}

/* Shipping group */
.lt-shipping-group {
  border: 1.6px solid #E5E7EB;
  border-radius: 8px;
  overflow: auto;
  margin-bottom: 16px;
}
.lt-shipping-group-label {
  /* background: #F8F9FB; */
  padding: 11px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--label);
  /* border-bottom: 1px solid var(--card-border); */
}
.lt-shipping-group .lt-category-list .lt-category-row{
  background-color: #F9FAFB;
}
 /* ---------- Card shells ---------- */
.panel-card {
  background: #ffffff;
  border: 1px solid #D5D5D5;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.success-border {
  border: 1.6px solid #B9F8CF;
}

/* .panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2329;
} */

/* ---------- Setting rows ---------- */
.setting-row {
  background: #F9FAFB;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.setting-row:last-of-type {
  margin-bottom: 0;
}

.setting-text .title {
  font-weight: 500;
  font-size: 14px;
  color: #1f2329;
  margin-bottom: 2px;
}

.setting-text .subtitle {
  font-size: 12px;
  color: var(--muted);
}

.setting-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.day-input {
  width: 56px;
  text-align: center;
  border: 1px solid #d6d8db;
  border-radius: 7px;
  padding: 6px 4px;
  font-size: 0.9rem;
  color: #1f2329;
  background: #ffffff;
}
.day-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(13,110,253,.15); }

.unit-label {
  font-size: 0.85rem;
  color: #5b6068;
}

/* ---------- Custom toggle switch ---------- */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 25px;
  flex-shrink: 0;
}
.toggle input { display: none; }
.toggle .track {
  position: absolute;
  inset: 0;
  background-color: #d8dadd;
  border-radius: 999px;
  transition: background-color .15s ease;
  cursor: pointer;
}
.toggle .track::before {
  content: "";
  position: absolute;
  height: 19px;
  width: 19px;
  left: 3px;
  top: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.toggle input:checked + .track {
  background-color: #2f6fed;
}
.toggle input:checked + .track::before {
  transform: translateX(19px);
}

/* ---------- Cutoff settings box ---------- */
.cutoff-box {
  background: #FEFCE8;
  border: 1.6px solid #FFF085;
  border-radius: 10px;
  padding: 16px;
  margin-top: 4px;
}

.cutoff-box .cutoff-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: #733E0A;
}

.field-label {
  font-size: 14px;
  color: #4A5565;
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  border: 1px solid #d6d8db;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.88rem;
  background: #ffffff;
  color: #1f2329;
}
.field-input::placeholder { color: #aeb2b8; }
.field-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(13,110,253,.15); }

.cutoff-note {
  font-size: 14px;
  color: #A65F00;
  margin-top: 14px;
  line-height: 1.45;
}

/* ---------- Delivery promise preview ---------- */
.preview-box {
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.preview-label {
  font-size:14px;
  color: #4A5565;
  margin-bottom: 10px;
}

.preview-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: #008236;
  margin-bottom: 8px;
}

.preview-sub {
  font-size: 14px;
  color: #4A5565;
}

/* ---------- Screen info card ---------- */
.info-grid {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.info-grid .info-item {
  flex: 1;
}

.info-label {
  font-size: 14px;
  color: #9a9ea4;
  margin-bottom: 4px;
}

.info-value {
  font-size: 16px;
  font-weight: 600;
  color: #1f2329;
}

/* =====================================================================
   Logistics Integration — li-* components
   ===================================================================== */

/* Stats strip */
.li-stats-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.li-stat-item {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 18px 20px;
}
.li-stat-item:hover{
  border-color: #B9F8CF;
}
.li-stat-icon {
  width: 44px;
  height: 44px;
  font-size: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* .li-icon-green  { background: #D8F5E3; color: #00A63E; }
.li-icon-amber  { background: #FEF3C7; color: #D97706; }
.li-icon-blue   { background: #DBEAFE; color: #155DFC; }
.li-icon-orange { background: var(--brand-soft); color: var(--brand); } */
.li-stat-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.li-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.li-green  { color: #00A63E !important; }
.li-amber  { color: #D97706 !important; }
.li-blue   { color: #155DFC !important; }
.li-orange { color: var(--brand) !important; }
.li-red    { color: #E7000B !important; }
.fw-600    { font-weight: 600; }

/* Integration cards */
.li-card {
  background: #fff;
  border: 1.6px solid #7BF1A8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.li-card-degraded {
  border-color: #FDE68A;
}
.li-card-inactive {
  opacity: 0.75;
}
.li-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.li-carrier-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}
.li-carrier-logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: #E5E7EB;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  font-size: 30px;
  align-items: center;
}
.li-logo-red   { background: #FEE2E2; }
.li-logo-brown { background: #FEF3C7; }
.li-logo-dhl   { background: #F3F4F6; }
.li-carrier-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.li-carrier-content{
  width: 100%;
}
.li-carrier-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.li-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.li-btn-outline {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--label);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.li-btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

/* Status badges */
.li-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
}
.li-badge-connected {
  background: #00C950;
  color: #fff;
}
.li-badge-degraded {
  background: #FEF3C7;
  color: #92400E;
}
.li-badge-inactive {
  background: #F3F4F6;
  color: #6B7280;
}

/* Metadata grid */
.li-meta-grid {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  /* border: 1px solid var(--card-border); */
  border-radius: 8px;
  overflow: hidden;
  margin: 14px 0;
}
.li-meta-item {
  flex: 0 0 25%;
  padding: 12px 16px;
  background-color: #F9FAFB;
  /* border-right: 1px solid var(--card-border); */
}
.li-meta-item.green-bg {
  background-color: #F0FDF4;
}
.li-meta-item:last-child { border-right: none; }
.li-meta-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.li-meta-val {
  font-size: 14px;
  color: var(--heading);
}

/* Warning box */
.li-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #78350F;
  line-height: 1.5;
}
.li-warning-box svg { flex-shrink: 0; margin-top: 2px; }

/* Services row */
.li-services-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.li-service-label {
  font-size: 14px;
  color: var(--muted);
  margin-right: 2px;
  font-weight: 500;
}
.li-service-tag {
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  padding: 2px 10px;
}
.li-service-tag.orange-tg{
  background-color: #FFF3E8;
  color: #CC5200;
}
.li-service-tag.purple-tg{
  background-color: #F3E8FF;
  color: #8200DB ;
}
.li-service-tag.green-tg{
  background-color: #DCFCE7;
  color: #008236;
}

/* Not connected body */
.li-not-connected-body {
  font-size: 13.5px;
  color: var(--muted);
  padding: 20px;
  background-color: #F9FAFB;
  border: 0.8px solid #E5E7EB;
  border-radius: 10px;
  margin-top: 10px;
}
.li-not-connected-body p { margin: 0; }

/* Generic panel (Recent API Activity, Webhook Configuration, API Usage Limits) */
.li-panel {
  background: #fff;
  border: 1px solid #D1D5DC;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  margin-bottom: 16px;
}
.li-panel.last{
  height: fit-content;
}
.li-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.li-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 16px;
}
.li-panel-header .li-panel-title { margin-bottom: 0; }

/* Recent API Activity rows */
.li-activity-list {
  display: flex;
  flex-direction: column;
}
.li-activity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}
.li-activity-row:last-child { border-bottom: none; }
.li-activity-time {
  flex: 0 0 70px;
  font-size: 13.5px;
  color: var(--muted);
}
.li-activity-action {
  /* flex: 1 1 160px; */
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.li-activity-carrier {
  flex: 0 0 90px;
  font-size: 13.5px;
  color: var(--label);
}
.li-activity-duration {
  flex: 1 1 70px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.li-activity-duration-error {
  color: #E7000B;
}

/* Status badge (Success / Error / Active) */
.li-status-badge {
  flex: 0 0 auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
}
.li-status-success {
  background: #DCFCE7;
  color: #008236;
}
.li-status-error {
  background: #FFE2E2;
  color: #C10007;
}
.li-status-pending {
  background: #FEF3C7;
  color: #92400E;
}

/* Bottom two-column grid */
.li-bottom-grid {
  display: flex;
  gap: 16px;
}
.li-bottom-grid .li-panel {
  flex: 1 1 0;
  margin-bottom: 0;
  height: 100%;
}

/* Webhook configuration list */
.li-webhook-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.li-webhook-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #F9FAFB;
  border-radius: 10px;
}
.li-webhook-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.li-webhook-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* API usage limits */
.li-usage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.li-usage-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.li-usage-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.li-usage-label-italic {
  font-style: italic;
  font-weight: 500;
}
.li-usage-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--heading);
}
.li-usage-track {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
}
.li-usage-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
}
.li-usage-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .li-bottom-grid { flex-direction: column; }
  .li-activity-row { flex-wrap: wrap; }
  .li-activity-carrier { order: 4; }
}

/* =====================================================================
   Settlement Dashboard — stl-* components
   ===================================================================== */
.stl-purple { color: #7C3AED !important; }

.stl-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.stl-stat-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
}
.stl-stat-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.stl-stat-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 10px;
}
.stl-stat-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Two column grid (Settlement Timeline + Revenue Breakdown) */
.stl-grid-2 {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}
.stl-grid-2 .li-panel {
  flex: 1 1 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.stl-chart-box {
  background: #F3F4F6;
  border-radius: 8px;
  padding: 12px;
  height: 190px;
  border: 1.6px solid #D1D5DC;
  max-width: 80%;
}
.stl-chart-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.stl-chart-caption strong { color: var(--heading); font-weight: 500; }

/* Recent settlements list */
.stl-settlement-list {
  display: flex;
  flex-direction: column;
}
.stl-settlement-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 10px;
  border: 1.6px solid var(--card-border);
  border-radius: 10px;
}
.stl-settlement-info {
  flex: 1 1 140px;
}
.stl-settlement-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.stl-settlement-orders {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.stl-settlement-amount {
  flex: 0 0 140px;
  font-size: 14px;
  font-weight: 700;
  color: #00A63E;
}
.stl-settlement-details {
  flex: 0 0 140px;
  font-size: 13px;
  font-weight: 500;
  text-align: end;
  color: var(--brand);
  text-decoration: none;
}
.stl-settlement-details:hover { text-decoration: underline; }
.stl-grid-2 .order-status-item .os-label {
    font-size: 16px;
}

@media (max-width: 768px) {
  .stl-grid-2 { flex-direction: column; }
}

/* =====================================================================
   Payment History — ph-* components
   ===================================================================== */
.ph-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ph-search-wrap {
  position: relative;
  flex: 1 1 auto;
}
.ph-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.ph-search-input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border: 1px solid var(--card-border);
  background: #F9FAFB;
  border-radius: 8px;
  font-size: 14px;
  color: var(--heading);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.ph-search-input:focus { border-color: var(--brand); }
.ph-search-input::placeholder { color: var(--muted); }

/* Filter pill tabs */
.ph-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.ph-filter-tab {
  border: 1px solid var(--card-border);
  background: #f3f4f6;
  color: var(--label);
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ph-filter-tab:hover { border-color: #00C950; color: #00C950; }
.ph-filter-tab.active {
  background: #00C950;
  border-color: #00C950;
  color: #fff;
}

/* Transaction rows */
.ph-tx-list {
  display: flex;
  flex-direction: column;
}
.ph-tx-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1.6px solid var(--card-border);
}
.ph-tx-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #DCFCE7;
  color: #1C1C1E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}
.ph-tx-info {
  flex: 1 1 200px;
}
.ph-tx-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
}
.ph-tx-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.ph-tx-method {
  flex: 0 0 140px;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}
.ph-tx-amount {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}
.ph-amount-pos { color: #00A63E; }
.ph-amount-neg { color: #E7000B; }
.ph-view-link {
  flex: 0 0 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-align: end;
  text-decoration: none;
}
.ph-view-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .ph-toolbar { flex-wrap: wrap; }
  .ph-tx-row { flex-wrap: wrap; }
  /* .ph-tx-method { text-align: left; order: 4; } */
}

/* =====================================================================
   Pending Payouts — pb-* (Payout Breakdown) components
   ===================================================================== */
.pb-table {
  display: flex;
  flex-direction: column;
}
.pb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 0.8px solid #F3F4F6;
}
/* .pb-row:last-child { border-bottom: none; } */
.pb-row-head {
  padding-top: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  border-bottom: 1.6px solid #E5E7EB;
}
.pb-desc {
  font-size: 14px;
  color: var(--label);
}
.pb-amount {
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
  text-align: right;
}
.pb-amount-neg { color: #E7000B; }
.pb-amount-pos { color: #00A63E; }
.pb-row.pb-row-total{
  border-bottom: 1.6px solid #E5E7EB;
}
.pb-row-total .pb-desc {
  font-weight: 700;
  color: var(--heading);
}
.pb-row-total .pb-amount {
  font-size: 18px;
  font-weight: 700;
}
.stl-stats-row.pp{
  grid-template-columns: repeat(3, 1fr);
}

/* =====================================================================
   Completed Settlements — cs-* components
   ===================================================================== */
.cs-list {
  display: flex;
  flex-direction: column;
}
.cs-row {
  padding: 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}
/* .cs-row:last-child { border-bottom: none; } */

.cs-row-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cs-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-info {
  flex: 1 1 auto;
}
.cs-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.cs-period {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.cs-amount-wrap {
  flex: 0 0 auto;
  text-align: right;
}
.cs-amount {
  font-size: 15px;
  font-weight: 700;
  color: #00A63E;
}
.cs-orders {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.cs-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 20px 0 0;
  border-top: 0.8px solid #E5E7EB;
  flex-wrap: wrap;
}
.cs-txn {
  font-size: 13px;
  color: var(--muted);
}
.cs-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cs-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.cs-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .cs-row-top { flex-wrap: wrap; }
  .cs-amount-wrap { text-align: left; margin-left: 46px; }
  .cs-row-bottom { padding-left: 0; }
}

/* =====================================================================
   Refund Management — rf-* components
   ===================================================================== */
.rf-list {
  display: flex;
  flex-direction: column;
}
.rf-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.rf-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.rf-order-id {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}
.rf-order-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.rf-card-right {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex: 0 0 auto;
}
.rf-amount-block {
  text-align: left;
  flex: 0 0 140px;
}
.rf-amount {
  font-size: 17px;
  font-weight: 700;
  color: #E7000B;
}
.rf-date {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}
.rf-status-wrap {
  flex: 0 0 auto;
  padding-top: 2px;
}
.li-status-approved {
  background: #FFEDD5;
  color: #C2410C;
}
.rf-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.8px solid var(--card-border);
  flex-wrap: wrap;
}
.rf-reason {
  font-size: 13.5px;
  color: var(--muted);
}
.rf-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.rf-btn {
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.rf-btn:hover { opacity: 0.85; }
.rf-btn-reject {
  background: #FFE2E2;
  color: #C10007;
}
.rf-btn-approve {
  background: #DCFCE7;
  color: #008236;
}
.rf-btn-evidence {
  background: #FFF8F4;
  color: #FF6600;
  border: 1.6px solid #FFE0CC;
}
.rf-view-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.rf-view-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .rf-card-top { flex-wrap: wrap; }
  .rf-card-right { width: 100%; justify-content: space-between; }
  .rf-card-bottom { padding-left: 0; }
}

/* =====================================================================
   Sales Analytics — rt-* (Revenue Trend) & tp-* (Top Products) components
   ===================================================================== */
.rt-range-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rt-range-btn {
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--label);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.rt-range-btn:hover { border-color: #00C950; color: #00C950; }
.rt-range-btn.active { border-color: #00C950; color: #00C950; }

.tp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.tp-thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #F3F4F6;
}
.tp-info { flex: 1 1 auto; }
.tp-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.tp-units {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.tp-stats {
  flex: 0 0 auto;
  text-align: right;
}
.tp-amount {
  font-size: 15px;
  font-weight: 700;
}
.tp-growth {
  font-size: 12.5px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .rt-range-tabs { flex-wrap: wrap; }
  .tp-row { flex-wrap: wrap; }
}

/* =====================================================================
   Recent Transactions — tx-* components
   ===================================================================== */
.tx-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tx-toolbar .ph-search-wrap { width: 220px; }
.li-btn-brand {
  border: none;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}
.li-btn-brand:hover { background: var(--brand-dark); }

.tx-table { width: 100%; overflow-x: auto; }
.tx-head, .tx-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px;
  min-width: fit-content;
}
.tx-head {
  border-bottom: 1px solid var(--card-border);
  font-size: 14px;
  background-color: #F9FAFB;
  font-weight: 600;
  color: var(--muted);
}
.tx-row { border-bottom: 0.8px solid #F3F4F6; }
.tx-row--alt { background: #FAFAFA; }
.tx-col-id      { flex: 0 0 110px; }
.tx-col-customer{ flex: 0 0 190px; display: flex; align-items: center; gap: 10px; }
.tx-col-product { flex: 1 1 auto; min-width: 140px; }
.tx-col-date    { flex: 0 0 120px; }
.tx-col-amount  { flex: 0 0 90px; }
.tx-col-payment { flex: 0 0 160px; }
.tx-col-status  { flex: 0 0 100px; text-align: right; }

.tx-id { font-size: 13.5px; font-weight: 600; color: var(--brand); }
.tx-product { font-size: 13.5px; color: var(--label); }
.tx-date { font-size: 13.5px; color: var(--heading); }
.tx-time { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tx-amount { font-size: 13.5px; font-weight: 700; color: var(--heading); }

.tx-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.tx-customer-name { font-size: 13.5px; font-weight: 500; color: var(--heading); }

.tx-pay { display: flex; align-items: center; gap: 8px; }
.tx-pay-num { font-size: 12px; color: var(--muted); }
.tx-pay-mark--visa {
  background: #1434CB;
  color: #fff;
  font-style: italic;
  font-weight: 800;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}
.tx-pay-mark--applepay {
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 10px 3px 7px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.tx-pay-mark--paypal {
  font-weight: 800;
  font-size: 12.5px;
  color: #003087;
  font-style: italic;
}
.tx-pay-mark--mastercard { display: inline-flex; }

.pagination-ellipsis {
  color: var(--muted);
  font-size: 14px;
  padding: 0 2px;
}

@media (max-width: 768px) {
  .tx-toolbar { flex-wrap: wrap; }
}

/* =====================================================================
   Product Performance — pp-* components
   ===================================================================== */
.pp-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pp-toolbar .ph-search-wrap { flex: 1 1 auto; }

.pp-list {
  display: flex;
  flex-direction: column;
}
.pp-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.pp-card-top {
  display: flex;
  align-items:center;
  gap: 14px;
  
}
.pp-thumb {
  flex: 0 0 65px;
  width: 65px;
  height:65px;
  border-radius: 8px;
  background: #F3F4F6;
}
.pp-info { flex: 1 1 auto; }
.pp-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
}
.pp-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.pp-rating { color: #00A63E; font-weight: 600; }
.pp-stats-block {
  flex: 0 0 auto;
  text-align: right;
}
.pp-amount {
  font-size: 16px;
  font-weight: 700;
}
.pp-units {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pp-card-bottom {
  display: flex;
  align-items: flex-start;
  /* gap: 36px; */
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.8px solid var(--card-border);
  flex-wrap: wrap;
}
.pp-card-bottom > div{
  padding: 0px 50px;
}
.pp-metric-label {
  font-size: 12px;
  color: var(--muted);
}
.pp-metric-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 2px;
}
.pp-view-link {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.pp-view-link:hover { text-decoration: underline; }
.cd .order-status-item{
  gap: 0;
}
.order-status-list.cd {
  gap: 4px;
}
.order-status-list.cd .os-label {
  font-size: 16px;
}

/* Customer Insights: Top Customers list */
.ci-customer-list {
  display: flex;
  flex-direction: column;
}
.ci-customer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--card-border);
  margin-bottom: 10px;
}
.ci-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.ci-customer-info { flex: 1 1 auto; min-width: 0; }
.ci-customer-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.ci-customer-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ci-customer-amount {
  flex: 0 0 auto;
  font-size: 14.5px;
  font-weight: 600;
  color: #00A63E;
}

/* Customer Insights: Customer Behavior list */
.ci-behavior-list {
  display: flex;
  flex-direction: column;
}
.ci-behavior-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}
.ci-behavior-row:last-child { border-bottom: none; }
.ci-behavior-label {
  font-size: 14px;
  color: var(--label);
}
.ci-behavior-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}

/* Customer Insights: Customer Feedback Summary */
.ci-feedback-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.ci-feedback-item { 
  text-align: center;
  background-color: #F9FAFB;
  padding: 20px;
  border-radius: 10px; 
}
.ci-feedback-num {
  font-size: 24px;
  font-weight: 700;
  color: #00A63E;
  line-height: 1.2;
}
.ci-feedback-label {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}
.ci.prograce-count{
  flex: 0 0 80%;
}

/* Inventory Analytics: Low Stock Alerts */
.ia-alert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ia-alert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FEFCE8;
  border: 1.6px solid #FFF085;
  border-radius: 10px;
  padding: 14px 16px;
  flex-wrap: wrap;
}
.ia-alert-info { min-width: 0; }
.ia-alert-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.ia-alert-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ia-alert-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ia-btn-reorder {
  border: 0;
  background: #00A63E;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.ia-btn-reorder:hover { background: #008236; }

/* Inventory Analytics: Slow Moving Inventory */
.ia-slow-list {
  display: flex;
  flex-direction: column;
}
.ia-slow-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}
.ia-slow-item:last-child { border-bottom: none; }
.ia-slow-info { min-width: 0; }
.ia-slow-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.ia-slow-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ia-slow-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 4px;
}
.ia-slow-meta {
  flex: 0 0 auto;
  text-align: right;
}
.ia-slow-days {
  font-size: 13px;
  color: #E7000B;
}
.ia-slow-promo {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  margin-top: 4px;
}
.ia-slow-promo:hover { text-decoration: underline; }

/* Inventory Analytics: Inventory Health Score */
.ia-health-grid .ci-feedback-item { display: flex; flex-direction: column; align-items: center; }
.ia-health-grid .li-status-badge { margin-top: 10px; }
.percentage-count{
  font-size: 14px;
}
.ia.order-status-list{
  max-width: 80%;
}
.ia .order-status-item{
  gap: 0;
}
.ia .percentage-count{
  font-weight: 700;
}

/* Marketing Analytics: Traffic Sources */
.ma-traffic-list {
  display: flex;
  flex-direction: column;
}
.ma-traffic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}
.ma-traffic-row:last-child { border-bottom: none; }
.ma-traffic-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.ma-traffic-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ma-traffic-value {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
}

/* Marketing Analytics: Active Campaigns */
.ma-campaign-list {
  display: flex;
  flex-direction: column;
}
.ma-campaign-row {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}
.ma-campaign-info { flex: 1 1 auto; min-width: 0; }
.ma-campaign-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.ma-campaign-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.ma-campaign-amount {
  flex: 0 0 auto;
  text-align: right;
}
.ma-campaign-price {
  font-size: 14.5px;
  font-weight: 700;
  color: #00A63E;
}
.ma-campaign-roi {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.ma-campaign-tag {
  flex: 0 0 auto;
  background: #F3E8FF;
  color: #7C3AED;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.ma-campaign-view {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}
.ma-campaign-view:hover { text-decoration: underline; }
.col-md-6{
  margin-bottom: 20px;
}

/* =====================================================================
   Export Reports — er-* components
   ===================================================================== */
.er-report-list {
  display: flex;
  flex-direction: column;
}
.er-report-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}
.er-report-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.er-icon-blue   { background: #DBEAFE; color: #155DFC; }
.er-icon-orange { background: #FFEDD5; color: var(--brand); }
.er-icon-purple { background: #F3E8FF; color: #7C3AED; }
.er-icon-teal   { background: #CCFBF1; color: #0F766E; }
.er-icon-gold   { background: #FEF3C7; color: #92400E; }
.er-report-info {
  flex: 1 1 auto;
  min-width: 0;
}
.er-report-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
}
.er-report-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.er-download-btn { flex: 0 0 auto; }

.er-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
}
.er-metrics-grid .form-check-label {
    color: #1A1A2E;
}
.er-format-group {
  display: flex;
  gap: 10px;
}
.er-format-btn {
  flex: 0 0 22%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--label);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.er-format-btn:hover { border-color: var(--brand); color: var(--brand); }
.er-format-btn.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.er-generate-btn {
  border: none;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.er-generate-btn:hover { background: var(--brand-dark); }

.er-download-list {
  display: flex;
  flex-direction: column;
}
.er-download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}
.er-file-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.er-file-info {
  flex: 1 1 auto;
  min-width: 0;
}
.er-file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.er-file-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.er-download-again {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}
.er-download-again:hover { text-decoration: underline; }

@media (max-width: 576px) {
  .er-metrics-grid { grid-template-columns: 1fr; }
}