 body {
   background: #f7f7f7;
 }

 /* Animations */
 @keyframes fadeSlideUp {
   from {
     opacity: 0;
     transform: translateY(20px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 .animate {
   animation: fadeSlideUp 0.7s ease-in-out;
 }

 .sidebar a {
   transition: all 0.3s ease;
 }

 .sidebar a:hover {
   padding-left: 18px;
   background: #f1f1f1;
 }

 .dashboard-card {
   transition: all 0.35s ease;
   cursor: pointer;
 }

 .dashboard-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
 }
/* =========================
   Custom Fieldset Design
========================= */

.custom-fieldset {
  border: 1px solid #e0e0e0;
  padding: 30px;
  margin-bottom: 25px;
  background: #ffffff;
  border-radius: 4px;
}

.custom-legend {
  font-size: 18px;
  font-weight: 600;
  padding: 0 16px;
  width: auto;
  margin: 0 auto;
  color: #333;
  background: #fff;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Horizontal lines */
.custom-legend::before,
.custom-legend::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 1px;
  background: #dcdcdc;
}

.custom-legend::before {
  left: -140px;
}

.custom-legend::after {
  right: -140px;
}

/* Inputs spacing polish */
.custom-fieldset .form-control {
  padding: 10px 12px;
  font-size: 14px;
}

/* Focus effect */
.custom-fieldset .form-control:focus {
  border-color: #0d6efd;
  box-shadow: none;
}

/* Responsive fix */
@media (max-width: 576px) {
  .custom-fieldset {
    padding: 20px;
  }

  .custom-legend::before,
  .custom-legend::after {
    width: 60px;
  }

  .custom-legend::before {
    left: -80px;
  }

  .custom-legend::after {
    right: -80px;
  }
}
body {
  background-color: #F7F5F0;
  font-family: 'DM Sans', sans-serif;
  color: #1A1612;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  letter-spacing: -0.02em;
}

/* Summary Cards */
.summary-card {
  background: #fff;
  border: 1.5px solid #E8E3DC;
  border-radius: 0;
  padding: 20px 22px;
  transition: border-color 0.15s;
}

.summary-card:hover {
  border-color: #1A1612;
}

.summary-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8C857C;
  font-weight: 500;
  margin-bottom: 8px;
}

.summary-value {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #1A1612;
}

.summary-sub {
  font-size: 12px;
  color: #8C857C;
  margin-top: 4px;
}

/* Filter pills */
.filter-pill {
  border: 1.5px solid #E8E3DC;
  background: transparent;
  color: #8C857C;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
  padding: 5px 14px;
  border-radius: 0;
  transition: all 0.15s;
  cursor: pointer;
}

.filter-pill:hover {
  color: #1A1612;
  border-color: #8C857C;
}

.filter-pill.active {
  background: #1A1612;
  border-color: #1A1612;
  color: #fff;
  font-weight: 500;
}

/* Table */
.orders-table {
  background: #fff;
  border: 1.5px solid #E8E3DC;
  border-radius: 0;
}

.orders-table thead th {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8C857C;
  font-weight: 500;
  border-bottom: 1.5px solid #E8E3DC;
  background: #fff;
  padding: 12px 16px;
}

.orders-table tbody tr {
  border-bottom: 1px solid #F0EBE4;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
}

.orders-table tbody tr:last-child {
  border-bottom: none;
}

.orders-table tbody tr:hover {
  background: #FAF8F5;
}

.orders-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border: none;
}

.order-id {
  font-size: 12.5px;
  font-weight: 500;
  color: #1A1612;
  font-variant-numeric: tabular-nums;
}

.order-name {
  font-size: 14px;
  font-weight: 500;
  color: #1A1612;
  margin-bottom: 2px;
}

.order-items {
  font-size: 12px;
  color: #8C857C;
}

.order-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: #1A1612;
  letter-spacing: -0.01em;
}

.order-date {
  font-size: 12.5px;
  color: #8C857C;
}

/* Badges */
.badge {
  border-radius: 0;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
}

.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-completed {
  background: #EDF5F1;
  color: #3A7D5E;
}

.badge-completed::before {
  background: #3A7D5E;
}

.badge-rejected {
  background: #EDF5F1;
  color: #A83240;
}

.badge-rejected::before {
background: #A83240;
}

.badge-pending {
  background: #FFF8EC;
  color: #B87D1A;
}

.badge-pending::before {
  background: #B87D1A;
}

.badge-processing {
  background: #EEF0FF;
  color: #4050C8;
}

.badge-processing::before {
  background: #4050C8;
}

.badge-canceled {
  background: #F5ECED;
  color: #A83240;
}

.badge-canceled::before {
  background: #A83240;
}

/* Buttons */
.btn-dark-custom {
  background: #1A1612;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
}

.btn-dark-custom:hover {
  background: #2E2820;
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: #1A1612;
  border: 1.5px solid #E8E3DC;
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 8px 18px;
}

.btn-outline-custom:hover {
  border-color: #8C857C;
  color: #1A1612;
}

/* Pagination */
.page-link {
  border-radius: 0 !important;
  border: 1.5px solid #E8E3DC;
  color: #8C857C;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  transition: all 0.15s;
  margin: 0 2px;
}

.page-link:hover {
  border-color: #1A1612;
  color: #1A1612;
  background: #fff;
}

.page-item.active .page-link {
  background: #1A1612;
  border-color: #1A1612;
  color: #fff;
}

.divider {
  border-top: 1.5px solid #E8E3DC;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.4s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.05s;
}

.delay-2 {
  animation-delay: 0.10s;
}

.delay-3 {
  animation-delay: 0.15s;
}

.delay-4 {
  animation-delay: 0.20s;
}

.delay-5 {
  animation-delay: 0.25s;
}

.delay-6 {
  animation-delay: 0.30s;
}

.delay-7 {
  animation-delay: 0.35s;
}

.delay-8 {
  animation-delay: 0.40s;
}

.delay-9 {
  animation-delay: 0.45s;
}
