:root {
  /* =====================================================
       PRIMARY
    ====================================================== */

  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-soft: #eff6ff;

  /* =====================================================
       SECONDARY
    ====================================================== */

  --teal: #2563eb;
  --teal-light: #14b8a6;
  --teal-soft: #ecfdf5;

  /* =====================================================
       BRAND ACCENT
    ====================================================== */

  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-soft: #fffbeb;

  /* =====================================================
       STATUS
    ====================================================== */

  --success: #059669;
  --success-soft: #ecfdf5;

  --warning: #d97706;
  --warning-soft: #fffbeb;

  --danger: #e11d48;
  --danger-soft: #fff1f2;

  --info: #0284c7;
  --info-soft: #f0f9ff;

  /* =====================================================
       SIDEBAR
    ====================================================== */

  --sidebar: #f5f5f4;
  --sidebar-dark: #f5f5f4;

  --sidebar-text: #cbd5e1;
  --sidebar-muted: #64748b;

  --sidebar-hover: #151f31;
  --sidebar-active: #2563eb;

  /* =====================================================
       PAGE
    ====================================================== */

  --body-bg: #ffffff;
  --card-bg: #ffffff;
  --header-bg: #f5f5f4;

  /* =====================================================
       TEXT
    ====================================================== */

  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* =====================================================
       BORDER
    ====================================================== */

  --border: #e2e8f0;

  /* =====================================================
       LAYOUT
    ====================================================== */

  --sidebar-width: 260px;
  --header-height: 72px;
  --radius: 12px;

  /* =====================================================
       SHADOWS
    ====================================================== */

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);

  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);

  --shadow-lg: 0 15px 40px rgba(15, 23, 42, 0.09);
}

/* =====================================================
   RESET
====================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--body-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,  Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* =====================================================
   HEADER
====================================================== */

.app-header {
  height: var(--header-height);

  background: var(--sidebar);

  border-bottom: 1px solid var(--border);

  position: fixed;

  top: 0;
  left: var(--sidebar-width);
  right: 0;

  z-index: 1030;

  display: flex;
  align-items: center;

  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.045);
}

/* Header accent */

.app-header::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: -1px;

  height: 2px;

  background: var(--sidebar);
}

.header-inner {
  width: 100%;
  height: 100%;

  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;

  gap: 15px;

  min-width: 0;
}

.page-title-mobile {
  font-size: 18px;
  font-weight: 700;

  color: var(--text-muted);

  margin: 0;

  white-space: nowrap;
}

/* =====================================================
   HEADER SEARCH
====================================================== */

.header-search {
  width: min(430px, 35vw);

  position: relative;
}

.header-search input {
  height: 42px;

  border: 1px solid var(--border);

  background: #f8fafc;

  border-radius: 9px;

  padding: 0 45px 0 16px;

  font-size: 14px;

  color: var(--text-muted);

  transition: 0.2s ease;
}

.header-search input::placeholder {
  color: #94a3b8;
}

.header-search input:focus {
  background: #ffffff;

  border-color: var(--primary-light);

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);

  outline: none;
}

.header-search button {
  position: absolute;

  right: 5px;
  top: 5px;

  width: 32px;
  height: 32px;

  border: 0;

  background: transparent;

  color: var(--text-muted);

  border-radius: 7px;
}

.header-search button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* =====================================================
   HEADER ACTIONS
====================================================== */

.header-actions {
  display: flex;
  align-items: center;

  gap: 8px;
}

.header-icon-btn {
  width: 42px;
  height: 42px;

  border-radius: 9px;

  border: 1px solid var(--border);

  background: #ffffff;

  color: #475569;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  transition: 0.2s ease;
}

.header-icon-btn:hover {
  background: var(--primary-soft);

  color: var(--primary);

  border-color: #bfdbfe;
}

/* =====================================================
   NOTIFICATION
====================================================== */

.notification-dot {
  position: absolute;

  top: 6px;
  right: 6px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--danger);

  border: 2px solid #ffffff;
}

/* =====================================================
   ADMIN PROFILE
====================================================== */

.admin-profile {
    position: relative;
}

.admin-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    text-align: left;
}

.profile-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.profile-role {
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
}

.profile-arrow {
    margin-left: 3px;
    font-size: 10px;
    color: #6b7280;
    transition: .2s;
}

.admin-profile.active .profile-arrow {
    transform: rotate(180deg);
}


/* Dropdown */

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);
    display: none;
    z-index: 9999;
}

.admin-profile.active .profile-dropdown {
    display: block;
}

.dropdown-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.dropdown-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-user div {
    display: flex;
    flex-direction: column;
}

.dropdown-user strong {
    font-size: 13px;
    color: #1f2937;
}

.dropdown-user span {
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
}

.dropdown-divider {
    height: 1px;
    margin: 6px 0;
    background: #f1f5f9;
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
}

.profile-dropdown a i {
    width: 18px;
    color: #2563eb;
}

.profile-dropdown a:hover {
    background: #eff6ff;
}

.profile-dropdown a.logout {
    color: #dc2626;
}

.profile-dropdown a.logout i {
    color: #dc2626;
}

.profile-dropdown a.logout:hover {
    background: #fef2f2;
}

/* =====================================================
   SIDEBAR
====================================================== */

.app-sidebar {
  position: fixed;

  top: 0;
  left: 0;
  bottom: 0;

  width: var(--sidebar-width);

  background: var(--sidebar);

  z-index: 1040;

  overflow-y: auto;
  overflow-x: hidden;

  scrollbar-width: thin;
}

/* =====================================================
   SIDEBAR BRAND
====================================================== */

.sidebar-brand {
  height: var(--header-height);

  display: flex;
  align-items: center;

  padding: 0 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(255, 255, 255, 0.015);
}

.sidebar-brand a {
  color: #ffffff;
}

.sidebar-logo {
  width: 260px;
  height: 76px;

  max-width: 100%;

  object-fit: contain;
}

.sidebar-brand-text {
  display: flex;
  align-items: center;

  gap: 10px;
}

.sidebar-logo-mark {
  width: 40px;
  height: 40px;

  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--primary);

  color: #ffffff;

  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}

.sidebar-store-name {
  color: #ffffff;

  font-size: 17px;
  font-weight: 800;

  letter-spacing: -0.3px;
}

/* =====================================================
   SIDEBAR NAVIGATION
====================================================== */

.sidebar-nav {
  padding: 18px 12px 25px;
}

.sidebar-section-title {
  color: #64748b;

  text-transform: uppercase;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.1px;

  padding: 12px 13px 8px;
}

.sidebar-nav ul {
  padding: 0;
  margin: 0;

  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 3px;
}

.sidebar-nav > ul > li > a,
.sidebar-parent {
  min-height: 44px;

  padding: 0 13px;

  border-radius: 8px;

  display: flex;
  align-items: center;

  gap: 12px;

  color: var(--sidebar-muted);

  font-size: 13px;

  font-weight: 500;

  transition: all 0.18s ease;

  cursor: pointer;
}

.sidebar-nav > ul > li > a:hover,
.sidebar-parent:hover {
  background: var(--sidebar-hover);

  color: #ffffff;
}

.sidebar-nav .nav-icon {
  width: 20px;

  text-align: center;

  font-size: 15px;

  color: var(--sidebar-muted);

  transition: 0.18s ease;
}

.sidebar-nav a:hover .nav-icon,
.sidebar-parent:hover .nav-icon {
  color: #60a5fa;
}

/* =====================================================
   ACTIVE MENU
====================================================== */

.sidebar-nav .active > a {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);

  color: #ffffff;

  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.25);
}

.sidebar-nav .active .nav-icon {
  color: #ffffff;
}

/* =====================================================
   SIDEBAR ARROW
====================================================== */

.sidebar-arrow {
  margin-left: auto;

  font-size: 10px;

  color: #64748b;

  transition: transform 0.2s ease;
}

.sidebar-parent[aria-expanded="true"] .sidebar-arrow {
  transform: rotate(180deg);

  color: #60a5fa;
}

/* =====================================================
   SUBMENU
====================================================== */

.submenu {
  padding: 5px 0 5px 34px !important;
  background-color:#ffffff;
}

.submenu li {
  margin-bottom: 1px;
}

.submenu a {
  display: flex;
  align-items: center;

  gap: 10px;

  min-height: 37px;

  padding: 0 12px;

  color: #8190a5;

  font-size: 12px;

  border-radius: 7px;

  transition: 0.18s ease;
}

.submenu a:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.05);
}

.submenu i {
  width: 16px;

  text-align: center;

  font-size: 10px;
}

.submenu a:hover i {
  color: #60a5fa;
}

/* =====================================================
   SIDEBAR DIVIDER
====================================================== */

.sidebar-divider {
  height: 1px;

  background: rgba(255, 255, 255, 0.07);

  margin: 13px 5px;
}

/* =====================================================
   MAIN CONTENT
====================================================== */

.app-content {
  margin-left: var(--sidebar-width);

  padding-top: var(--header-height);

  min-height: 100vh;
}

.content-wrapper {
  padding: 26px;
}

/* =====================================================
   PAGE HEADING
====================================================== */

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 22px;
}

.page-heading-left{
  left:0;
  max-width: 75%;
}

.page-heading-right{
  right:10;
  max-width: 25%;
}

.page-heading-left h1 {
  margin: 0;

  font-size: 25px;

  font-weight: 750;

  letter-spacing: -0.5px;

  color: var(--text-muted);
}

.breadcrumb-custom {
  display: flex;
  align-items: center;

  gap: 7px;

  margin: 5px 0 0;

  padding: 0;

  list-style: none;

  color: var(--text-muted);

  font-size: 12px;
}

.breadcrumb-custom i {
  font-size: 9px;

  color: var(--text-light);
}

/* =====================================================
   PAGE ACTIONS
====================================================== */

.page-actions {
  display: flex;

  gap: 8px;

  flex-wrap: wrap;
}

.modern-btn {
  min-height: 40px;

  padding: 0 15px;

  border-radius: 8px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  font-size: 13px;

  font-weight: 600;

  transition: all 0.18s ease;
}

.modern-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);

  color: #ffffff;

  border: 1px solid #2563eb;

  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.modern-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);

  border-color: #1d4ed8;

  color: #ffffff;

  transform: translateY(-1px);

  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.modern-btn-secondary {
  background: #ffffff;

  color: var(--text-medium);

  border: 1px solid var(--border);
}

.modern-btn-secondary:hover {
  background: var(--primary-soft);

  color: var(--primary);

  border-color: #bfdbfe;
}

/* =====================================================
   CONTENT CARD
====================================================== */

.content-card {
  background: var(--card-bg);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  overflow: hidden;
}

.content-card-header {
  padding: 17px 20px;

  border-bottom: 1px solid var(--border);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}

.content-card-title {
  font-size: 15px;

  font-weight: 700;

  color: var(--text-dark);

  margin: 0;
}

.content-card-body {
  padding: 20px;
}

/* =====================================================
   FORM ELEMENTS
====================================================== */

.form-control,
.form-select {
  border: 1px solid var(--border);

  border-radius: 8px;

  min-height: 40px;

  color: var(--text-dark);

  background: #ffffff;

  transition: 0.18s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =====================================================
   SHARED MODERN TABLE
   CUSTOMER + ORDER TABLE
====================================================== */

.modern-table-wrapper {
  width: 100%;

  border: 1px solid #e8eaf1;

  border-radius: 14px;

  overflow-x: auto;

  background: #ffffff;
}

.modern-table {
  width: 100%;

  min-width: 1000px;

  margin-bottom: 0;

  border-collapse: separate;

  border-spacing: 0;
}

/* =====================================================
   TABLE HEADER
====================================================== */

.modern-table thead th {
  background: #f7f8fc;

  color: #5f6375;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  padding: 15px 16px;

  border-top: 0;

  border-bottom: 1px solid #e8eaf1;

  border-left: 0;

  border-right: 0;

  white-space: nowrap;
}

.modern-table thead tr th:first-child {
  border-top-left-radius: 14px;
}

.modern-table thead tr th:last-child {
  border-top-right-radius: 14px;
}

/* =====================================================
   TABLE BODY
====================================================== */

.modern-table tbody td {
  padding: 16px;

  color: #36394a;

  font-size: 13px;

  font-weight: 500;

  border-bottom: 1px solid #f0f1f5;

  border-left: 0;

  border-right: 0;

  vertical-align: middle;
}

.modern-table tbody tr {
  transition: background 0.2s ease;
}

.modern-table tbody tr:hover {
  background: #f8fafc;
}

.modern-table tbody tr:last-child td {
  border-bottom: 0;
}

/* =====================================================
   CUSTOMER TABLE
====================================================== */

.sr-badge {
  display: inline-flex;

  width: 32px;
  height: 32px;

  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: #eff6ff;

  color: #2563eb;

  font-size: 12px;

  font-weight: 700;
}

.customer-info {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 190px;
}

.customer-avatar {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(135deg, #2563eb, #2563eb);

  color: #ffffff;

  font-size: 15px;

  font-weight: 700;

  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.18);
}

.customer-name {
  color: #17172b;

  font-size: 14px;

  font-weight: 700;

  margin-bottom: 3px;
}

.customer-label {
  color: #9699a8;

  font-size: 11px;

  font-weight: 500;
}

/* =====================================================
   CONTACT
====================================================== */

.contact-info {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

.contact-item {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #5f6375;

  font-size: 12px;

  white-space: nowrap;
}

.contact-icon {
  width: 24px;
  height: 24px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  font-size: 10px;
}

.email-icon {
  background: #eff6ff;

  color: #2563eb;
}

.phone2-icon {
  background: #f0f9ff;

  color: #0284c7;
}

/* =====================================================
   PAN / UID
====================================================== */

.identity-info {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 7px;
}

.identity-badge {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 6px 10px;

  border-radius: 7px;

  font-size: 11px;

  font-weight: 700;

  white-space: nowrap;
}

.pan-badge {
  color: #d97706;
}

.uid-badge {
  color: #0284c7;
}

/* =====================================================
   CREATED BY
====================================================== */

.created-by {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  color: #55596b;

  font-size: 12px;

  font-weight: 600;
}

.created-icon {
  width: 28px;
  height: 28px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #eff6ff;

  color: #2563eb;

  font-size: 11px;
}

/* =====================================================
   DATE
====================================================== */

.created-date {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 7px 10px;

  border-radius: 8px;

  background: #f7f8fc;

  color: #626678;

  font-size: 12px;

  font-weight: 600;

  white-space: nowrap;
}

.created-date i {
  color: #2563eb;
}

/* =====================================================
   ORDER TABLE
====================================================== */

.order-id-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 70px;

  padding: 7px 10px;

  border-radius: 8px;

  background: #eff6ff;

  color: #2563eb;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.2px;
}

.order-product {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 190px;
}

.product-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #ffffff;

  font-size: 15px;

  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.18);
}

.product-name {
  color: #17172b;

  font-size: 14px;

  font-weight: 700;

  margin-bottom: 3px;
}

.product-label {
  color: #9699a8;

  font-size: 11px;

  font-weight: 500;
}

/* =====================================================
   DISTRIBUTOR
====================================================== */

.distributor-info {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  min-width: 150px;
}

.distributor-icon {
  width: 30px;
  height: 30px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: #ecfdf5;

  color: #2563eb;

  font-size: 11px;
}

.distributor-name {
  color: #55596b;

  font-size: 12px;

  font-weight: 600;

  white-space: nowrap;
}

/* =====================================================
   PRICE
====================================================== */

.price-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  padding: 7px 11px;

  border-radius: 8px;

  background: #fffbeb;

  color: #d97706;

  font-size: 13px;

  font-weight: 700;

  white-space: nowrap;
}

.price-badge i {
  font-size: 11px;
}

/* =====================================================
   PAYMENT STATUS
====================================================== */

.payment-badge {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 7px 11px;

  border-radius: 20px;

  font-size: 11px;

  font-weight: 700;

  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  display: inline-block;
}

/* Paid */

.payment-paid {
  background: #ecfdf5;

  color: #059669;
}

.payment-paid .status-dot {
  background: #10b981;

  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* Pending */

.payment-pending {
  background: #fffbeb;

  color: #d97706;
}

.payment-pending .status-dot {
  background: #f59e0b;

  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

/* =====================================================
   SOLD DATE
====================================================== */

.sold-date {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 7px 10px;

  border-radius: 8px;

  background: #f7f8fc;

  color: #626678;

  font-size: 12px;

  font-weight: 600;

  white-space: nowrap;
}

.date-icon {
  width: 24px;
  height: 24px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: #f0f9ff;

  color: #0284c7;

  font-size: 10px;
}

/* =====================================================
   ACTION BUTTONS
====================================================== */

.action-buttons {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;
}

.table-action-btn {
  width: 36px;
  height: 36px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  text-decoration: none;

  font-size: 13px;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.table-action-btn:hover {
  transform: translateY(-2px);
}

/* Order */

.order-btn {
  background: #eff6ff;

  color: #2563eb;
}

.order-btn:hover {
  background: #2563eb;

  color: #ffffff;

  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.22);
}

/* Profile */

.profile-btn {
  background: #ecfdf5;

  color: #2563eb;
}

.profile-btn:hover {
  background: #2563eb;

  color: #ffffff;

  box-shadow: 0 7px 16px rgba(15, 118, 110, 0.22);
}

/* Edit */

.edit-btn {
  background: #f0f9ff;

  color: #0284c7;
}

.edit-btn:hover {
  background: #0284c7;

  color: #ffffff;

  box-shadow: 0 7px 16px rgba(2, 132, 199, 0.22);
}

/* View Order */

.order-view-btn {
  background: #eff6ff;

  color: #2563eb;
}

.order-view-btn:hover {
  background: #2563eb;

  color: #ffffff;

  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.22);
}

/* =====================================================
   STAT CARD
====================================================== */

.stat-card {
  position: relative;

  overflow: hidden;
}

.stat-card::after {
  content: "";

  position: absolute;

  left: 0;

  top: 0;
  bottom: 0;

  width: 3px;

  background: var(--primary);
}

.stat-icon {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: var(--primary-soft);

  color: var(--primary);
}

.stat-icon.teal {
  background: var(--teal-soft);

  color: var(--teal);
}

.stat-icon.gold {
  background: var(--gold-soft);

  color: var(--gold);
}

.stat-icon.danger {
  background: var(--danger-soft);

  color: var(--danger);
}

/* =====================================================
   BADGES
====================================================== */

.badge-success {
  background: var(--success-soft);

  color: var(--success);
}

.badge-warning {
  background: var(--warning-soft);

  color: var(--warning);
}

.badge-danger {
  background: var(--danger-soft);

  color: var(--danger);
}

.badge-info {
  background: var(--info-soft);

  color: var(--info);
}

/* =====================================================
   ALERT
====================================================== */

.modern-alert {
  border: 1px solid transparent;

  border-radius: 9px;

  box-shadow: var(--shadow-sm);

  font-size: 13px;
}

.modern-alert.alert-success {
  border-color: #a7f3d0;
}

.modern-alert.alert-danger {
  border-color: #fecdd3;
}

/* =====================================================
   LINKS
====================================================== */

a:hover {
  color: var(--primary-dark);
}

/* =====================================================
   PROGRESS
====================================================== */

.progress {
  background: #e2e8f0;

  border-radius: 20px;
}

.progress-bar {
  background: var(--primary);

  border-radius: 20px;
}

/* =====================================================
   MOBILE MENU BUTTON
====================================================== */

.mobile-menu-btn {
  width: 42px;
  height: 42px;

  border: 1px solid var(--border);

  border-radius: 9px;

  background: #ffffff;

  color: var(--text-medium);

  display: none;

  align-items: center;
  justify-content: center;

  transition: 0.18s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary);

  background: var(--primary-soft);

  border-color: #bfdbfe;
}

.sidebar-overlay {
  display: none;
}

/* =====================================================
   SCROLLBAR
====================================================== */

.app-sidebar::-webkit-scrollbar {
  width: 5px;
}

.app-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.app-sidebar::-webkit-scrollbar-thumb {
  background: #26344a;

  border-radius: 20px;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =====================================================
   TABLE EMPTY STATE
====================================================== */

.modern-table tbody:empty::after {
  content: "No records found";

  display: block;

  padding: 40px;

  text-align: center;

  color: #9699a8;

  font-size: 14px;
}

/* =====================================================
   TABLET
====================================================== */

@media (max-width: 991.98px) {
  :root {
    --sidebar-width: 250px;
  }

  .app-header {
    left: 0;
  }

  .app-sidebar {
    transform: translateX(-100%);

    transition: transform 0.25s ease;
  }

  body.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .sidebar-overlay {
    display: block;

    position: fixed;

    inset: 0;

    background: rgba(7, 12, 22, 0.55);

    z-index: 1035;
  }

  .app-content {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-search {
    width: 100%;

    max-width: 350px;
  }
}

/* =====================================================
   MOBILE
====================================================== */

@media (max-width: 767.98px) {
  .header-inner {
    padding: 0 14px;
  }

  .header-search {
    display: none;
  }

  .profile-info {
    display: none;
  }

  .admin-profile {
    border-left: 0;

    margin-left: 0;

    padding-left: 3px;
  }

  .content-wrapper {
    padding: 18px 14px;
  }

  .page-heading {
    align-items: flex-start;

    flex-direction: column;

    margin-bottom: 18px;
  }

  .page-heading-left h1 {
    font-size: 21px;
  }

  .page-actions {
    width: 100%;
  }

  .page-actions a {
    flex: 1;
  }

  .content-card-body {
    padding: 15px;
  }

  .modern-table-wrapper {
    border-radius: 10px;
  }

  .modern-table thead th {
    padding: 13px 12px;
  }

  .modern-table tbody td {
    padding: 13px 12px;
  }
}

/* =====================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 480px) {
  .header-icon-btn {
    width: 38px;
    height: 38px;
  }

  .profile-avatar {
    width: 36px;
    height: 36px;
  }

  .page-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   CUSTOMER FORM
========================================================= */

.customer-form {
  width: 100%;
}

/* =========================================================
   FORM CARD
========================================================= */

.form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-card:hover {
  border-color: #d7dee9;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   FORM CARD HEADER
========================================================= */

.form-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background:var(--sidebar);
  border-bottom: 1px solid #e2e8f0;
}

.form-card-header h5 {
  margin: 0 0 3px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.form-card-header p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   SECTION ICON
========================================================= */

.section-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 17px;
}

.section-icon.customer {
  color: #2563eb;
  background: #eff6ff;
}

.section-icon.identity {
  color: #2563eb;
  background: #ecfdf5;
}

.section-icon.address {
  color: #0284c7;
  background: #f0f9ff;
}

.section-icon.status {
  color: #d97706;
  background: #fffbeb;
}

/* =========================================================
   FORM CARD BODY
========================================================= */

.form-card-body {
  padding: 22px;
}

.form-card-body .row {
  margin-left: -10px;
  margin-right: -10px;
}

.form-card-body .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
  margin-bottom: 20px;
}

.form-card-body .row > [class*="col-"]:last-child .form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.required {
  color: #e11d48;
  margin-left: 2px;
}

/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
  position: relative;
  width: 100%;
}

.input-icon > i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  transform: translateY(-50%);
  width: 18px;
  color: #94a3b8;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-icon .form-control {
  padding-left: 42px;
}

/* Focus icon */

.input-icon:focus-within > i {
  color: #2563eb;
}

/* =========================================================
   FORM CONTROL
========================================================= */

.customer-form .form-control,
.customer-form .custom-select {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.customer-form .input-icon .form-control {
  padding-left: 42px;
}

.customer-form .form-control::placeholder {
  color: #a0a8b5;
  font-weight: 400;
}

.customer-form .form-control:hover {
  border-color: #cbd5e1;
}

.customer-form .form-control:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
   READONLY FIELDS
========================================================= */

.customer-form .form-control[readonly] {
  background: #f8fafc;
  color: #475569;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.customer-form .form-control[readonly]:focus {
  border-color: #e2e8f0;
  box-shadow: none;
}

/* =========================================================
   SELECT
========================================================= */

.customer-form select.form-control,
.customer-form .custom-select {
  cursor: pointer;
}

.customer-form .custom-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
   PINCODE LOADING
========================================================= */

.user_pincode.loading {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='2' x2='12' y2='6'/%3E%3Cline x1='12' y1='18' x2='12' y2='22'/%3E%3Cline x1='4.93' y1='4.93' x2='7.76' y2='7.76'/%3E%3Cline x1='16.24' y1='16.24' x2='19.07' y2='19.07'/%3E%3Cline x1='2' y1='12' x2='6' y2='12'/%3E%3Cline x1='18' y1='12' x2='22' y2='12'/%3E%3Cline x1='4.93' y1='19.07' x2='7.76' y2='16.24'/%3E%3Cline x1='16.24' y1='7.76' x2='19.07' y2='4.93'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}

/* =========================================================
   FORM HELP TEXT
========================================================= */

.form-help {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}

/* =========================================================
   VALIDATION / ERROR
========================================================= */

.error:empty {
  display: none;
}

.customer-form .is-invalid,
.customer-form .error-field {
  border-color: #e11d48 !important;
  background: #fffafa;
}

.customer-form .is-invalid:focus,
.customer-form .error-field:focus {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

/* =========================================================
   PAN CARD
========================================================= */

.user_pancard {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================================
   PHONE / NUMERIC FIELDS
========================================================= */

.user_phone,
.user_phone_1,
.user_uid,
.user_pincode,
.user_cibil {
  letter-spacing: 0.3px;
}

/* =========================================================
   HIDDEN FIELDS
========================================================= */

.customer-form input[type="hidden"] {
  display: none;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 0 20px;
}

/* Common */

.form-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-actions .btn i {
  font-size: 12px;
}

/* Cancel */

.form-actions .btn-cancel {
  color: #475569;
  background: #ffffff;
  border-color: #dbe2ea;
}

.form-actions .btn-cancel:hover {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Save */

.form-actions .btn-save {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.form-actions .btn-save:hover {
  color: #ffffff;
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.form-actions .btn-save:active,
.form-actions .btn-cancel:active {
  transform: translateY(0);
}

/* =========================================================
   DISABLED BUTTON
========================================================= */

.form-actions .btn:disabled,
.form-actions .btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {
  .form-card-header {
    padding: 17px 18px;
  }

  .form-card-body {
    padding: 20px 18px;
  }

  .form-card-body .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .form-card-body .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {
  .form-card {
    border-radius: 11px;
    margin-bottom: 15px;
  }

  .form-card-header {
    gap: 11px;
    padding: 15px;
  }

  .form-card-header h5 {
    font-size: 14px;
  }

  .form-card-header p {
    font-size: 11px;
  }

  .section-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
    font-size: 15px;
  }

  .form-card-body {
    padding: 18px 15px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .customer-form .form-control,
  .customer-form .custom-select {
    height: 42px;
    font-size: 13px;
  }

  .form-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
    gap: 8px;
    padding-bottom: 15px;
  }

  .form-actions .btn {
    width: 100%;
    min-height: 44px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .form-card-header {
    padding: 14px;
  }

  .form-card-body {
    padding: 16px 14px;
  }

  .form-card-header p {
    display: none;
  }

  .form-label {
    font-size: 12px;
  }

  .customer-form .form-control,
  .customer-form .custom-select {
    height: 42px;
  }
}

/* =========================================================
   ORDER DETAILS PAGE
========================================================= */

/* ---------------------------------------------------------
   MAIN CARDS
--------------------------------------------------------- */

.card.border-0.shadow-sm {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #e8edf3 !important;
}

.card-header {
  background: #ffffff !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid #edf0f4 !important;
}

.card-header h5 {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px !important;
}

.card-header h5 i {
  font-size: 14px;
}

.card-header small {
  color: #64748b !important;
  font-size: 12px;
}

/* Installment badge */

.card-header .badge-light {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

/* ---------------------------------------------------------
   DETAIL BOX
--------------------------------------------------------- */

.detail-box {
  height: 100%;
  background: #f8fafc;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.detail-box:hover {
  border-color: #d9e1ea;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.05);
}

/* ---------------------------------------------------------
   DETAIL TITLE
--------------------------------------------------------- */

.detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  background: #ffffff;
  border-bottom: 1px solid #e7ebf0;
}

.detail-title h6 {
  color: #1e293b;
  font-size: 13px;
  line-height: 1.4;
}

.detail-title small {
  color: #64748b !important;
  font-size: 11px;
}

/* ---------------------------------------------------------
   DETAIL ICONS
--------------------------------------------------------- */

.detail-icon {
  padding-right: 5px;
  height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.customer-icon {
  color: #2563eb;
  background: #eff6ff;
}

.phone-icon {
  color: #2563eb;
  background: #ecfdf5;
}

/* ---------------------------------------------------------
   DETAIL LIST
--------------------------------------------------------- */

.detail-list {
  padding: 5px 17px;
}

.detail-row {
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e8edf2;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-icon {
  color:#ff6b35;
  flex: 0 0 38%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.detail-value {
  flex: 1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
  word-break: break-word;
}

/* ---------------------------------------------------------
   PHONE LINK
--------------------------------------------------------- */

.phone-link {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.phone-link i {
  font-size: 11px;
}

.phone-link:hover {
  color: #1d4ed8;
}

/* ---------------------------------------------------------
   AMOUNT
--------------------------------------------------------- */

.detail-value.amount {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

/* ---------------------------------------------------------
   SUMMARY BOXES
--------------------------------------------------------- */

.summary-box {
  height: 100%;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 11px;
  transition: all 0.2s ease;
}

.summary-box:hover {
  border-color: #cfd8e3;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.summary-box small {
  margin-bottom: 7px;
  color: #64748b !important;
  font-size: 11px;
  font-weight: 500;
}

.summary-box strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.summary-box .text-success {
  color: #059669 !important;
}

.summary-box .text-warning {
  color: #d97706 !important;
}

/* =========================================================
   EMI TABLE
========================================================= */

.emi-table {
  margin: 0 !important;
  border: 0 !important;
  min-width: 850px;
  border-collapse: separate !important;
  border-spacing: 0;
}

/* Table wrapper */

.card-body.p-0 .table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* ---------------------------------------------------------
   EMI TABLE HEADER
--------------------------------------------------------- */

.emi-table thead th {
  padding: 14px 16px;
  background: #f8fafc;
  color: #475569;
  border-top: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   EMI TABLE BODY
--------------------------------------------------------- */

.emi-table tbody td {
  padding: 14px 16px;
  color: #334155;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #edf0f4 !important;
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
  background: #ffffff;
}

.emi-table tbody tr {
  transition: background 0.2s ease;
}

.emi-table tbody tr:hover td {
  background: #f8fbff;
}

.emi-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* ---------------------------------------------------------
   EMI DATE
--------------------------------------------------------- */

.emi-date {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.emi-date i {
  color: #2563eb;
  font-size: 12px;
}

/* ---------------------------------------------------------
   EMI AMOUNT
--------------------------------------------------------- */

.emi-amount {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e5eaf0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   STATUS BADGES
========================================================= */

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.status-badge i {
  font-size: 10px;
}

/* Paid */

.status-paid {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}

/* Pending */

.status-pending {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fef3c7;
}

/* =========================================================
   UPDATED AT
========================================================= */

.emi-table td.text-muted {
  color: #64748b !important;
}

.emi-table td.text-muted small {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
}

.emi-table td.text-muted i {
  color: #94a3b8;
}

/* =========================================================
   EMI ACTION BUTTON
========================================================= */

.emi-edit-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.emi-edit-btn:hover {
  color: #ffffff;
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.emi-edit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* =========================================================
   BOOTSTRAP OVERRIDES
========================================================= */

.card-body {
  color: #334155;
}

.text-primary {
  color: #2563eb !important;
}

.text-dark {
  color: #0f172a !important;
}

.text-muted {
  color: #64748b !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {
  .card-header {
    padding: 15px 16px !important;
  }

  .card-header h5 {
    font-size: 14px;
  }

  .card-header small {
    font-size: 11px;
  }

  .card-body {
    padding: 16px !important;
  }

  .detail-box {
    border-radius: 10px;
  }

  .detail-title {
    padding: 13px 14px;
  }

  .detail-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    font-size: 14px;
  }

  .detail-list {
    padding: 4px 14px;
  }

  .detail-row {
    gap: 12px;
    padding: 11px 0;
  }

  .detail-label {
    flex-basis: 42%;
    font-size: 11px;
  }

  .detail-value {
    font-size: 11px;
  }

  .summary-box {
    padding: 13px 14px;
  }

  .summary-box strong {
    font-size: 18px;
  }

  .emi-table {
    min-width: 800px;
  }

  .emi-table thead th,
  .emi-table tbody td {
    padding: 12px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .card-header .d-flex {
    align-items: flex-start !important;
  }

  .card-header .badge {
    font-size: 10px;
    padding: 6px 8px !important;
  }

  .detail-title h6 {
    font-size: 12px;
  }

  .detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .detail-label {
    flex: none;
    width: 100%;
  }

  .detail-value {
    width: 100%;
    text-align: left !important;
  }

  .phone-link {
    font-size: 12px;
  }

  .summary-box {
    padding: 12px;
  }

  .summary-box small {
    font-size: 10px;
  }

  .summary-box strong {
    font-size: 17px;
  }
}

/* =========================================================
   PRODUCT / VARIANT PAGE
========================================================= */

.product-filter-form {
  width: 100%;
  margin-bottom: 20px;
}

/* =========================================================
   BRAND FILTER
========================================================= */

.product-filter {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  padding: 16px 18px;

  background: #ffffff;

  border: 1px solid #e2e8f0;
  border-radius: 12px;

  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* FILTER LABEL */

.product-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;

  margin: 0;

  color: #334155;

  font-size: 13px;
  font-weight: 600;

  white-space: nowrap;
}

.product-filter-label i {
  color: #2563eb;
  font-size: 14px;
}

/* FILTER SELECT */

.product-filter .v-control {
  width: 100%;
  max-width: 360px;

  height: 42px;

  margin: 0 !important;

  padding: 8px 38px 8px 13px;

  border: 1px solid #dbe2ea;
  border-radius: 9px;

  background-color: #ffffff;

  color: #1e293b;

  font-size: 13px;
  font-weight: 500;

  outline: none;

  cursor: pointer;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-filter .v-control:hover {
  border-color: #cbd5e1;
}

.product-filter .v-control:focus {
  border-color: #2563eb;

  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}



/* =========================================================
   PRODUCT TABLE
========================================================= */

.product-table {
  width: 100%;

  min-width: 700px;

  margin: 0 !important;

  border: 0 !important;

  border-collapse: separate !important;
  border-spacing: 0;
}

/* =========================================================
   TABLE HEADER
========================================================= */

.product-table thead th {
  padding: 14px 16px;

  background: #f8fafc;

  color: #475569;

  border-top: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-left: 0 !important;
  border-right: 0 !important;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.4px;

  vertical-align: middle;

  white-space: nowrap;
}

/* HEADER RADIUS */

.product-table thead th:first-child {
  border-top-left-radius: 14px;
}

.product-table thead th:last-child {
  border-top-right-radius: 14px;
}

/* =========================================================
   TABLE BODY
========================================================= */

.product-table tbody td {
  padding: 15px 16px;

  background: #ffffff;

  color: #334155;

  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;

  border-bottom: 1px solid #edf0f4 !important;

  font-size: 12px;
  font-weight: 500;

  vertical-align: middle;
}

/* ROW */

.product-table tbody tr {
  transition: background 0.2s ease;
}

/* ROW HOVER */

.product-table tbody tr:hover td {
  background: #f8fbff;
}

/* LAST ROW */

.product-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* =========================================================
   SERIAL NUMBER
========================================================= */

.product-sr {
  width: 34px;
  height: 28px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: #f1f5f9;

  color: #64748b;

  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   VARIANT NAME
========================================================= */

.variant-name {
  display: block;

  color: #1e293b;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.5;

  text-transform: uppercase;

  word-break: break-word;
}

.variant-name:hover {
  color: #2563eb;
}

/* =========================================================
   MRP
========================================================= */

.product-mrp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;
}

.product-mrp::before {
  content: "₹";
  margin-right: 1px;
}

/* =========================================================
   QUANTITY
========================================================= */

.product-qty {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 32px;
  height: 28px;

  padding: 0 8px;

  border-radius: 7px;

  background: #eff6ff;

  border: 1px solid #dbeafe;

  color: #2563eb;

  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   ORDER BUTTON
========================================================= */

.product-order-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  text-decoration: none !important;
  cursor: pointer;

  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-order-btn:hover {
  color: #ffffff;

  background: #2563eb;

  transform: translateY(-2px);

  box-shadow: 0 5px 12px rgba(5, 150, 105, 0.2);
}

.product-order-btn:focus {
  color: #dc3545;

  outline: none;

  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.product-order-btn i {
  font-size: 18px;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.product-table tbody:empty::after {
  content: "No products found";

  display: block;

  padding: 40px;

  color: #94a3b8;

  font-size: 13px;

  text-align: center;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {
  .product-filter {
    padding: 15px;
  }

  .product-table thead th,
  .product-table tbody td {
    padding: 13px 14px;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {
  .product-filter {
    flex-direction: column;

    align-items: stretch;

    gap: 9px;

    padding: 14px;

    border-radius: 10px;
  }

  .product-filter-label {
    font-size: 12px;
  }

  .product-filter .v-control {
    width: 100%;

    max-width: none;

    height: 42px;
  }


  .product-table {
    min-width: 650px;
  }

  .product-table thead th,
  .product-table tbody td {
    padding: 12px;
  }

  .product-table thead th:first-child {
    border-top-left-radius: 10px;
  }

  .product-table thead th:last-child {
    border-top-right-radius: 10px;
  }

  .variant-name {
    font-size: 11px;
  }

  .product-mrp {
    padding: 5px 8px;

    font-size: 11px;
  }

  .product-order-btn {
    width: 34px;
    height: 34px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .product-filter {
    padding: 12px;
  }

  .product-table {
    min-width: 620px;
  }

  .product-table thead th,
  .product-table tbody td {
    padding: 11px 10px;
  }

  .product-sr {
    width: 30px;
    height: 26px;
  }

  .product-qty {
    min-width: 30px;
    height: 26px;
  }
}

/* =========================================================
   PRODUCT SALE / EMI FORM
========================================================= */

.sale-form {
  width: 100%;
}

.sale-form-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* =========================================================
   CARD
========================================================= */

.sale-card {
  width: 100%;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.sale-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.sale-card-header h3 {
  margin: 0 0 3px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.sale-card-header p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

/* =========================================================
   HEADER ICONS
========================================================= */

.sale-header-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
}

.sale-header-icon.product-icon {
  color: #2563eb;
  background: #eff6ff;
}

.sale-header-icon.payment-icon {
  color: #059669;
  background: #ecfdf5;
}

.sale-header-icon.customer-icon {
  color: #7c3aed;
  background: #f5f3ff;
}

.sale-header-icon.address-icon {
  color: #0284c7;
  background: #f0f9ff;
}

.sale-header-icon.device-icon {
  color: #d97706;
  background: #fffbeb;
}

/* =========================================================
   CARD BODY
========================================================= */

.sale-card-body {
  padding: 20px;
}

/* =========================================================
   FORM FIELD
========================================================= */

.sale-field {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  column-gap: 18px;
  row-gap: 5px;
  margin-bottom: 16px;
}

.sale-field:last-child {
  margin-bottom: 0;
}

/* =========================================================
   LABEL
========================================================= */

.sale-label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

.sale-label i {
  width: 16px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.sale-label .required {
  margin-left: 2px;
  color: #e11d48;
  font-size: 12px;
}

/* =========================================================
   INPUT WRAPPER
========================================================= */

.sale-input-wrap {
  position: relative;
  width: 100%;
}

.sale-input-wrap .form-control {
  width: 100%;
  height: 42px;
  margin: 0 !important;
  padding: 9px 13px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  background: #ffffff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sale-input-wrap .form-control:hover {
  border-color: #cbd5e1;
}

.sale-input-wrap .form-control:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
   INPUT ICON
========================================================= */

.sale-input-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 2;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
  pointer-events: none;
}

.sale-input-wrap:has(.sale-input-icon) .form-control {
  padding-left: 36px;
}

/* =========================================================
   READONLY FIELDS
========================================================= */

.readonly-field .form-control {
  background: #f8fafc;
  color: #475569;
  cursor: default;
}

.readonly-field .form-control:focus {
  border-color: #dbe2ea;
  background: #f8fafc;
  box-shadow: none;
}

.customer-readonly .form-control {
  color: #334155;
}

/* =========================================================
   PRICE / CURRENCY
========================================================= */

.price-field .form-control,
.sale-input-wrap:has(.currency-symbol) .form-control {
  padding-left: 34px;
}

.currency-symbol {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 2;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

/* =========================================================
   INPUT SUFFIX
========================================================= */

.input-suffix {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.sale-input-wrap:has(.input-suffix) .form-control {
  padding-right: 38px;
}

/* =========================================================
   CALCULATED FIELDS
========================================================= */

.calculated-field .form-control {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #047857;
  font-weight: 700;
}

.calculated-field .currency-symbol {
  color: #059669;
}

/* =========================================================
   UID FIELD
========================================================= */

.uid-field .form-control {
  padding-right: 45px;
}

.uid-status {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
  pointer-events: none;
}

/* =========================================================
   SELECT
========================================================= */

.sale-input-wrap select.form-control {
  cursor: pointer;
  appearance: auto;
}

/* =========================================================
   ERROR
========================================================= */

.sale-field .errors {
  grid-column: 2;
  min-height: 0;
  margin-top: -1px;
  color: #e11d48;
  font-size: 11px;
  font-weight: 500;
}

.sale-form-actions .error-message {
  width: 100%;
  margin-bottom: 10px;
  color: #e11d48;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

/* =========================================================
   SAVE BUTTON
========================================================= */

.sale-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 4px;
  padding: 16px 0 5px;
}

.sale-save-btn {
  min-width: 135px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-save-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.24);
}

.sale-save-btn:focus {
  outline: none;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12),
    0 5px 14px rgba(37, 99, 235, 0.18);
}

.sale-save-btn i {
  font-size: 13px;
}

/* =========================================================
   DISABLED STATE
========================================================= */

.sale-input-wrap .form-control:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {
  .sale-card {
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .sale-card-header {
    padding: 14px;
  }

  .sale-card-body {
    padding: 15px;
  }

  .sale-field {
    display: block;
    margin-bottom: 15px;
  }

  .sale-label {
    min-height: auto;
    margin-bottom: 7px;
    font-size: 11px;
  }

  .sale-field .errors {
    margin-top: 4px;
  }

  .sale-input-wrap .form-control {
    height: 42px;
  }

  .sale-form-actions {
    padding-top: 5px;
  }

  .sale-save-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sale-card-header {
    gap: 10px;
    padding: 13px;
  }

  .sale-header-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 8px;
    font-size: 13px;
  }

  .sale-card-header h3 {
    font-size: 13px;
  }

  .sale-card-header p {
    font-size: 10px;
  }

  .sale-card-body {
    padding: 13px;
  }

  .sale-label {
    font-size: 11px;
  }
}

/* =====================================================
   PRODUCT CARD
===================================================== */

.product-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid #e7e9f1;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 10px 35px rgba(23, 21, 45, 0.07);
}

/* =====================================================
   HEADER
===================================================== */

.product-card-header {
  display: flex;

  align-items: center;

  gap: 15px;

  padding: 24px 28px;

  background: linear-gradient(135deg, #17152d 0%, #292451 100%);

  position: relative;

  overflow: hidden;
}

/* Decorative glow */

.product-card-header::after {
  content: "";

  position: absolute;

  width: 180px;

  height: 180px;

  right: -60px;

  top: -100px;

  border-radius: 50%;

  background: rgba(255, 107, 53, 0.2);
}

.header-icon {
  width: 48px;

  height: 48px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 14px;

  color: #ffffff;

  font-size: 21px;

  background: linear-gradient(135deg, #ff6b35, #ff8f5b);

  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.3);

  position: relative;

  z-index: 1;
}

.product-card-header h3 {
  margin: 0;

  color: #ffffff;

  font-size: 19px;

  font-weight: 700;

  position: relative;

  z-index: 1;
}

.product-card-header p {
  margin: 4px 0 0;

  color: #bdb9d0;

  font-size: 13px;

  position: relative;

  z-index: 1;
}

/* =====================================================
   BODY
===================================================== */

.product-form-body {
  padding: 30px;
}

/* =====================================================
   FORM ROW
===================================================== */

.form-row-custom {
  display: grid;

  grid-template-columns: 180px 1fr;

  align-items: start;

  gap: 25px;

  margin-bottom: 22px;
}

.form-label-wrap {
  padding-top: 12px;
}

.form-label-wrap label {
  margin: 0;

  color: #29264d;

  font-size: 14px;

  font-weight: 700;
}

.form-label-wrap label span {
  color: #ff6b35;

  margin-left: 2px;
}

/* =====================================================
   INPUT
===================================================== */

.form-input-wrap {
  min-width: 0;
}

.product-form .form-control,
.product-form .form-select {
  width: 100%;

  min-height: 48px;

  padding: 11px 15px;

  border: 1px solid #dfe2eb;

  border-radius: 11px;

  background: #ffffff;

  color: #27243f;

  font-size: 14px;

  box-shadow: none;

  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-form .form-control::placeholder {
  color: #a5a9b8;
}

.product-form .form-control:hover,
.product-form .form-select:hover {
  border-color: #c9cdd9;
}

.product-form .form-control:focus,
.product-form .form-select:focus {
  border-color: #ff6b35;

  background: #ffffff;

  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);

  outline: none;
}

/* =====================================================
   PRICE
===================================================== */

.price-wrapper {
  position: relative;
}

.price-icon {
  position: absolute;

  left: 15px;

  top: 50%;

  transform: translateY(-50%);

  color: #ff6b35;

  font-size: 16px;

  font-weight: 800;

  z-index: 2;
}

.price-input {
  padding-left: 38px !important;
}

/* =====================================================
   ERROR
===================================================== */

.error {
  min-height: 18px;

  margin-top: 5px;

  color: #ef4444;

  font-size: 12px;

  font-weight: 500;
}

/* =====================================================
   FOOTER
===================================================== */

.product-card-footer {
  display: flex;

  justify-content: flex-end;

  padding: 20px 30px;

  border-top: 1px solid #edf0f5;

  background: #fafbfe;
}

/* =====================================================
   SAVE BUTTON
===================================================== */

.save-product-btn {
  min-height: 48px;

  padding: 0 25px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  border: 0;

  border-radius: 12px;

  color: #ffffff;

  background: linear-gradient(135deg, #ff6b35, #ff8f5b);

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.save-product-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 26px rgba(255, 107, 53, 0.32);
}

.save-product-btn:active {
  transform: translateY(0);
}

.save-product-btn i {
  font-size: 14px;
}

/* =====================================================
   DISABLED
===================================================== */

.product-form .form-control:disabled,
.product-form .form-select:disabled {
  background: #f3f4f8;

  color: #9297a7;

  cursor: not-allowed;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {
  .product-card {
    border-radius: 14px;
  }

  .product-card-header {
    padding: 20px;
  }

  .product-form-body {
    padding: 20px;
  }

  .form-row-custom {
    grid-template-columns: 1fr;

    gap: 7px;

    margin-bottom: 18px;
  }

  .form-label-wrap {
    padding-top: 0;
  }

  .form-label-wrap label {
    font-size: 13px;
  }

  .product-card-footer {
    padding: 18px 20px;
  }

  .save-product-btn {
    width: 100%;
  }
}

/* =========================================
   CATEGORY FORM
========================================= */

.category-form-card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #e9eaf0;
  box-shadow: 0 8px 30px rgba(23, 21, 45, 0.06);
}

.category-form-group {
  margin-bottom: 24px;
}

.category-form-group .form-label {
  display: block;
  margin-bottom: 9px;
  color: #17152d;
  font-size: 14px;
  font-weight: 700;
}

.category-form-group .required {
  color: #ef4444;
}

/* =========================================
   INPUT
========================================= */

.category-form-group .input-icon {
  position: relative;
}

.category-form-group .input-icon > i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 2;
  pointer-events: none;
}

.category-form-group .form-control {
  width: 100%;
  height: 48px;
  padding: 0 15px 0 43px;
  border: 1px solid #dfe2ea;
  border-radius: 10px;
  background: #fafbfe;
  color: #17152d;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.category-form-group .form-control:focus {
  border-color: #ff6b35;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  outline: none;
}

/* =========================================
   UPLOAD
========================================= */

.upload-card {
  width: 100%;
}

.upload-area {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 140px;
  padding: 25px;
  border: 2px dashed #d9dce8;
  border-radius: 15px;
  background: #fafbfe;
  transition: all 0.25s ease;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #ff6b35;
  background: #fff8f4;
  box-shadow: 0 8px 25px rgba(23, 21, 45, 0.05);
}

.upload-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b35, #ff8f5b);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.upload-content {
  flex: 1;
}

.upload-content h5 {
  margin: 0 0 6px;
  color: #17152d;
  font-size: 16px;
  font-weight: 700;
}

.upload-content p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 13px;
}

.upload-content p span {
  color: #ff6b35;
  font-weight: 700;
}

.upload-content small {
  color: #9ca3af;
  font-size: 11px;
}

.upload-input {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* =========================================
   STATUS
========================================= */

.category-status {
  cursor: pointer;
}

/* =========================================
   ERROR
========================================= */

.category-form-group .error {
  margin-top: 6px;
  color: #ef4444;
  font-size: 12px;
}

/* =========================================
   SAVE BUTTON
========================================= */

.category-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
}

.category-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 145px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6b35, #ff8f5b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(255, 107, 53, 0.22);
  transition: all 0.2s ease;
}

.category-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.28);
}

.category-save-btn:active {
  transform: translateY(0);
}

.category-save-btn i {
  font-size: 15px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .category-form-card {
    padding: 18px;
    border-radius: 14px;
  }

  .upload-area {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    min-height: 175px;
    padding: 20px;
  }

  .upload-content {
    width: 100%;
  }

  .category-save-btn {
    width: 100%;
  }

  .category-form-actions {
    justify-content: stretch;
  }
}
/* Chrome, Safari, Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}