/* ============================================================
   i-rana.com — Client Dashboard Stylesheet
   Used by: dashboard.html, orders.html, order-detail.html,
            invoices.html, invoice-detail.html, support.html,
            profile.html, notifications.html, order-tracking.html
   ============================================================ */

/* ─── Dashboard layout shell ─── */
.dash-page {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

.dash-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--nav-height));
}

/* ─── Sidebar ─── */
.dash-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  transition: transform 0.25s ease, width 0.25s ease;
  z-index: 100;
}

.dash-sidebar::-webkit-scrollbar { width: 4px; }
.dash-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Sidebar header */
.dash-sidebar__header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-user__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
}

.dash-user__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-user__name {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.dash-user__role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sidebar nav */
.dash-nav {
  flex: 1;
  padding: 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav__group {
  margin-bottom: 16px;
}

.dash-nav__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 8px;
  margin-bottom: 6px;
}

.dash-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.dash-nav__link:hover {
  background: var(--bg-card);
  color: var(--white);
}

.dash-nav__link.active {
  background: rgba(37,99,235,0.15);
  color: var(--cyan);
}

.dash-nav__link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--cyan);
  border-radius: 0 2px 2px 0;
}

.dash-nav__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dash-nav__badge {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.dash-nav__badge--red   { background: #ef4444; }
.dash-nav__badge--cyan  { background: var(--cyan); color: var(--bg-primary); }

/* Sidebar footer */
.dash-sidebar__footer {
  padding: 12px;
  border-top: 1px solid var(--border);
}

/* ─── Main content area ─── */
.dash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dash-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
}

.dash-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dash-topbar__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.dash-topbar__toggle:hover { color: var(--white); }

.dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-width: 0;
}

.dash-breadcrumb__item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.dash-breadcrumb a:hover { color: var(--text-secondary); }

.dash-breadcrumb__sep { flex-shrink: 0; font-size: 0.75rem; }

.dash-breadcrumb__current { color: var(--text-secondary); font-weight: 500; }

.dash-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dash-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.dash-icon-btn:hover {
  background: var(--bg-card);
  color: var(--white);
}

.dash-icon-btn__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid var(--bg-secondary);
}

.dash-content {
  padding: 28px 24px;
  flex: 1;
}

/* ─── Page header ─── */
.dash-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dash-page-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.dash-page-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.dash-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ─── Stat cards row ─── */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition);
}

.dash-stat-card:hover { border-color: var(--border-light); }

.dash-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-card__icon--blue  { background: rgba(37,99,235,0.15); color: var(--blue); }
.dash-stat-card__icon--cyan  { background: rgba(6,182,212,0.12); color: var(--cyan); }
.dash-stat-card__icon--green { background: rgba(34,197,94,0.12); color: #22c55e; }
.dash-stat-card__icon--amber { background: rgba(245,158,11,0.12); color: #f59e0b; }
.dash-stat-card__icon--red   { background: rgba(239,68,68,0.12);  color: #ef4444; }

.dash-stat-card__body { flex: 1; min-width: 0; }

.dash-stat-card__label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dash-stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dash-stat-card__meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dash-stat-card__meta--up   { color: #22c55e; }
.dash-stat-card__meta--down { color: #ef4444; }

/* ─── Generic card ─── */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dash-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.dash-card__title {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--white);
}

.dash-card__body {
  padding: 20px;
}

.dash-card__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

/* ─── Table ─── */
.dash-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.dash-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.dash-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(30,58,95,0.5);
  vertical-align: middle;
}

.dash-table tbody tr:last-child td { border-bottom: none; }

.dash-table tbody tr:hover td { background: rgba(255,255,255,0.025); }

.dash-table__cell--bold { color: var(--white); font-weight: 500; }

/* ─── Status badges ─── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--pending    { background: rgba(245,158,11,0.12); color: #f59e0b; }
.status-badge--processing { background: rgba(37,99,235,0.15);  color: #60a5fa; }
.status-badge--active     { background: rgba(6,182,212,0.12);  color: var(--cyan); }
.status-badge--completed  { background: rgba(34,197,94,0.12);  color: #4ade80; }
.status-badge--cancelled  { background: rgba(239,68,68,0.10);  color: #f87171; }
.status-badge--paused     { background: rgba(148,163,184,0.12); color: var(--text-secondary); }
.status-badge--refunded   { background: rgba(168,85,247,0.12); color: #c084fc; }

/* ─── Order card ─── */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition);
}

.order-card:hover { border-color: var(--border-light); }

.order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.order-card__id {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.order-card__service {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--white);
}

.order-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.order-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Order progress bar */
.order-progress {
  margin-bottom: 14px;
}

.order-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.order-progress__bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.order-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  transition: width 0.6s ease;
}

.order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}

/* ─── Invoice styles ─── */
.invoice-amount {
  font-weight: 600;
  color: var(--white);
}

.invoice-amount--due   { color: #f59e0b; }
.invoice-amount--paid  { color: #4ade80; }

/* ─── Support ticket card ─── */
.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.ticket-card:hover {
  border-color: var(--border-light);
  background: rgba(255,255,255,0.025);
}

.ticket-card--unread { border-left: 3px solid var(--cyan); }

.ticket-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.ticket-card__subject {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--white);
}

.ticket-card__preview {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ticket-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.775rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* ─── Chat / message thread ─── */
.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  max-height: 480px;
  overflow-y: auto;
}

.ticket-thread::-webkit-scrollbar { width: 4px; }
.ticket-thread::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ticket-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ticket-message--admin { flex-direction: row-reverse; }

.ticket-message__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.ticket-message__bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ticket-message--client .ticket-message__bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top-left-radius: 2px;
}

.ticket-message--admin .ticket-message__bubble {
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  border-top-right-radius: 2px;
  color: var(--text-primary);
}

.ticket-message__time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.ticket-message--admin .ticket-message__time { text-align: right; }

/* Reply box */
.ticket-reply {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.ticket-reply textarea {
  flex: 1;
  min-height: 80px;
  resize: none;
}

/* ─── Notification item ─── */
.notif-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
}

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

.notif-item:hover { background: rgba(255,255,255,0.025); }

.notif-item--unread { background: rgba(37,99,235,0.05); }

.notif-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.notif-item__icon--order   { background: rgba(6,182,212,0.12);  }
.notif-item__icon--invoice { background: rgba(34,197,94,0.12);  }
.notif-item__icon--support { background: rgba(245,158,11,0.12); }
.notif-item__icon--system  { background: rgba(37,99,235,0.15);  }

.notif-item__body { flex: 1; min-width: 0; }

.notif-item__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 4px;
}

.notif-item__text strong { color: var(--white); font-weight: 500; }

.notif-item__time {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.notif-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: 6px;
  align-self: flex-start;
}

/* ─── Profile form ─── */
.profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__edit {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  cursor: pointer;
  font-size: 1rem;
}

.profile-avatar:hover .profile-avatar__edit { opacity: 1; }

.profile-avatar-info { flex: 1; }

.profile-avatar-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.profile-avatar-email {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ─── Order tracking timeline ─── */
.tracking-timeline {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.tracking-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.tracking-step:last-child { padding-bottom: 0; }

.tracking-step__indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.tracking-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  z-index: 1;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}

.tracking-step--done .tracking-step__dot {
  border-color: var(--cyan);
  background: rgba(6,182,212,0.15);
  color: var(--cyan);
}

.tracking-step--active .tracking-step__dot {
  border-color: var(--blue);
  background: rgba(37,99,235,0.15);
  color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.tracking-step__line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 4px 0;
  min-height: 20px;
}

.tracking-step--done .tracking-step__line { background: var(--cyan); }

.tracking-step:last-child .tracking-step__line { display: none; }

.tracking-step__body { flex: 1; padding-top: 4px; min-width: 0; }

.tracking-step__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.tracking-step--done .tracking-step__title,
.tracking-step--active .tracking-step__title { color: var(--white); }

.tracking-step__desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tracking-step__time {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ─── Filter bar ─── */
.dash-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dash-filter-bar .form-input,
.dash-filter-bar .form-select {
  padding: 9px 14px;
  font-size: 0.85rem;
  height: 38px;
}

.dash-filter-bar .form-select { min-width: 140px; }
.dash-filter-bar .form-input  { min-width: 220px; }

/* ─── Empty state ─── */
.dash-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.dash-empty__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.dash-empty__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.dash-empty__text {
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ─── Pagination ─── */
.dash-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.dash-pagination__info {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.dash-pagination__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-page-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: none;
  color: var(--text-secondary);
  font-size: 0.825rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.dash-page-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-light);
  color: var(--white);
}

.dash-page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.dash-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Mobile sidebar overlay ─── */
.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  backdrop-filter: blur(2px);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .dash-sidebar {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    bottom: 0;
    height: auto;
    transform: translateX(-100%);
    z-index: 200;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }

  .dash-sidebar.open { transform: translateX(0); }

  .dash-overlay.active { display: block; }

  .dash-topbar__toggle { display: flex; }
}

@media (max-width: 768px) {
  .dash-content { padding: 20px 16px; }
  .dash-topbar  { padding: 0 16px; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .dash-page-header  { margin-bottom: 20px; }
  .dash-page-title   { font-size: 1.2rem; }

  .ticket-message__bubble { max-width: 90%; }
}

@media (max-width: 480px) {
  .dash-content { padding: 16px 12px; }

  .dash-stats { grid-template-columns: 1fr 1fr; gap: 10px; }

  .dash-stat-card { padding: 14px; gap: 10px; }
  .dash-stat-card__value { font-size: 1.25rem; }
  .dash-stat-card__icon  { width: 36px; height: 36px; }

  .dash-filter-bar { flex-direction: column; }
  .dash-filter-bar .form-input,
  .dash-filter-bar .form-select { min-width: unset; width: 100%; }

  .dash-page-header { flex-direction: column; gap: 12px; }
  .dash-page-actions { width: 100%; }

  .dash-table th,
  .dash-table td { padding: 10px 12px; }

  .ticket-reply { flex-direction: column; gap: 10px; }
  .ticket-reply .btn { width: 100%; justify-content: center; }
}
