/* ================================
   ⚡ Admin Dashboard Styling (Responsive Enhanced)
   ================================ */

:root {
  --bg: #f7f8fa;
  --card: #fff;
  --border: #e6e8ec;
  --text: #1f2937;
  --muted: #6b7280;

  --primary: #0d6efd;
  --danger: #dc3545;

  --radius: 12px;
}

.vd-sidebar-col {
  position: sticky;
  top: 90px;
  align-self: flex-start;
  height: fit-content;
  z-index: 10;
}

.vd-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Badges */
.badge {
  font-weight: 700;
}

/* Cards */
.card.shadow-sm {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important;
}

/* Modal (simple) */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.admin-modal__content {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.admin-modal__header {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.admin-modal__body {
  padding: 14px;
}

/* RTL/LTR */
html[dir="rtl"] .my-account .tab-content {
  text-align: right;
}

html[dir="ltr"] .my-account .tab-content {
  text-align: left;
}

/* Responsive */
@media (max-width: 991px) {
  .vd-sidebar-col {
    position: relative;
    top: auto;
  }

  .vd-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .my-account .nav.flex-column.nav-pills {
    position: static;
  }

  .my-account .nav-pills {
    flex-direction: row !important;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
  }

  .my-account .nav-pills .tab-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}