:root {
  --sidebar-bg: rgb(255 255 255 / 1);
  --sidebar-bg-light: rgba(246, 247, 248, 0.5);
  --accent: #197fe6;/*17 212 82 / #197fe6 1*/
   --accent-hover: #063e77;
  --muted-icon: rgb(71 85 105 / 1);/*#9DB9A6*/;
  --white: #ffffff;
  --danger: rgb(250 85 56);
   --danger-hover: rgba(250, 85, 56, 0.5);
   --danger-bg: rgba(250, 85, 56, 0.1);
  --orange: rgb(251 146 60);
  --purple: rgb(192 132 252);
  --border: rgb(226 232 240 / 1);
  --border-hover: #e5e7eb;
  --text-color: rgb(30 41 59 /1)/*#111813*/;
  --text-primary: #197fe6/*rgb(17 212 82 /1)*/;
  --text-green: #22C55E;
  --main-bg:rgb(246 247 248 / 1);
  --secondary-bg:rgba(40, 57, 46, 0.5)
}

/* ===============================
   Global Smooth Scroll
================================ */
html {
  scroll-behavior: smooth;
}

/* ===============================
   Sidebar & Main Scrollbars
================================ */
.admin-sidebar,
.admin-content {
  scrollbar-width: thin;                  /* Firefox */
  scrollbar-color: var(--muted-icon) var(--sidebar-bg);        /* thumb track */
}

/* Webkit Browsers */
.admin-sidebar::-webkit-scrollbar,
.admin-content::-webkit-scrollbar {
  width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track,
.admin-content::-webkit-scrollbar-track {
  background: #1f2d24;                     /* track bg */
}

.admin-sidebar::-webkit-scrollbar-thumb,
.admin-content::-webkit-scrollbar-thumb {
  background-color: var(--muted-icon);               /* thumb */
  border-radius: 10px;
}

/* Hover effect */
.admin-sidebar::-webkit-scrollbar-thumb:hover,
.admin-content::-webkit-scrollbar-thumb:hover {
  background-color: var(--muted-icon);
}

/* Remove scrollbar arrows */
.admin-sidebar::-webkit-scrollbar-button,
.admin-content::-webkit-scrollbar-button {
  display: none;
}


body{
  background-color: var(--main-bg);
  user-select: none;
  /*font-family: ui-sans-serif, system-ui, sans-serif, "Apple COlor Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
}

*{
   font-family: "Inter", sans-serif;
}

/* Allow text selection where needed */
input,
textarea,
select {
  user-select: text;
}

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

.text-white{
  color:var(--white)
}

.text-green{
  color:var(--text-green) !important
}

.text-color{
  color: var(--text-color) !important;
}

.text-muted{
  color:var(--muted-icon) !important
}

.text-bold{
  font-weight: 600 !important;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  color: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  /*transition: width 0.3s ease;*/
  overflow-y: auto;
  padding:8px;
  border-right: 1px solid var(--border);
}

.admin-sidebar.collapsed {
  width: 80px;
}

/* User */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.sidebar-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.company-name {
  font-weight: 700;
  font-size: 16px;
}

.username {
  font-size: 12px;
  color: #9db9a6;
}

.admin-sidebar.collapsed .sidebar-user-text {
  display: none;
}

/* Divider */
.sidebar-divider {
  border-color: var(--border);
}

/* Menu */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.sidebar-menu a{
  text-decoration: none;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  cursor: pointer;
  /*transition: 0.3s;*/
  margin-top: 6px;
  color: var(--muted-icon);
  font-size: 15px;
}

.sidebar-menu li i {
  color: var(--muted-icon);
  width: 22px;
  text-align: center;
}

.sidebar-menu li span {
  white-space: nowrap;
}

.sidebar-menu li:hover,
.sidebar-menu li.active {
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  background-color: rgba(25, 127, 230, 0.1);
  border-left: 4px solid var(--accent);
}

.sidebar-menu a.router-link-active li {
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
  background-color: rgba(25, 127, 230, 0.1);
  border-left: 4px solid var(--accent);
}

.sidebar-menu a.router-link-active li i{
  color: var(--accent);
}

.sidebar-menu li:hover span,
.sidebar-menu li.active span {
  color: var(--accent);
}

.sidebar-menu li:hover i,
.sidebar-menu li.active i {
  color: var(--accent);
}

.sidebar-menu li:hover span,
.sidebar-menu li.active span {
  color: var(--accent);
}

/* Collapsed menu */
.admin-sidebar.collapsed li span {
  display: none;
}

/* Logout */
.sidebar-logout {
  padding: 20px;
  text-align: center;
}

.sidebar-logout button {
  background: var(--secondary-bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  width: 100%;
}

.admin-sidebar.collapsed .sidebar-logout span {
  display: none;
}

/* Main */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.admin-header {
  min-height: 60px !important;
  width:100%;
  background: var(--sidebar-bg);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: var(--text-color);
  border-bottom: 1px solid var(--border);
}

.toggle-btn {
  font-size: 18px;
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  color: var(--text-color);
  padding: 4px 10px;
  border-radius: 8px;
}
/*
.toggle-btn :hover {
    border: 1px solid var(--border-hover);
}*/

.page-title {
  margin: 0;
  font-weight: 600;
}

/* Content */
.admin-content {
  padding: 20px;
  overflow-y: auto;
}

/*dashbord card*/
.dashbord-card{
  background-color: var(--sidebar-bg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.dashbord-card:hover{
  border: 1px solid var(--accent);
}

.bg-dark-lighter{
  background-color: var(--sidebar-bg-light);
}

.pr-card-label-btn{
  border-radius: 10px;
  display: flex;
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertical */
  height: 54px;
  width: 54px;
}

.icon-size{
  font-size: 24px;
}

.pr-card-label-btn-2{
border-radius: 10px;
align-items: center;
font-size: 12px;
font-weight: 600;
padding: 0.3px 0.7rem;
height: fit-content;
}

.card-p{
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--muted-icon);
  margin-bottom: 8px;
  margin-top: 12px;
}

.card-big-p{
  font-weight: 700;
 letter-spacing: -0.025;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 0px;
  color: var(--white);
}

.card-medium-p{
  font-weight: 700;
 letter-spacing: -0.025;
  font-size: 1.25rem;
  line-height: 2rem;
  margin-bottom: 0px;
  color: var(--white);
}

.grid{
  display: grid;
}

.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.card-btn{
  color: var(--muted-icon);
  border: none;
  justify-content: center;
  align-items: center;
  height: 2rem;
}

.font-bold{
  font-weight: 700;
}

.text-xs{
  font-size: 0.75rem !important;
  line-height: 1rem;
}

.text-xxs{
  font-size: 0.5rem !important;
  line-height: 1rem;
}

.rounded-lg{
  border-radius: 0.75rem;
}

.card-btn-two{
font-size: 12px;
font-weight: 700;

}
/*primary card*/
.primary-color{
background-color: rgba(25, 127, 230, 0.1);
color: var(--text-primary);
}

.dashbord-card:hover .primary-color{
  background-color: var(--text-primary); 
  color: var(--main-bg);
}

.dashbord-card:hover .primary-btn-color{
  background-color: var(--text-primary); 
  color: var(--main-bg);
}

.primary-btn-color{
  color: var(--text-primary);
}
/*green*/
.green-color{
background-color: rgba(34, 197, 94, 0.1);
color: var(--text-green);
}

.dashbord-card:hover .green-color{
  background-color: var(--text-green); 
  color: var(--main-bg);
}

.dashbord-card:hover .green-btn-color{
  background-color: var(--text-green); 
  color: var(--main-bg);
}

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

/*purpo card*/
.purple-color{
background-color: rgb(192 132 252 /0.1);
color: var(--purple);
}

.dashbord-card:hover .purple-color{
  background-color: var(--purple);
  color: var(--main-bg);
}

.purple-btn-color{
  color: var(--purple);
}

.dashbord-card:hover .purple-btn-color{
  background-color: var(--purple);
  color: var(--main-bg);
}


/*orange card*/
.orange-color{
background-color: rgb(251 146 60 /0.1);
color: var(--orange);

}
.dashbord-card:hover .orange-color{
  background-color: var(--orange);
  color: var(--main-bg);
}

.orange-btn-color{
  color: var(--orange);
}

.dashbord-card:hover .orange-btn-color{
  background-color: var(--orange);
  color: var(--main-bg);
}

/*blue card*/
.blue-color{
background-color: rgb(96 165 250 /0.1);
color: rgb(96 165 250);

}
.dashbord-card:hover .blue-color{
  background-color: rgb(96 165 250);
  color: var(--main-bg);
}


.blue-btn-color{
  color: rgb(96 165 250);
}

.dashbord-card:hover .blue-btn-color{
  background-color: rgb(96 165 250);
  color: var(--main-bg);
}

/*teal card*/
.teal-color{
background-color: rgb(45 212 191 /0.1);
color: rgb(45 212 191);

}
.dashbord-card:hover .teal-color{
  background-color: rgb(45 212 191);
  color: var(--main-bg);
}

.teal-btn-color{
  color: rgb(45 212 191);
}

.dashbord-card:hover .teal-btn-color{
  background-color: rgb(45 212 191);
  color: var(--main-bg);
}

/*yellow card*/
.yellow-color{
background-color: rgb(250 204 21 /0.1);
color: rgb(250 204 21);
}

.dashbord-card:hover .yellow-color{
  background-color: rgb(250 204 21);
  color: var(--main-bg);
}

.yellow-btn-color{
  color: rgb(250 204 21);
}

.dashbord-card:hover .yellow-btn-color{
  background-color: rgb(250 204 21);
  color: var(--main-bg);
}

.default-color{
background-color: var(--main-bg);
color: var(--muted-icon);
}

/*indigo card*/
.indigo-color{
background-color: rgb(129 140 248 /0.1);
color: rgb(129 140 248);
}

.dashbord-card:hover .indigo-color{
  background-color: rgb(129 140 248);
  color: var(--main-bg);
}

.indigo-btn-color{
  color: rgb(129 140 248);
}

.dashbord-card:hover .indigo-btn-color{
  background-color: rgb(129 140 248);
  color: var(--main-bg);
}

/*red*/
.red-color{
background-color: rgb(250 85 56 /0.1);
color: var(--danger)
}

.dashbord-card:hover .red-color{
  background-color: var(--danger);
  color: var(--main-bg);
}

.red-btn-color{
  color: var(--danger)
}

.dashbord-card:hover .red-btn-color{
  background-color: var(--danger);
  color: var(--main-bg);
}

.text-primary{
  color:var(--accent) !important
}

.text-danger{
  color:var(--danger)
}

.text-purple{
  color:var(--purple)
}

.text-orange{
  color:var(--orange)
}

.grid-col{
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 16px;
}

.chart-card {
  background-color: var(--sidebar-bg);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.chart-card:hover{
  border: 1px solid var(--accent);
}

canvas {
  max-width: 100%;
}

.flex-col{
  flex-direction: column;
}

.credit-label{
  align-items: center;
  color: var(--muted-icon);
}

.credit-text{
  letter-spacing: 0.05;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

label{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-control{
  color: var(--muted-icon);
  font-size: 14px;
}

.text-md{
  font-size: 0.9rem;
  line-height: 1.25rem;
}

.text-3xl{
  font-size: 1.5rem;
  line-height: 2.25rem;
}

.font-bold{
  font-weight: 700;
}

.items-center{
  align-items: center;
  /*justify-content: center;*/
}

.border-hover:hover{
   border:1px solid var(--accent);
}


/*progrss bar*/

/* General styling for the progress element container */
progress {
  /* Remove default appearance for cross-browser consistency */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  width: 100%;
  height: 10px;
  background-color: #eee; /* Color of the *unfilled* portion */
  border-radius: 5px;
  border: none;
}

/* Styling the filled portion for Webkit (Chrome, Safari, Opera) */
progress::-webkit-progress-value {
  background-color: var(--accent); /* Color of the *filled* portion */
  border-radius: 5px;
}

/* Styling the entire bar for Webkit */
progress::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 5px;
}

/* Styling the filled portion for Firefox */
progress::-moz-progress-bar {
  background-color: var(--accent);
  border-radius: 5px;
}

/**table*/
/* Card */
.recent-orders-card {
 background-color: var(--sidebar-bg);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
   border: 1px solid var(--border);
  overflow: hidden;
}

/* Header & Body same background */
.recent-orders-card .card-header,
.recent-orders-card .card-body {
   background-color: var(--sidebar-bg);
   color: var(--white);
}

/* Header */
.recent-orders-card .card-header {
  padding: 16px 20px;
}

.view-all-link {
  font-size: 14px;
  color: var(--accent);
 font-weight: 600;
  text-decoration: none;
}

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

/* Table */
.orders-table thead th {
  background-color: var(--sidebar-bg-light);
  font-size: 11px !important;
  font-weight: 600;
  color: var(--text-color);
  padding: 14px 14px;
}

.orders-table tbody td {
  padding: 8px 10px;
  font-size: 12px;
  vertical-align: middle;
  border-top: none;
}

.orders-table tbody tr td {
  background-color: var(--sidebar-bg);
  transition: background .2s ease;
}

.orders-table tbody tr:hover td{
  background-color: var(--sidebar-bg-light);
  transition: background .2s ease;
}

tr {
  /* Apply borders to the individual cells (th and td) */
  border: 1px solid var(--border);
  padding: 6px 8px; /* Add some space around the content */
}

/* Client */
.client-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.product-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.client-name {
  font-size: 12px;
  font-weight: 500;
}

/* Status Badges */
.status-badge {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 500;
}

.status-badge.completed {
  background: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background: #fff7ed;
  color: var(--danger)
}

.border-bottom{
  border-bottom: 1px solid var(--border) !important;
}

.items-start{
  align-items: flex-start;
}

.cursor-pointer{
  cursor: pointer;
}

.mt-05{
  margin-top:0.125px;
}

.h-5{
 height: 1.25rem;
}

.h-10{
 height: 1.75rem;
}

.w-5{
  width:1.25rem;
}

.border{
  border: 1px solid var(--border);
}
/*
.rounded{
  border-radius: 0.5rem !important;
}*/

.backgroung-main{
  background-color: var(--sidebar-bg) !important;
}

.ui-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.ui-checkbox:checked {
  background-color: var(--accent);
  border-color: var(--border);
}

/* Check icon */
.ui-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hover */
.ui-checkbox:hover {
  box-shadow: 0 0 0 4px var(--sidebar-bg-light);
}

/* Focus (keyboard accessibility) */
.ui-checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--sidebar-bg-light);
}

.follow-item:hover{
  background-color: var(--sidebar-bg-light);
}

.follow-item:hover p{
  color: var(--accent);
}

/*page header and button
.page-header {
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}*/

/* Add button */
.add-btn {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all .2s ease;
}

.add-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.popular-product-card {
  background: var(--sidebar-bg-light);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.popular-product-card:hover {
  /*transform: translateY(-4px);*/
  border: 1px solid var(--accent);
}

/* Image */
.pp-image-wrapper img {
  border-radius: 14px 14px 0px 0px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .3s ease;
}

.popular-product-card:hover img {
  /*transform: scale(1.05);*/
}

/* Content */
.pp-content {
  padding: 14px 16px;
}

.pp-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pp-category {
  font-size: 13px;
  margin-bottom: 5px;
}

/* Footer */
.pp-price {
  font-size: 15px;
  font-weight: 600;
}

/* Edit button */
.pp-edit-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  padding: 4px;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.pp-edit-btn:hover {
  color: var(--accent-hover);
  transform: scale(1.1);
}

.simple-tabs {
  color: #9ca3af;
}

/* Menu */
.tab-menu {
  display: flex;
  gap: 24px;
  border-bottom: var(--border)
}

.tab-link {
  background: transparent;
  border: none;
  padding: 0;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color:var(--muted-icon);
  cursor: pointer;
  position: relative;
}

/* Active */
.tab-link.active {
  color: var(--accent);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent)
}

/* Content */
.tab-content {
  margin-top: 16px;
}

.tab-pane {
  display: none;
  font-size: 14px;
}

.tab-pane.active {
  display: block;
}

.product-filter-bar {
  padding: 12px 8px;
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}

/* Search */
.filter-search-input {
  border: 1px solid var(--border);
  border-right: none;
  /*background: var(--main-bg);*/
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 10px 0 0 10px;
  outline: none;
  width: 220px;
  color: var(--text-color);
}

.filter-date-input {
  border: 1px solid var(--border);
  border-right: none;
  /*background: var(--main-bg);*/
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 10px;
  outline: none;
  color: var(--text-color);
}

.filter-search-btn {
  border: 1px solid var(--border);
  border-left: none;
  background: var(--main-bg);
  padding: 0 14px;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  color: var(--text-color);
}

.filter-search-btn:hover {
  background: var(--main-bg);
  color: var(--text-color);
}

/* Selects */
.filter-select {
  /*background: var(--main-bg);*/
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
 color:var(--text-color);
  cursor: pointer;
}

/* Export button */
.filter-export-btn {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
 color:var(--white);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.filter-export-btn:hover {
  background: var(--accent)
}

.btn-primary{
  background: var(--accent);
  border-radius: 10px;
  border: none;
  padding: 7px 12px;
  font-size: 12px;
 color:var(--white);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-primary:hover{
  background: var(--accent-hover);
}

.btn-danger-icon{
  background: var(--danger);
  border-radius: 10px;
  border: none;
  padding: 7px 12px;
  font-size: 12px;
 color:var(--white);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-danger-icon:hover{
  background: var(--danger-hover);
}

.btn-danger-icon-light{
  background: var(--danger-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 7px 12px;
  font-size: 12px;
 color:var(--danger);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-danger-icon-light:hover{
  border: 1px solid var(--danger)
}

.btn-primary-icon-light{
  background-color: rgb(17 212 82 /0.1);
color: var(--text-primary);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 7px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-primary-icon-light:hover{
  border: 1px solid var(--text-primary)
}

.btn-default-icon{
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
 color:var(--white);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-default-icon:hover{
  background: var(--main-bg);
  border: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 768px) {
  .filter-search-input {
    width: 100%;
  }
}

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

.order-action-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  padding-left: 2px;
  cursor: pointer;
  font-size: 12px;
  transition: color .2s ease, transform .2s ease;
}

/* Hover colors */
.order-action-btn.edit:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.order-action-btn.delete:hover {
  color: var(--danger);
  transform: scale(1.1);
}

.btn-transparent{
  background-color: transparent;
  border: none;
}

.input-transparent{
  background-color: transparent;
  border: 1px solid var(--sidebar-bg-light);
  border-radius: 10px;
  padding:6px;
}


.decolation-none{
  text-decoration: none;
}

.separeter{
  color: var(--sidebar-bg);
  padding: 0px 4px;
}

/**qntity for order*/
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sidebar-bg);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--sidebar-bg);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--white);
  transition: background .2s ease;
}

.qty-btn:hover {
  background: var(--accent);
}

.qty-input {
  width: 34px;
  height: 28px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--white);
  background: var(--main-bg);
}

.price-input {
  width: 90px;
  height: 28px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--white);
  background: var(--main-bg);
}

/* Chrome, Edge, Safari */
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;
}

/* Ensure no spinner appears on hover or focus */
input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: textfield;
}

.w-140{
  width: 140px !important;
}


/* Make modal 90% of viewport width */
.custom-wide-modal {
  max-width: 90% !important;
  width: 90%;
}

/* Modal styling */
.custom-modal-style {
  border-radius: 16px;
  border: none;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Header */
.custom-modal-header {
  /*background: var(--main-bg);*/
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  color: var(--text-color);
}

/* Body */
.custom-modal-body {
  background: var(--sidebar-bg);
  padding: 14px;
}

/* Search */
.search-wrapper {
  position: relative;
  width: 280px;
  

}

.search-input {
  padding-right: 35px;
  border-radius: 8px;
  border: 1px solid var(--accent);
}

.filter-icon {
  position: absolute;
  right: 10px;
  color: var(--accent);
  cursor: pointer;
}

.btn-close{
  background: var(--accent);
}

.input-field{
  padding: 8px 8px;
  text-align:left;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  color: var(--text-color);
  /*background: var(--main-bg);*/
  border-radius: 8px;
}

.text-area{
  background-color: #f8f8f8;
}


/*side menu modification*/

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

/* Overlay default */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1040;
}

/* Mobile Behavior */
@media (max-width: 991.98px) {

  #admin-app {
    display: block !important;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100vh;
    width: 260px;
    z-index: 1050;
    transition: transform 0.3s ease;
  }

  .admin-sidebar.active {
    left: 0;
  }

  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .admin-main {
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }
}


/*width of td for mobile*/
.td-wd-user{
min-width: 140px;
}

.td-wd-product{
min-width: 160px;
}

.td-wd{
min-width: 100px;
}

.td-wd-sm{
min-width: 70px;
}

.td-select {
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.card-header {
  background: var(--sidebar-bg-light) !important;
  padding:14px 14px !important;
}

.border-top{
  border-top: 1px solid #ccc;
  padding-top: 5px;
}

/* Mobile: convert flex to grid */
@media (max-width: 767.98px) {

  .mob-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mob-mt{
    margin-top: 10px;
  }

}


