:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #131523;
  --muted: #7e84a3;
  --border: #e6e9f4;
  --primary: #1e5eff;
  --primary-600: #336dff;
  --primary-100: #ecf2ff;
  --success: #1fbf75;
  --danger: #f34359;
  --sidebar: #0f172a;
  --sidebar-soft: #111f3a;
}

* {
  box-sizing: border-box;
}

body.admin-body {
  margin: 0;
  font-family: "Inter", "Open Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

body.auth-body {
  margin: 0;
  font-family: "Inter", "Open Sans", sans-serif;
  background: #0f172a;
  color: var(--text);
  min-height: 100vh;
}

.auth-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.04);
  z-index: 0;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.auth-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  color: #ffffff;
  text-align: center;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 3px;
}

.auth-brand-bottom {
  margin-top: 0;
  margin-bottom: 0;
}

.auth-title {
  font-size: 34px;
  margin: 2px 0 4px;
}

.auth-subtitle {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 14px;
}

.auth-form .form-group label {
  color: #ffffff;
}

.auth-form input {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  width: 100%;
}

.auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.auth-password {
  position: relative;
}

.auth-password input {
  padding-right: 46px;
}

.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-brand {
  flex-direction: column;
  gap: 6px;
}

.auth-logo {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.auth-logo img {
  max-width: 120px;
  max-height: 120px;
}

.auth-card .brand-title,
.auth-card .brand-subtitle {
  color: #ffffff;
}

.auth-card .brand-title {
  margin: 0;
}

.auth-card .brand-subtitle {
  margin: 0;
}

.auth-card .form-help {
  color: #ffffff;
}

.auth-eye svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-eye .eye-open {
  opacity: 0;
  transform: scale(0.9);
}

.auth-eye .eye-closed {
  opacity: 1;
  transform: scale(1);
}

.auth-eye.is-open .eye-open {
  opacity: 1;
  transform: scale(1);
}

.auth-eye.is-open .eye-closed {
  opacity: 0;
  transform: scale(0.9);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
  margin: 0 auto;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #ffffff;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.sort-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.sort-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
}

.sidebar {
  background: linear-gradient(160deg, #e0f2fe 0%, #bae6fd 45%, #93c5fd 100%);
  color: #0f172a;
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  margin-bottom: 18px;
}

.brand-mark {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  max-width: 60px;
  max-height: 60px;
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
}

.brand-subtitle {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-section {
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.7);
  padding: 8px 10px;
}

.nav-group summary,
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
}

.nav-group summary {
  cursor: pointer;
  list-style: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group[open] > summary {
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}

.nav-link {
  background: transparent;
  color: rgba(15, 23, 42, 0.9);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.7);
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-group .nav-link {
  margin-left: 28px;
  font-size: 14px;
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--bg);
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search:focus-within {
  background: #fff;
  border-color: #cfd8f8;
  box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.08);
}

.search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.profile-initial {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
}

.profile-role {
  font-size: 12px;
  color: var(--muted);
}

.content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
}

.sidebar,
.content,
.main {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar::-webkit-scrollbar,
.content::-webkit-scrollbar,
.main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.page-title {
  margin: 6px 0 4px;
  font-size: 28px;
  font-weight: 700;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
}

.page-actions {
  display: flex;
  gap: 10px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
}

.stat-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.filter-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}

.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table th.col-no,
.table td.cell-no {
  width: 54px;
  text-align: center;
  white-space: nowrap;
}

.table tbody tr:hover {
  background: #f8f9fe;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-100);
  color: var(--primary);
}

.badge-send {
  background: #e8f0ff;
  color: #1e5eff;
}

.badge-done {
  background: #e9f9f0;
  color: #15824f;
}

.badge-return {
  background: #fff7ed;
  color: #c2410c;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-danger {
  background: #fff5f6;
  color: var(--danger);
  border: 1px solid rgba(243, 67, 89, 0.3);
}

.btn-status-send {
  background: #1e5eff;
  color: #fff;
  border-color: #1e5eff;
}

.btn-status-done {
  background: #1fbf75;
  color: #fff;
  border-color: #1fbf75;
}

.btn-status-other {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
}

select.searchable-select__native {
  position: fixed !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.searchable-select {
  position: relative;
  width: 100%;
}

.searchable-select__trigger {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

.searchable-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.searchable-select__value.is-placeholder {
  color: var(--muted);
}

.searchable-select__caret {
  font-size: 11px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.searchable-select.is-open .searchable-select__caret {
  transform: rotate(180deg);
}

.searchable-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.12);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.searchable-select__panel[hidden] {
  display: none;
}

.searchable-select__search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 13px;
  font-family: inherit;
}

.searchable-select__list {
  max-height: 220px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.searchable-select__option {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: #f8faff;
  color: var(--text);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.searchable-select__option:hover {
  border-color: rgba(30, 94, 255, 0.28);
  background: #eef3ff;
}

.searchable-select__option.is-selected {
  border-color: rgba(30, 94, 255, 0.4);
  background: #eaf0ff;
  color: #0f3ea8;
}

.searchable-select__option.is-placeholder {
  color: var(--muted);
}

.searchable-select__option:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.searchable-select__empty {
  border: 1px dashed var(--border);
  border-radius: 9px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
}

.searchable-select.is-disabled .searchable-select__trigger {
  cursor: not-allowed;
  opacity: 0.7;
}

.table-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  margin-bottom: 14px;
}

.table-search label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.table-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.table-search-empty td {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 14px 10px;
}

.form-help {
  font-size: 12px;
  color: var(--muted);
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid transparent;
}

.alert.success {
  background: #ecfdf5;
  color: #1f7a54;
  border-color: #a7f3d0;
}

.alert.danger {
  background: #fff1f2;
  color: #b42318;
  border-color: #fecdd3;
}

.alert ul {
  margin: 8px 0 0 18px;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state h3 {
  margin: 12px 0 6px;
  color: var(--text);
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 16px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sidebar-backdrop {
  display: none;
}

@media (max-width: 1024px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    width: 280px;
    transition: left 0.25s ease;
    z-index: 30;
  }

  body.sidebar-open .sidebar {
    left: 0;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 20;
  }

  body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .search {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1025px) {
  .topbar [data-toggle="sidebar"] {
    display: none;
  }
}

@media (max-width: 640px) {
  .auth-card {
    padding: 22px;
    border-radius: 18px;
  }

  .auth-logo {
    width: 100px;
    height: 100px;
  }

  .auth-logo img {
    max-width: 100px;
    max-height: 100px;
  }

  .auth-title {
    font-size: 28px;
  }

  .auth-form {
    max-width: 100%;
  }

  .content {
    padding: 16px;
  }

  .page-title {
    font-size: 22px;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .topbar {
    padding: 16px;
  }

  .sidebar {
    width: 250px;
  }

  .page-header {
    gap: 12px;
  }

  .page-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .card {
    padding: 16px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-pill {
    width: 100%;
    justify-content: space-between;
  }

  .table th,
  .table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.file-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.file-icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}

.file-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.file-name {
  font-size: 13px;
  color: var(--muted);
}

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

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.progress-title {
  font-size: 13px;
  font-weight: 600;
}

.progress-value {
  font-size: 12px;
  color: var(--muted);
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #60a5fa 0%, var(--primary) 100%);
  border-radius: 999px;
}

.progress-bar.neutral span {
  background: linear-gradient(90deg, #c7d2fe 0%, #94a3b8 100%);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.activity-title {
  font-size: 14px;
  font-weight: 600;
}

.activity-meta {
  font-size: 12px;
  color: var(--muted);
}

.activity-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.meal-analytics-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  align-items: center;
  gap: 18px;
}

.meal-donut {
  --eat: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    #16a34a 0 calc(var(--eat) * 1%),
    #f59e0b calc(var(--eat) * 1%) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.meal-donut-inner {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}

.meal-donut-number {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.meal-donut-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meal-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
}

.meal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.meal-legend-dot-eat {
  background: #16a34a;
}

.meal-legend-dot-left {
  background: #f59e0b;
}

.meal-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meal-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meal-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.meal-stack {
  display: flex;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #eef2ff;
}

.meal-stack-eat {
  background: linear-gradient(90deg, #34d399 0%, #16a34a 100%);
  height: 100%;
}

.meal-stack-left {
  background: linear-gradient(90deg, #fcd34d 0%, #f59e0b 100%);
  height: 100%;
}

@media (max-width: 1024px) {
  .meal-analytics-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .meal-donut {
    width: 180px;
    height: 180px;
  }
}

.confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.confirm-modal.is-open {
  display: flex;
}

.confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.confirm-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

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

.confirm-body {
  margin-bottom: 16px;
  color: var(--text);
}

.confirm-actions {
  justify-content: flex-end;
}
