/* =============================================================================
   Dashboard – Order Detail
   ============================================================================= */

/* ── Page wrapper ──────────────────────────────────────────────────────────── */
.od-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Order Header Card ─────────────────────────────────────────────────────── */
.od-header-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3efe5;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.07);
  overflow: hidden;
}

.od-header-top {
  background: #1a6b35;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.od-order-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.od-order-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.od-order-number {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.od-order-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.od-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.od-btn-invoice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: #fff;
  color: #14532d;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}

.od-btn-invoice:hover {
  background: #d4edda;
  color: #14532d;
  transform: translateY(-1px);
}

.od-header-bottom {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid #e9f5eb;
  background: #fafffe;
}

.od-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
}

.od-meta-item i {
  color: #28a745;
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.od-meta-label {
  color: #6b7280;
}

.od-meta-value {
  font-weight: 600;
  color: #1e1e1e;
}

/* ── Status Badges ─────────────────────────────────────────────────────────── */
.od-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.od-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.od-badge-pending   { background: #fef3c7; color: #92400e; }
.od-badge-processing{ background: #dbeafe; color: #1e40af; }
.od-badge-completed { background: #dcfce7; color: #14532d; }
.od-badge-refunded  { background: #f3f4f6; color: #4b5563; }
.od-badge-cancelled { background: #fee2e2; color: #991b1b; }
.od-badge-failed    { background: #fee2e2; color: #991b1b; }
.od-badge-on-hold   { background: #ede9fe; color: #5b21b6; }

.od-badge-paid      { background: #dcfce7; color: #14532d; }
.od-badge-unpaid    { background: #fef3c7; color: #92400e; }

/* ── Order Progress Timeline ───────────────────────────────────────────────── */
.od-timeline {
  display: flex;
  justify-content: center;
  padding: 24px 28px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3efe5;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.05);
}

.od-timeline-inner {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 640px;
}

.od-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.od-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.od-step.step-done:not(:last-child)::after,
.od-step.step-active:not(:last-child)::after {
  background: linear-gradient(90deg, #28a745, #e5e7eb);
}

.od-step.step-done:not(:last-child)::after {
  background: #28a745;
}

.od-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 1;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.od-step.step-done .od-step-dot {
  background: #28a745;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
}

.od-step.step-active .od-step-dot {
  background: #fff;
  color: #28a745;
  border-color: #28a745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
}

.od-step.step-pending .od-step-dot {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}

.od-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

.od-step.step-done .od-step-label,
.od-step.step-active .od-step-label {
  color: #14532d;
}

/* ── Section Card ──────────────────────────────────────────────────────────── */
.od-section {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3efe5;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.05);
  overflow: hidden;
}

.od-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #f8fdf9;
  border-bottom: 1px solid #e3efe5;
}

.od-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #1a6b35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.od-section-title {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #14532d;
  margin: 0;
}

.od-section-body {
  padding: 20px 24px;
}

/* ── Order Items ───────────────────────────────────────────────────────────── */
.od-items-table {
  width: 100%;
}

.od-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f9f2;
}

.od-item-row:last-of-type {
  border-bottom: none;
}

.od-item-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e3efe5;
  flex-shrink: 0;
}

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

.od-item-name {
  font-weight: 700;
  color: #1e1e1e;
  font-size: 0.92rem;
  line-height: 1.3;
}

.od-item-variant {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.od-variant-chip {
  background: #f0fdf4;
  color: #14532d;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}

.od-item-sku {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 3px;
}

.od-item-pricing {
  text-align: right;
  flex-shrink: 0;
}

.od-item-unit {
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
}

.od-item-total {
  font-size: 1rem;
  font-weight: 800;
  color: #1e1e1e;
  white-space: nowrap;
}

/* ── Order Totals ──────────────────────────────────────────────────────────── */
.od-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed #e3efe5;
}

.od-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #4b5563;
}

.od-totals-row.discount {
  color: #16a34a;
  font-weight: 600;
}

.od-totals-row.grand-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e1e1e;
  border-top: 2px solid #e3efe5;
  margin-top: 6px;
  padding-top: 10px;
}

/* ── Address Cards Grid ────────────────────────────────────────────────────── */
.od-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.od-addr-card {
  background: #f8fdf9;
  border: 1px solid #e3efe5;
  border-radius: 12px;
  padding: 18px 20px;
  height: 100%;
}

.od-addr-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #28a745;
  margin-bottom: 12px;
}

.od-addr-type-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #1a6b35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.od-addr-name {
  font-weight: 700;
  color: #1e1e1e;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.od-addr-line {
  font-size: 0.83rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.od-addr-phone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 8px;
}

/* ── Shipment Tracking ─────────────────────────────────────────────────────── */
.od-shipment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid #f0f9f2;
}

.od-shipment-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.od-shipment-info {
  flex: 1;
  min-width: 200px;
}

.od-shipment-carrier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1e40af;
  background: #dbeafe;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.od-shipment-service {
  font-weight: 700;
  color: #1e1e1e;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.od-tracking-link {
  font-size: 0.82rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.od-tracking-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.od-shipment-eta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 3px;
}

.od-shipment-status {
  flex-shrink: 0;
}

/* ── Refund History ────────────────────────────────────────────────────────── */
.od-refund-section {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.06);
}

.od-refund-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}

.od-refund-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.od-refund-title {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #991b1b;
  margin: 0;
}

.od-refund-body {
  padding: 12px 24px;
}

.od-refund-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #fecaca;
}

.od-refund-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.od-refund-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #fee2e2;
  color: #991b1b;
  margin-bottom: 4px;
}

.od-refund-via {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.od-refund-reason {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 3px;
  font-style: italic;
}

.od-refund-amount {
  text-align: right;
  flex-shrink: 0;
}

.od-refund-value {
  font-size: 1rem;
  font-weight: 800;
  color: #dc2626;
  white-space: nowrap;
}

.od-refund-date {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* ── Back Button ───────────────────────────────────────────────────────────── */
.od-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #f8fdf9;
  color: #14532d;
  border: 1.5px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}

.od-back-btn:hover {
  background: #dcfce7;
  border-color: #4ade80;
  color: #14532d;
  transform: translateX(-2px);
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .od-header-top {
    padding: 18px 20px;
  }

  .od-section-body,
  .od-refund-body {
    padding: 16px 18px;
  }

  .od-section-header,
  .od-refund-header {
    padding: 13px 18px;
  }

  .od-header-bottom {
    padding: 13px 20px;
    gap: 12px;
  }

  .od-addresses {
    grid-template-columns: 1fr;
  }

  .od-timeline {
    padding: 18px 14px;
  }

  .od-step-dot {
    width: 30px;
    height: 30px;
  }

  .od-step-label {
    font-size: 0.65rem;
  }

  .od-item-img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .od-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .od-header-actions {
    width: 100%;
  }

  .od-btn-invoice {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================================
   Dashboard – Sidebar
   ============================================================================= */

.dash-sidebar {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e3efe5;
  box-shadow: 0 4px 24px rgba(40, 167, 69, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ── User Profile Block ─────────────────────────────────────────────────────── */
.dash-profile-block {
  background: #1a6b35;
  padding: 24px 20px;
  text-align: center;
}

.dash-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.5);
}

.dash-avatar-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 3px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.dash-online-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  background: #4ade80;
  border: 2px solid #fff;
  border-radius: 50%;
}

.dash-user-name {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.2;
}

.dash-user-email {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Nav Menu ───────────────────────────────────────────────────────────────── */
.dash-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.dash-nav-item {
  margin: 0;
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color 0.18s, background 0.18s;
  border-left: 3px solid transparent;
}

.dash-nav-link:hover {
  background: #f0fdf4;
  color: #14532d;
  border-left-color: #86efac;
  text-decoration: none;
}

.dash-nav-link.active {
  background: linear-gradient(90deg, #f0fdf4 0%, #f8fff9 100%);
  color: #14532d;
  font-weight: 700;
  border-left-color: #28a745;
}

.dash-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
  background: #f3f4f6;
  color: #6b7280;
}

.dash-nav-link:hover .dash-nav-icon,
.dash-nav-link.active .dash-nav-icon {
  background: #1a6b35;
  color: #fff;
}

.dash-nav-label {
  flex: 1;
}

.dash-nav-arrow {
  font-size: 0.65rem;
  color: #d1d5db;
  transition: color 0.18s, transform 0.18s;
}

.dash-nav-link:hover .dash-nav-arrow,
.dash-nav-link.active .dash-nav-arrow {
  color: #28a745;
  transform: translateX(2px);
}

/* ── Divider ────────────────────────────────────────────────────────────────── */
.dash-nav-divider {
  height: 1px;
  background: #f0f9f2;
  margin: 6px 16px;
}

/* ── Logout ─────────────────────────────────────────────────────────────────── */
.dash-logout-wrap {
  padding: 10px 12px 16px;
}

.dash-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  width: 100%;
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  border-radius: 10px;
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}

.dash-logout-btn:hover {
  background: #fee2e2;
  border-color: #f87171;
  transform: translateY(-1px);
}

.dash-logout-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: background 0.18s;
}

.dash-logout-btn:hover .dash-logout-icon {
  background: #fecaca;
}

/* =============================================================================
   Dashboard – Orders List Page
   ============================================================================= */

.dol-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Page Title Row ─────────────────────────────────────────────────────────── */
.dol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.dol-page-title {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 800;
  color: #14532d;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dol-page-title-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #28a745, #14532d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.dol-count {
  font-size: 0.78rem;
  font-weight: 600;
  background: #dcfce7;
  color: #14532d;
  padding: 2px 10px;
  border-radius: 20px;
}

/* ── Order Card ─────────────────────────────────────────────────────────────── */
.dol-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e3efe5;
  box-shadow: 0 2px 12px rgba(40, 167, 69, 0.05);
  transition: box-shadow 0.2s, transform 0.15s;
  overflow: hidden;
}

.dol-card:hover {
  box-shadow: 0 6px 24px rgba(40, 167, 69, 0.12);
  transform: translateY(-2px);
}

.dol-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  flex-wrap: wrap;
}

.dol-order-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #16a34a;
  flex-shrink: 0;
}

.dol-order-main {
  flex: 1;
  min-width: 0;
}

.dol-order-number {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.dol-order-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dol-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.77rem;
  color: #6b7280;
}

.dol-meta-chip i {
  font-size: 0.7rem;
  color: #9ca3af;
}

.dol-order-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.dol-order-total {
  text-align: right;
}

.dol-total-label {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dol-total-value {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e1e1e;
}

.dol-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #1a6b35;
  color: #fff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.18s, transform 0.15s;
  border: none;
}

.dol-view-btn:hover {
  opacity: 0.88;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Empty State ────────────────────────────────────────────────────────────── */
.dol-empty {
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #bbf7d0;
  text-align: center;
  padding: 60px 24px;
}

.dol-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #4ade80;
  margin: 0 auto 20px;
}

.dol-empty-title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 6px;
}

.dol-empty-text {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 20px;
}

/* ── Sidebar responsive ─────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .dash-sidebar {
    margin-bottom: 20px;
  }

  .dash-profile-block {
    padding: 18px 16px;
  }

  .dash-avatar-initials,
  .dash-avatar {
    width: 58px;
    height: 58px;
  }
}

/* ── Orders list responsive ─────────────────────────────────────────────────── */
@media (max-width: 576px) {
  .dol-card-inner {
    padding: 14px 16px;
    gap: 12px;
  }

  .dol-order-icon {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .dol-order-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── My Addresses (saved addresses) ───────────────────────────────────────── */
.dash-address-card {
  background: #fff;
}

.dash-address-card-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dash-address-delete-form {
  display: inline;
  margin: 0;
}

.dash-address-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.dash-address-btn i {
  font-size: 0.85rem;
}

.dash-address-btn-edit {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.dash-address-btn-edit:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
  transform: translateY(-1px);
}

.dash-address-btn-delete {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.dash-address-btn-delete:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
  transform: translateY(-1px);
}

.dash-address-add-panel .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}

.address-edit-form .form-label {
  font-weight: 600;
  color: #4b5563;
}

@media (max-width: 576px) {
  .dash-address-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dash-address-btn span {
    display: inline;
  }
}
