/* ========================================
   Account Page
   Payel Bhunia
   ======================================== */

/* ---------- Layout ---------- */
.account {
  padding: 0 0 var(--sp-3xl);
}

.account__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

/* ---------- Sidebar ---------- */
.account__sidebar {
  background: white;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
}

.account__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #917ABF, #6B4F9E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: white;
}

.account__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--clr-text, #1E1233);
  margin-bottom: 2px;
}

.account__role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary, #917ABF);
  font-weight: 600;
  margin-bottom: 24px;
}

.account__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account__nav-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--clr-text, #1E1233);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: block;
}

.account__nav-btn:hover {
  background: rgba(145,122,191,0.08);
}

.account__nav-btn--active {
  background: rgba(145,122,191,0.12);
  color: var(--clr-primary, #917ABF);
  font-weight: 600;
}

.account__nav-admin {
  color: var(--clr-primary, #917ABF);
  font-weight: 600;
}

.account__nav-btn--logout {
  color: #e74c3c;
  margin-top: 12px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

/* ---------- Content ---------- */
.account__content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  min-height: 400px;
}

.account__section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.account__section-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.account__password-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

/* ---------- Form ---------- */
.account__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account__form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.account__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account__field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
}

.account__field input,
.account__field select {
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fafafa;
  width: 100%;
}

.account__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.account__field input:focus,
.account__field select:focus {
  outline: none;
  border-color: var(--clr-primary, #917ABF);
  box-shadow: 0 0 0 3px rgba(145,122,191,0.12);
  background: #fff;
}

.account__field input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.account__form-actions {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.account__save-btn {
  padding: 11px 28px;
  background: linear-gradient(135deg, #917ABF, #6B4F9E);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.account__save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(145,122,191,0.35);
}

.account__save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.account__msg {
  font-size: 0.85rem;
  min-height: 1.2em;
}

.account__msg--success { color: #27ae60; }
.account__msg--error { color: #e74c3c; }

/* ---------- Empty State ---------- */
.account__empty {
  text-align: center;
  padding: 48px 20px;
  color: #aaa;
}

.account__empty svg {
  margin-bottom: 12px;
  opacity: 0.4;
}

.account__empty p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.account__shop-link {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #917ABF, #6B4F9E);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .account__grid {
    grid-template-columns: 1fr;
  }
  .account__sidebar {
    position: static;
  }
  .account__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .account__nav-btn--logout {
    border-top: none;
    margin-top: 0;
    padding-top: 10px;
  }
  .account__content {
    padding: 24px 20px;
  }
}

/* ---------- Address Cards ---------- */
.account__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.account__addresses-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.account__address-card {
  background: white;
  border: 1px solid var(--clr-border, #e5e5e5);
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow 0.2s;
}
.account__address-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.account__address-card--default {
  border-color: #917ABF;
}
.account__address-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.account__address-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.account__address-default-tag {
  display: inline-block;
  background: #f0ebf7;
  color: #6B4F9E;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
}
.account__address-actions {
  display: flex;
  gap: 6px;
}
.account__addr-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.account__addr-btn:hover {
  background: #f5f5f5;
}
.account__addr-btn--danger:hover {
  background: #fde8e8;
  border-color: #e53e3e;
  color: #e53e3e;
}
.account__address-text {
  font-size: 0.85rem;
  color: var(--clr-text-muted, #666);
  line-height: 1.5;
}
.account__address-form-wrap {
  background: white;
  border: 1px solid var(--clr-border, #e5e5e5);
  border-radius: 12px;
  padding: 24px;
  margin-top: 12px;
}
.account__address-form-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.account__cancel-btn {
  padding: 11px 28px;
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border, #ddd);
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.account__cancel-btn:hover {
  background: #f5f5f5;
}

/* ========== MY ORDERS ========== */
.account__orders-list {
  display: grid;
  gap: var(--sp-md, 16px);
}

.account__order-card {
  background: var(--clr-bg, #fff);
  border: 1px solid var(--clr-border, #eee);
  border-radius: 12px;
  padding: 16px 20px;
  transition: box-shadow 0.2s ease;
}

.account__order-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.account__order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.account__order-id {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-text, #333);
  margin-right: 12px;
}

.account__order-date {
  font-size: 0.8rem;
  color: var(--clr-text-muted, #999);
}

.account__order-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: capitalize;
  white-space: nowrap;
}

.account__order-items {
  font-size: 0.85rem;
  color: var(--clr-text-muted, #666);
  line-height: 1.5;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--clr-border, #eee);
  padding-top: 10px;
}

.account__order-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-price, #6B5A8E);
}

.account__order-meta {
  font-size: 0.8rem;
  color: var(--clr-text-muted, #999);
}

.account__order-card--clickable {
  cursor: pointer;
}

.account__order-view-hint {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--clr-primary, #8B7AAF);
  margin-top: 6px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.account__order-card--clickable:hover .account__order-view-hint {
  opacity: 1;
}

/* ========== ORDER DETAIL MODAL ========== */
.order-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 16px;
}

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

.order-detail-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.order-detail-overlay.active .order-detail-modal {
  transform: translateY(0);
}

.order-detail-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--clr-border, #eee);
  flex-shrink: 0;
}

.order-detail-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-price, #6B5A8E);
  margin: 0;
}

.order-detail-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--clr-text-muted, #999);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.order-detail-modal__close:hover {
  background: var(--clr-bg-alt, #f5f3f8);
}

.order-detail-modal__body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* -- Header row -- */
.od-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.od-order-id {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-text, #333);
  margin-right: 10px;
}

.od-order-date {
  font-size: 0.8rem;
  color: var(--clr-text-muted, #999);
}

.od-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: capitalize;
  white-space: nowrap;
}

/* -- Tracking -- */
.od-tracking {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--clr-price, #6B5A8E);
  background: var(--clr-bg-alt, #f5f3f8);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* -- Section -- */
.od-section {
  margin-bottom: 20px;
}

.od-section__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted, #888);
  margin: 0 0 10px;
}

/* -- Items -- */
.od-items {
  display: grid;
  gap: 0;
}

.od-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border, #f0f0f0);
}

.od-item:last-child {
  border-bottom: none;
}

.od-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text, #333);
  display: block;
}

.od-item__variant {
  font-size: 0.78rem;
  color: var(--clr-text-muted, #999);
  display: block;
  margin-top: 2px;
}

.od-item__qty {
  font-size: 0.85rem;
  color: var(--clr-text-muted, #888);
  min-width: 30px;
  text-align: center;
}

.od-item__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text, #333);
  text-align: right;
  min-width: 70px;
}

/* -- Totals -- */
.od-totals {
  margin-top: 8px;
  border-top: 1px solid var(--clr-border, #eee);
  padding-top: 10px;
}

.od-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--clr-text-muted, #888);
  padding: 4px 0;
}

.od-totals__row--total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-price, #6B5A8E);
  border-top: 1px solid var(--clr-border, #eee);
  margin-top: 6px;
  padding-top: 10px;
}

/* -- Info grid -- */
.od-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.od-info-card {
  background: var(--clr-bg-alt, #f9f7fc);
  border-radius: 10px;
  padding: 14px;
}

.od-info-card__title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted, #999);
  margin: 0 0 6px;
}

.od-info-card p {
  font-size: 0.85rem;
  color: var(--clr-text, #333);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* -- Timeline -- */
.od-timeline {
  position: relative;
  padding-left: 20px;
}

.od-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--clr-border, #e5e5e5);
  border-radius: 1px;
}

.od-timeline__item {
  position: relative;
  padding: 0 0 14px 12px;
  display: flex;
  gap: 0;
  flex-direction: column;
}

.od-timeline__item:last-child {
  padding-bottom: 0;
}

.od-timeline__dot {
  position: absolute;
  left: -18px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px currentColor;
  flex-shrink: 0;
}

.od-timeline__status {
  font-size: 0.85rem;
  font-weight: 600;
}

.od-timeline__date {
  font-size: 0.75rem;
  color: var(--clr-text-muted, #999);
  margin-top: 1px;
}

.od-timeline__note {
  font-size: 0.78rem;
  color: var(--clr-text-muted, #888);
  margin-top: 2px;
  font-style: italic;
}

.od-receipt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  border: 1px solid var(--clr-border, #e5e5e5);
  border-radius: var(--radius-md, 8px);
  background: transparent;
  color: var(--clr-text, #333);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.od-receipt-btn:hover {
  background: var(--clr-primary, #917ABF);
  color: white;
  border-color: var(--clr-primary, #917ABF);
}

.od-return-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--clr-border, #e5e5e5);
  border-radius: var(--radius-md, 8px);
  font-family: var(--ff-body, sans-serif);
  font-size: 0.85rem;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.od-return-textarea:focus {
  outline: none;
  border-color: var(--clr-primary, #917ABF);
}
.od-return-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: none;
  border-radius: var(--radius-md, 8px);
  background: #d97706;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.od-return-btn:hover {
  background: #b45309;
}
.od-return-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* -- Mobile responsive -- */
@media (max-width: 600px) {
  .order-detail-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .order-detail-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .order-detail-overlay.active .order-detail-modal {
    transform: translateY(0);
  }

  .order-detail-modal__header {
    padding: 16px 20px 12px;
  }

  .order-detail-modal__body {
    padding: 16px 20px 20px;
  }

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

  .od-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .od-item__qty,
  .od-item__price {
    text-align: left;
    min-width: unset;
  }

  .od-item__qty {
    font-size: 0.78rem;
  }
}

/* ========== WISHLIST GRID ========== */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-md, 16px);
}

.wishlist-card {
  background: var(--clr-bg, #fff);
  border: 1px solid var(--clr-border, #eee);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.wishlist-card:hover {
  box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.08));
  transform: translateY(-3px);
}

.wishlist-card__img-wrap {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--clr-bg-alt, #f5f5f5);
}

.wishlist-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wishlist-card:hover .wishlist-card__image {
  transform: scale(1.05);
}

.wishlist-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8d5f5, #f5d5e0);
}

.wishlist-card__info {
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.wishlist-card__category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted, #999);
}

.wishlist-card__name {
  font-family: var(--ff-heading, serif);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold, 600);
  color: var(--clr-text, #333);
  text-decoration: none;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wishlist-card__name:hover {
  color: var(--clr-primary, #917ABF);
}

.wishlist-card__price {
  font-family: var(--ff-heading, serif);
  font-size: 0.85rem;
  font-weight: var(--fw-bold, 700);
  color: var(--clr-price, #6B5A8E);
}

.wishlist-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  cursor: pointer;
  color: var(--clr-text-muted, #999);
  transition: all 0.3s ease;
  z-index: 2;
  opacity: 0;
}

.wishlist-card:hover .wishlist-card__remove {
  opacity: 1;
}

.wishlist-card__remove:hover {
  background: #ef4444;
  color: #fff;
}

.wishlist-card__add-bag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 0;
  border: none;
  border-top: 1px solid var(--clr-border, #eee);
  background: transparent;
  color: var(--clr-primary, #917ABF);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-card__add-bag:hover {
  background: var(--clr-primary, #917ABF);
  color: #fff;
}

.wishlist-card__add-bag:disabled {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 480px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm, 12px);
  }
  .wishlist-card__info {
    padding: var(--sp-sm, 12px);
  }
}

/* ========== Dark Mode ========== */
[data-theme="dark"] .account__sidebar {
  background: var(--clr-surface);
}

[data-theme="dark"] .account__content {
  background: var(--clr-surface);
}

[data-theme="dark"] .account__section-title,
[data-theme="dark"] .account__section-subtitle {
  border-bottom-color: var(--clr-border);
  color: var(--clr-text);
}

[data-theme="dark"] .account__password-section {
  border-top-color: var(--clr-border);
}

[data-theme="dark"] .account__field label {
  color: var(--clr-text-muted);
}

[data-theme="dark"] .account__field input,
[data-theme="dark"] .account__field select {
  border-color: var(--clr-border);
  background: var(--clr-bg-alt);
  color: var(--clr-text);
}

[data-theme="dark"] .account__field input:focus {
  background: var(--clr-bg);
}

[data-theme="dark"] .account__nav-btn--logout {
  border-top-color: var(--clr-border);
}

[data-theme="dark"] .account__address-default-tag {
  background: rgba(145, 122, 191, 0.2);
}

[data-theme="dark"] .account__addr-btn {
  border-color: var(--clr-border);
  color: var(--clr-text-muted);
}

[data-theme="dark"] .account__addr-btn:hover {
  background: var(--clr-bg-alt);
}

[data-theme="dark"] .account__addr-btn--danger:hover {
  background: rgba(127, 29, 29, 0.2);
}

[data-theme="dark"] .account__address-form-wrap {
  background: var(--clr-bg-alt);
}

[data-theme="dark"] .account__cancel-btn:hover {
  background: var(--clr-bg-alt);
}

[data-theme="dark"] .order-detail-modal {
  background: var(--clr-surface);
  color: var(--clr-text);
}

[data-theme="dark"] .account__nav-btn {
  color: var(--clr-text-muted);
}

[data-theme="dark"] .account__nav-btn--active,
[data-theme="dark"] .account__nav-btn:hover {
  color: var(--clr-text);
  background: var(--clr-bg-alt);
}
