@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

:root {
  --primary: #b88712;
  --primary-light: #d4af37;
  --secondary: #c79f2a;
  --success: #d4af37;
  --danger: #f72585;
  --warning: #f8c041;
  --info: #d4af37;
  --dark: #201a0f;
  --light: #f8f3e9;
  --border: #e7dcc7;
  --text: #2b2412;
  --text-light: #8c7a56;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-sm: 10px;
  --sidebar-width: 260px;
  --header-height: 70px;
  --transition: all 0.3s ease;

  /* Bootstrap primary overrides */
  --bs-primary: #b8860b;
  --bs-primary-rgb: 184, 134, 11;
  --bs-primary-text: #fff;
  --bs-primary-hover-bg: #d4af37;
  --bs-primary-hover-border-color: #d4af37;
  --bs-primary-active-bg: #a57508;
  --bs-primary-active-border-color: #a57508;
  --bs-btn-focus-shadow-rgb: 184, 134, 11;
  --bs-link-color: #b8860b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

body {
  background-color: #f5f7fb;
  color: var(--text);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  direction: ltr;
  text-align: left;
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout */
.container {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: var(--header-height) 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: sticky;
  /* مهم */
  top: 0;
  right: 0;
  height: 100vh;
  /* ياخذ كامل الشاشة */
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #2d2410 0%, #1b170d 100%);
  color: white;
  overflow-y: auto;
  z-index: 1000;
}

.sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.3), transparent);
}

.sidebar {
  transition: transform 0.3s ease;
}

.floating-toggle {
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: none;
  margin: 0 20px;
}





.overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}


/* عند التفعيل */
.overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-heading {
  padding: 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 0.5px;
}

.logo {
  font-size: 25px;
  font-weight: 700;
  color: white;
}

.logo span {
  color: var(--primary-light);
  background: linear-gradient(45deg, var(--primary-light), var(--success));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 4px;
}

.menu-heading {
  padding: 16px 25px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(212, 175, 55, 0.7);
  font-weight: 500;
}

.nav-menu {
  padding: 10px 0;
}

.sidebar .nav-item {
  color: white !important;
  text-decoration: none;
}

.nav-item {
  padding: 11px 25px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  border-right: 4px solid transparent;
  margin: 3px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  font-size: 14px;

}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: var(--transition);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover,
.nav-item.active {
  background-color: rgba(255, 255, 255, 0.07);
  border-right-color: var(--primary-light);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(67, 97, 238, 0.2), transparent);
  font-weight: 500;
}

.nav-item i {
  width: 24px;
  margin-left: 12px;
  font-size: 18px;
  text-align: center;
  transition: var(--transition);
}

.nav-item:hover i {
  transform: translateY(-2px);
}

/* Header */
.header {
  grid-column: 2;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  position: sticky;
  top: 0;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--light);
  border-radius: 50px;
  padding: 2px 18px;
  flex: 0 0 400px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
  border-color: rgba(67, 97, 238, 0.3);
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  padding: 0px 10px;
  color: var(--text);
  font-size: 14px;
  height: 45px;
}

.search-bar i {
  color: var(--text-light);
  font-size: 16px;
}

.search-bar form {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
  margin-left: 15px;
  color: var(--text);
  width: 40px;
  height: 40px;
  margin: 0 15px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background-color: rgba(67, 97, 238, 0.1);
}

.menu-toggle i {
  transition: var(--transition);
}

.menu-toggle:hover i {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
}

.notification {
  position: relative;
  margin: 0 15px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.notification:hover {
  background-color: rgba(67, 97, 238, 0.1);
}

.notification i {
  font-size: 18px;
  color: var(--text-light);
  transition: var(--transition);
}

.notification:hover i {
  color: var(--primary);
  transform: translateY(-2px);
}

.notification .badge {
  position: absolute;
  top: 3px;
  left: 3px;
  background-color: var(--danger);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(247, 37, 133, 0.2);
  border: 2px solid white;
  font-weight: 600;
}

.user-profile {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 25px;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-right: 10px;
}

.user-profile:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

.profile-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: 0 3px 8px rgba(67, 97, 238, 0.2);
  font-size: 16px;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
}

.user-role {
  font-size: 12px;
  color: var(--text-light);
}

/* Main Content */
.main-content {
  grid-column: 2;
  padding: 25px 30px;
  overflow-y: auto;
  height: calc(100vh - var(--header-height));
}

.page-title {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
}

.action-buttons .btn {
  margin-right: 12px;
}

/* Dashboard Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease;
}

.stat-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  opacity: 0.8;
  transition: var(--transition);
}

.stat-card:nth-child(1)::before {
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.stat-card:nth-child(2)::before {
  background: linear-gradient(to bottom, var(--info), var(--success));
}

.stat-card:nth-child(3)::before {
  background: linear-gradient(to bottom, var(--success), #36d399);
}

.stat-card:nth-child(4)::before {
  background: linear-gradient(to bottom, var(--warning), #ffbd59);
}

.stat-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  color: white;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.stat-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon.purple {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.card-icon.blue {
  background: linear-gradient(135deg, var(--info), #4cc9f0);
}

.card-icon.green {
  background: linear-gradient(135deg, var(--success), #36d399);
}

.card-icon.orange {
  background: linear-gradient(135deg, var(--warning), #ffbd59);
}

.card-value {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: var(--transition);
}

.stat-card:hover .card-value {
  color: var(--primary);
}

.card-label {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}


/* Data Table */
.table-card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 25px;
  animation: fadeInUp 0.7s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-title {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(248, 249, 250, 0.5);
}

.card-title h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.card-title h3 i {
  margin-left: 10px;
  color: var(--primary);
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  text-align: center;
}

.table-card table.data-table {
  font-size: 14px;
}

.data-table th {
  font-weight: 600;
  color: var(--text);
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 0 0 var(--border);
}

.data-table th:first-child {
  border-top-right-radius: 8px;
}

.data-table th:last-child {
  border-top-left-radius: 8px;
}

.data-table td {
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background-color: rgba(67, 97, 238, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.status {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.status i {
  margin-left: 6px;
  font-size: 12px;
}

.status.active {
  background-color: rgba(76, 201, 240, 0.15);
  color: #0891b2;
  border: 1px solid rgba(76, 201, 240, 0.3);
}

.status.pending {
  background-color: rgba(248, 150, 30, 0.15);
  color: #d97706;
  border: 1px solid rgba(248, 150, 30, 0.3);
}

.status.cancelled {
  background-color: rgba(247, 37, 133, 0.15);
  color: #db2777;
  border: 1px solid rgba(247, 37, 133, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  outline: none;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
}

.btn:hover::after {
  right: 100%;
}

.btn i {
  margin-left: 8px;
  font-size: 16px;
  transition: var(--transition);
}


.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 22px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(58, 12, 163, 0.2);
}

.btn-success-custom {
  background: linear-gradient(135deg, #198754, #21a464);
  color: white;
  padding: 12px 22px;
}

.btn-success-custom:hover {
  background: linear-gradient(135deg, #157347, #198754);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(25, 135, 84, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary-light);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(58, 12, 163, 0.2);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.procedures-btn {
  background: #00000000;
  color: #767676;
  border: 0;
  margin: 10px;
}

.delete-btn {
  background: linear-gradient(to left, #f72585, #db2777);
  color: white;
}

td .btn {
  margin: 5px 3px;
}


/* Product Layout */
.product-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 20px;
}

.product-main {
  width: 100%;
}

.product-sidebar {
  width: 100%;
}

.w-100 {
  width: 100%;
}

input,
select {
  height: 53px;
}

.btn.btn-generate {
  position: absolute;
  left: 9px;
  top: 6px;
  background: linear-gradient(135deg, #b88712, #d4af37);
  border: none;
  color: #fff;
  transition: 0.3s;
  height: 40px;
  width: 40px;
  z-index: 9999;
}

.btn.btn-generate i {
  margin: 0 !important;
}


.section-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 20px;
  font-size: 14px;
}

.info-grid div {
  background: #f8f9fc;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.info-grid span {
  color: var(--text-light);
  margin-left: 5px;
}

.order-total {
  margin-top: 15px;
  text-align: left;
  font-size: 16px;
  background: #f8f9fc;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  width: max-content;
  float: left;
}

.order-total strong {
  color: var(--primary);
}


.info-box {
  background: #f8f9fc;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-box span {
  font-size: 14px;
  color: var(--text-light);
}

.info-box strong {
  font-size: 15px;
  color: var(--text);
}

.info-box {
  background: #f8f9fc;
  padding: 14px;
  border-radius: var(--radius-sm);
}

.active-tab {
  background: var(--primary);
  color: #fff;
}

.btn-generate:hover {
  background: linear-gradient(135deg, #d4af37, #b88712);
  color: #fff;
}

/* Image Box */
.image-box {
  padding: 20px;
  text-align: center;
}

.image-box input {
  width: 100%;
}

/* Publish box styling */
.box-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
}


.modal-header .btn-close {
  margin-right: auto;
  margin-left: 0;
}

/* Schedule box */
.schedule-box {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fbfcfc;
  border: 1px solid var(--border);
}

/* Image preview container */
.image-preview {
  width: 100%;
  height: 200px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fafafa;
  margin-bottom: 10px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  color: var(--text-light);
  font-size: 14px;
}

/* Remove button */
.removeImageBtn {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #000;
  color: #fff;
  border: none;
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
}

.card-icon i {
  font-size: 26px;
}

/* Container */
.buttons-table {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Each stat */
.buttons-table span {
  background: #f8f9fa;
  border: 1px solid var(--border);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

button,
input,
optgroup,
select,
textarea {
  border-radius: var(--radius) !important;
  font-size: 14px !important;
}

/* Label (strong text) */
.buttons-table span strong {
  color: var(--primary);
  font-weight: 600;
}

/* Hover effect (optional nice touch) */
.buttons-table span:hover {
  background: #f1f3f5;
  border-color: var(--primary);
}


/* Grid layout */
.settings-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.note {
  margin-top: 10px;
  background: #f8f9fc;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.note span {
  color: var(--text-light);
  margin-left: 5px;
}

/* Each column */
.settings-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Checkbox Modern */
.modern-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modern-check:hover {
  background: rgba(67, 97, 238, 0.05);
}

.modern-check input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: #fff;
  position: relative;
  transition: var(--transition);
}

.modern-check input:checked+.checkmark {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
}

.checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg) scale(0);
  transition: 0.2s;
}

.modern-check input:checked+.checkmark::after {
  transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

/* Bank Box */
.bank-box {
  display: none;
  padding: 15px;
  border-radius: var(--radius);
  background: #fafafa;
  border: 1px solid var(--border);
}

.table-img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.dropdown-menu {
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  color: #444;
  transition: 0.3s;
}

/* الأيقونات */
.dropdown-item i {
  font-size: 15px;
  color: #6c757d;
  transition: 0.25s;
}

/* Hover */
.dropdown-item:hover {
  background: #f5f7fb;
}


/* تسجيل الخروج */
.dropdown-item.logout {
  color: #e74a3b;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


.table-banner {
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.small-image-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.small-preview {
  width: 120px;
  height: 45px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f9f9f9;
}

.small-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.small-btn {
  padding: 6px 10px;
  font-size: 14px;
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-preview {
  position: relative;
}


/* ================= TAGS ================= */

.tags-input-box input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* Tags container */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Each tag */
.tag-item {
  background: linear-gradient(135deg, #b88712, #d4af37);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Remove button */
.tag-item span {
  cursor: pointer;
  font-weight: bold;
}

/* ================= MULTI IMAGES ================= */

.multi-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

/* Image box */
.multi-item {
  position: relative;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  background: #f8f9fa;
  transition: 0.3s;
}

/* Image */
.multi-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Remove button */
.multi-item .remove-image {
  display: block;
}

/* ================= IMAGE BOX IMPROVEMENT ================= */

.image-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Upload button tweak */
.upload-btn {
  text-align: center;
  font-size: 15px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #b88712, #d4af37);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.2);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}


.container {
  max-width: 100%;
  padding: 0;
}

.field label.modern-check {
  font-size: 16px;
}

/* ================= ANIMATION ================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1200px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sidebar {
  background-color: var(--dark) !important;
}

@media (max-width: 767.98px) {
  .container {
    grid-template-columns: 0 1fr;
  }

  .offcanvas-md {
    max-width: 75%;
  }

  .sidebar {
    transform: translateX(0%);
    position: fixed;
    height: 100vh;
    z-index: 1050;
  }

  .sidebar.active {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .header {
    padding: 0 20px;
  }

  .main-content {
    padding: 20px;
  }

  td.match {
    justify-content: center !important;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .search-bar {
    display: none;
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }

  .user-role {
    display: none;
  }

  .title {
    font-size: 24px;
  }

}

@media (max-width: 576px) {
  .header-actions {
    margin-right: auto;
  }

  .notification {
    margin: 0 8px;
  }

  .user-info {
    display: none;
  }

  .profile-img {
    margin-left: 0;
  }

  .action-buttons {
    display: flex;
    flex-direction: column;
  }

  .action-buttons .btn {
    margin: 5px 0;
  }
}

.fas {
  font-size: 18px;
}










.settings-grid-customization {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .settings-grid-customization {
    grid-template-columns: 1fr;
  }
}

.vertical-elegant-tabs .nav-link {
  color: #64748b;
  text-decoration: none;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
  background: transparent;
  border-right: 3px solid transparent;
}

.vertical-elegant-tabs .nav-link i {
  font-size: 16px;
  opacity: 0.7;
}

.vertical-elegant-tabs .nav-link.active {
  background: white;
  color: var(--primary) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-right: 3px solid var(--primary);
  font-weight: 700;
}

.vertical-elegant-tabs .nav-link.active i {
  opacity: 1;
}

.vertical-elegant-tabs .nav-link:hover:not(.active) {
  background-color: rgba(67, 97, 238, 0.03);
  color: var(--primary);
}

.content-wrapper-elegant {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}











.pc-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: var(--primary);
  border-radius: 12px;
}

.pc-add-btn {
  background: #eef2ff;
  color: var(--primary);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  border: none;
}

.pc-item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
}

.pc-badge {
  background: #e7f0ff !important;
  color: var(--primary);
  font-size: 11px;
  padding: 3px 8px;
}

.pc-highlight {
  color: #ff8c00;
  font-weight: 600;
  font-size: 13px;
}

.cursor-pointer {
  cursor: pointer
}