:root {
  --bg: #06070c;
  --bg-deep: #030409;
  --surface: #0d1018;
  --surface-2: #121722;
  --surface-3: #181d29;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fb;
  --text-soft: #a7afc0;
  --text-muted: #6f788b;
  --cyan: #67e8f9;
  --cyan-strong: #22d3ee;
  --violet: #8b5cf6;
  --green: #55e6a5;
  --warning: #f9c74f;
  --danger: #fb7185;
  --sidebar: 272px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.07), transparent 27rem),
    radial-gradient(circle at 88% 90%, rgba(139, 92, 246, 0.06), transparent 30rem),
    var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.018;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.has-modal {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button:not(:disabled),
select:not(:disabled),
input[type="file"]:not(:disabled) {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.52);
  outline-offset: 3px;
}

::selection {
  color: #041014;
  background: var(--cyan);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #061014;
  background: var(--cyan);
  border-radius: 9px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.brand-mark {
  width: 45px;
  height: 45px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.brand > span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.eyebrow > span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button:not(:disabled):hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #061014;
  background: linear-gradient(135deg, #9cf4ff, var(--cyan-strong));
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.16);
}

.button-primary:not(:disabled):hover {
  box-shadow: 0 14px 34px rgba(34, 211, 238, 0.26);
}

.button-secondary {
  color: var(--text);
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.25);
}

.button-secondary:not(:disabled):hover,
.button-ghost:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.button-ghost {
  color: var(--text-soft);
  background: transparent;
  border-color: var(--line);
}

.button-danger {
  color: white;
  background: rgba(251, 113, 133, 0.17);
  border-color: rgba(251, 113, 133, 0.4);
}

.button-danger:not(:disabled):hover {
  background: rgba(251, 113, 133, 0.27);
}

.button-full {
  width: 100%;
}

.button.compact {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 0.82rem;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  color: var(--cyan);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
}

.text-button svg {
  width: 15px;
  height: 15px;
}

.text-button:hover {
  color: #b8f7ff;
}

.boot-view {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-deep);
}

.boot-view::after {
  position: absolute;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.07);
  filter: blur(70px);
}

.boot-view img {
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 20px;
}

.boot-view p {
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.spinner {
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(500px, 1.08fr);
}

.auth-brand {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 70px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4, 6, 11, 0.82), rgba(4, 6, 11, 0.95)),
    url("assets/hero-pc.webp") center / cover;
  border-right: 1px solid var(--line);
}

.auth-brand::before,
.auth-brand::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.auth-brand::before {
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.17) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.auth-brand::after {
  right: -150px;
  bottom: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(103, 232, 249, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(103, 232, 249, 0.025), 0 0 0 120px rgba(103, 232, 249, 0.015);
}

.auth-brand > * {
  position: relative;
  z-index: 1;
}

.auth-pitch {
  max-width: 570px;
}

.auth-pitch h1 {
  max-width: 620px;
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.auth-pitch h1 em {
  color: transparent;
  background: linear-gradient(110deg, var(--cyan), #9a8dfc);
  background-clip: text;
  font-style: normal;
}

.auth-pitch > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.auth-pitch ul {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.auth-pitch li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d4d9e4;
  font-size: 0.87rem;
}

.auth-pitch li svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.auth-copyright {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.auth-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 80px);
}

.auth-card {
  width: min(100%, 520px);
  padding: clamp(26px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(18, 23, 34, 0.9), rgba(10, 13, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.auth-card-heading {
  margin-bottom: 28px;
}

.auth-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 14px;
}

.auth-icon svg {
  width: 23px;
  height: 23px;
}

.auth-card h2 {
  margin: 11px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.auth-card-heading > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.auth-card form {
  display: grid;
  gap: 18px;
}

.auth-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.69rem;
}

.auth-help svg {
  width: 14px;
  height: 14px;
}

.setup-note {
  display: flex;
  gap: 10px;
  margin: -8px 0 24px;
  padding: 13px;
  color: #d8c98b;
  background: rgba(249, 199, 79, 0.07);
  border: 1px solid rgba(249, 199, 79, 0.18);
  border-radius: 11px;
  font-size: 0.72rem;
  line-height: 1.5;
}

.setup-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.install-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: flex;
  align-items: center;
  gap: 13px;
}

.install-steps li > span {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
}

.install-steps div {
  display: grid;
  gap: 2px;
}

.install-steps strong {
  font-size: 0.8rem;
}

.install-steps small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.setup-recheck {
  margin: 16px auto -6px;
}

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.73rem;
  font-weight: 600;
}

.field > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.field > span:first-child small,
.field > small {
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 500;
}

.input-shell,
.select-shell {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  color: var(--text-muted);
  background: rgba(5, 7, 12, 0.72);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.input-shell:focus-within,
.select-shell:focus-within {
  color: var(--cyan);
  background: rgba(6, 10, 16, 0.92);
  border-color: rgba(103, 232, 249, 0.46);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.07);
}

.input-shell svg,
.select-shell svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.input-shell input,
.input-shell textarea,
.select-shell select {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.8rem;
}

.select-shell select {
  appearance: none;
}

.input-shell input::placeholder,
.input-shell textarea::placeholder {
  color: #555e70;
}

.textarea-shell {
  align-items: flex-start;
  padding-block: 12px;
}

.input-shell textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.55;
}

.password-toggle {
  display: grid;
  place-items: center;
  padding: 3px;
  color: var(--text-muted);
  background: transparent;
}

.password-toggle:hover {
  color: var(--text);
}

.field-error {
  min-height: 0;
  color: var(--danger) !important;
}

.field.is-invalid .input-shell,
.field.is-invalid .select-shell {
  border-color: rgba(251, 113, 133, 0.6);
}

.field-meta {
  display: flex;
  justify-content: space-between;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.prefix-input b {
  padding-right: 10px;
  color: var(--text-soft);
  border-right: 1px solid var(--line);
  font-size: 0.7rem;
}

.alert {
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.alert-error {
  margin-bottom: 18px;
  color: #ffbdc7;
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.25);
}

.admin-app {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 90;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 28px 20px 19px;
  background: rgba(7, 9, 15, 0.96);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.sidebar::after {
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 180px;
  content: "";
  background: linear-gradient(var(--cyan), transparent);
  opacity: 0.35;
}

.sidebar-brand {
  padding-inline: 7px;
}

.side-nav {
  display: grid;
  gap: 5px;
  margin-top: 40px;
}

.side-nav > p {
  margin: 22px 11px 8px;
  color: #565f70;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.side-nav > p:first-child {
  margin-top: 0;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-item > svg {
  width: 18px;
  height: 18px;
}

.nav-item:hover {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
}

.nav-item.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.1), rgba(103, 232, 249, 0.025));
  border-color: rgba(103, 232, 249, 0.12);
}

.nav-item.is-active::before {
  position: absolute;
  left: -1px;
  width: 2px;
  height: 20px;
  content: "";
  background: var(--cyan);
  border-radius: 99px;
  box-shadow: 0 0 12px var(--cyan);
}

.nav-item.is-active > svg {
  color: var(--cyan);
}

.nav-item b {
  min-width: 21px;
  margin-left: auto;
  padding: 3px 6px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  text-align: center;
  font-size: 0.59rem;
}

.nav-external {
  width: 14px !important;
  height: 14px !important;
  margin-left: auto;
}

.sidebar-foot {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
}

.server-status > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(85, 230, 165, 0.55);
}

.server-status div {
  display: grid;
  gap: 1px;
}

.server-status strong {
  color: var(--text-soft);
  font-size: 0.65rem;
}

.server-status small {
  color: var(--text-muted);
  font-size: 0.57rem;
}

.owner-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), #7892f7);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 800;
}

.owner-card > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.owner-card strong,
.owner-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-card strong {
  font-size: 0.7rem;
}

.owner-card small {
  color: var(--text-muted);
  font-size: 0.58rem;
}

.owner-card button {
  display: grid;
  place-items: center;
  padding: 5px;
  color: var(--text-muted);
  background: transparent;
}

.owner-card button:hover {
  color: var(--danger);
}

.owner-card svg {
  width: 16px;
  height: 16px;
}

.sidebar-backdrop {
  display: none;
}

.admin-content {
  min-height: 100vh;
  margin-left: var(--sidebar);
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(22px, 4vw, 54px);
  background: rgba(6, 7, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.topbar p,
.topbar h1 {
  margin: 0;
}

.topbar p {
  color: var(--cyan);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.topbar h1 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.topbar-actions {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  margin-left: auto;
}

.icon-action,
.mobile-menu {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.icon-action:hover,
.mobile-menu:hover {
  color: var(--cyan);
  border-color: rgba(103, 232, 249, 0.28);
}

.icon-action svg,
.mobile-menu svg {
  width: 18px;
  height: 18px;
}

.icon-action.is-spinning svg {
  animation: spin 700ms linear infinite;
}

.mobile-menu {
  display: none;
}

#mainContent {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(22px, 4vw, 54px) 70px;
}

.page-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.page-alert > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-alert svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.page-alert button {
  display: grid;
  place-items: center;
  padding: 3px;
  color: inherit;
  background: transparent;
}

.page {
  animation: page-in 240ms ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-row,
.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.welcome-row h2,
.page-intro h2 {
  margin: 10px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  letter-spacing: -0.045em;
}

.welcome-row > div > p:last-child,
.page-intro > div > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.66rem;
  white-space: nowrap;
}

.date-chip svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(18, 23, 34, 0.8), rgba(11, 14, 21, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid;
  border-radius: 12px;
}

.stat-icon svg {
  width: 19px;
  height: 19px;
}

.stat-icon.cyan { color: var(--cyan); background: rgba(103, 232, 249, 0.07); border-color: rgba(103, 232, 249, 0.18); }
.stat-icon.violet { color: #a78bfa; background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.2); }
.stat-icon.green { color: var(--green); background: rgba(85, 230, 165, 0.07); border-color: rgba(85, 230, 165, 0.18); }
.stat-icon.warning { color: var(--warning); background: rgba(249, 199, 79, 0.07); border-color: rgba(249, 199, 79, 0.18); }

.stat-card > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.stat-card p,
.stat-card strong,
.stat-card small {
  margin: 0;
}

.stat-card p {
  color: var(--text-soft);
  font-size: 0.67rem;
}

.stat-card strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card small {
  color: var(--text-muted);
  font-size: 0.58rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 20px;
}

.panel {
  min-width: 0;
  background: linear-gradient(145deg, rgba(16, 20, 30, 0.84), rgba(10, 13, 20, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-heading {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading p,
.panel-heading h3 {
  margin: 0;
}

.panel-heading p {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.panel-heading h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.live-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.live-chip i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 9px currentColor;
}

.mini-order-list {
  display: grid;
}

.mini-order {
  display: grid;
  grid-template-columns: minmax(100px, 0.75fr) minmax(130px, 1.15fr) minmax(90px, 0.65fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.mini-order:last-child {
  border-bottom: 0;
}

.mini-order > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mini-order strong,
.mini-order small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-order strong {
  font-size: 0.7rem;
}

.mini-order small {
  color: var(--text-muted);
  font-size: 0.58rem;
}

.mini-order > strong {
  text-align: right;
}

.featured-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
}

.featured-card::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(7, 9, 14, 0.98));
  pointer-events: none;
}

.featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.featured-card > div {
  position: relative;
  z-index: 1;
}

.featured-card p,
.featured-card h4 {
  margin: 0;
}

.featured-card p {
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.featured-card h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.featured-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.69rem;
}

.featured-card footer strong {
  color: var(--text);
  font-size: 0.9rem;
}

.featured-empty,
.mini-empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.75rem;
}

.mini-empty {
  min-height: 180px;
}

.data-panel {
  overflow: hidden;
}

.table-toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}

.search-box {
  width: min(100%, 360px);
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: var(--text-muted);
  background: rgba(4, 6, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.search-box:focus-within {
  color: var(--cyan);
  border-color: rgba(103, 232, 249, 0.34);
}

.search-box svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.72rem;
}

.search-box input::placeholder {
  color: #596274;
}

.search-box button {
  display: grid;
  place-items: center;
  padding: 2px;
  color: var(--text-muted);
  background: transparent;
}

.filter-select {
  min-width: 160px;
  min-height: 41px;
  display: flex;
  align-items: center;
  padding: 0 9px 0 11px;
  color: var(--text-soft);
  background: rgba(4, 6, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.filter-select select {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
  font-size: 0.69rem;
}

.filter-select svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.result-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.64rem;
  white-space: nowrap;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  text-align: left;
  white-space: nowrap;
}

.data-table th {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.014);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--text-soft);
  font-size: 0.7rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background 150ms ease;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.data-table .align-right {
  text-align: right;
}

.product-cell {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.product-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.08), transparent), #080b11;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-star {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  color: #11130b;
  background: var(--warning);
  border-radius: 50%;
}

.featured-star svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.product-cell > div:last-child,
.customer-cell,
.order-number {
  display: grid;
  gap: 3px;
}

.product-cell strong,
.customer-cell strong,
.order-number strong {
  color: var(--text);
  font-size: 0.72rem;
}

.product-cell small,
.customer-cell small,
.order-number small {
  color: var(--text-muted);
  font-size: 0.58rem;
}

.stock-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.stock-cell i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.stock-cell.is-low {
  color: var(--warning);
}

.stock-cell.is-low i {
  background: var(--warning);
}

.stock-cell.is-empty {
  color: var(--danger);
}

.stock-cell.is-empty i {
  background: var(--danger);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 700;
}

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

.status-active,
.status-paid,
.status-completed {
  color: var(--green);
  background: rgba(85, 230, 165, 0.06);
  border-color: rgba(85, 230, 165, 0.15);
}

.status-pending {
  color: var(--warning);
  background: rgba(249, 199, 79, 0.06);
  border-color: rgba(249, 199, 79, 0.16);
}

.status-processing {
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  border-color: rgba(103, 232, 249, 0.16);
}

.status-shipped {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.07);
  border-color: rgba(139, 92, 246, 0.17);
}

.status-archived,
.status-cancelled {
  color: var(--text-muted);
}

.action-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.row-action {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.row-action:hover {
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  border-color: rgba(103, 232, 249, 0.23);
}

.row-action.danger:hover {
  color: var(--danger);
  background: rgba(251, 113, 133, 0.06);
  border-color: rgba(251, 113, 133, 0.22);
}

.row-action svg {
  width: 14px;
  height: 14px;
}

.row-action.is-featured {
  color: var(--warning);
}

.status-select {
  min-height: 33px;
  padding: 0 28px 0 9px;
  color: var(--text-soft);
  background-color: rgba(4, 6, 10, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  font-size: 0.63rem;
}

.status-select:focus {
  border-color: rgba(103, 232, 249, 0.35);
}

.empty-state {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  text-align: center;
}

.empty-state > span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.06);
  border: 1px solid rgba(103, 232, 249, 0.15);
  border-radius: 16px;
}

.empty-state > span svg {
  width: 25px;
  height: 25px;
}

.empty-state h3 {
  margin: 16px 0 7px;
  font-family: var(--font-display);
  font-size: 1rem;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.skeleton-row td {
  height: 77px;
}

.skeleton {
  display: block;
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 6px;
}

.skeleton::after {
  width: 55%;
  height: 100%;
  display: block;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-120%); }
  to { transform: translateX(220%); }
}

.modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: transparent;
  border: 0;
}

.modal::backdrop {
  background: rgba(1, 2, 5, 0.78);
  backdrop-filter: blur(7px);
}

.product-dialog[open] {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.modal-card {
  width: min(100%, 780px);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0a0d14;
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.42);
  animation: drawer-in 260ms ease both;
}

@keyframes drawer-in {
  from { transform: translateX(35px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 34px);
  background: rgba(13, 16, 24, 0.94);
}

.modal-header {
  border-bottom: 1px solid var(--line);
}

.modal-header p,
.modal-header h2 {
  margin: 0;
}

.modal-header p {
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.22rem;
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  flex: 1;
  padding: 0 clamp(20px, 4vw, 34px) 35px;
  overflow-y: auto;
}

.form-section {
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
}

.form-section-heading > span {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.07);
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
}

.form-section-heading h3,
.form-section-heading p {
  margin: 0;
}

.form-section-heading h3 {
  font-family: var(--font-display);
  font-size: 0.87rem;
}

.form-section-heading p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.62rem;
}

.form-section .field + .field,
.form-section .form-grid + .field {
  margin-top: 16px;
}

.image-field {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.image-preview {
  width: 160px;
  height: 135px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text-muted);
  background:
    radial-gradient(circle, rgba(103, 232, 249, 0.07), transparent 65%),
    rgba(4, 6, 10, 0.7);
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-preview span {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 0.62rem;
}

.image-preview svg {
  width: 25px;
  height: 25px;
}

.image-controls {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.image-controls p {
  max-width: 350px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.63rem;
  line-height: 1.5;
}

.upload-progress {
  width: min(100%, 300px);
  display: grid;
  gap: 5px;
}

.upload-progress > span {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.upload-progress > span::after {
  position: absolute;
  width: 45%;
  height: 100%;
  content: "";
  background: var(--cyan);
  animation: upload-bar 1s ease-in-out infinite;
}

@keyframes upload-bar {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

.upload-progress small {
  color: var(--cyan);
  font-size: 0.58rem;
}

.switch-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 15px;
  background: rgba(249, 199, 79, 0.035);
  border: 1px solid rgba(249, 199, 79, 0.13);
  border-radius: 12px;
  cursor: pointer;
}

.switch-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  position: relative;
  width: 39px;
  height: 22px;
  flex: 0 0 auto;
  background: #242a35;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  transition: background 160ms ease, border-color 160ms ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  content: "";
  background: #7f899b;
  border-radius: 50%;
  transition: transform 160ms ease, background 160ms ease;
}

.switch-field input:checked + .switch {
  background: rgba(249, 199, 79, 0.25);
  border-color: rgba(249, 199, 79, 0.58);
}

.switch-field input:checked + .switch::after {
  background: var(--warning);
  transform: translateX(17px);
}

.switch-field input:focus-visible + .switch {
  outline: 3px solid rgba(103, 232, 249, 0.42);
  outline-offset: 3px;
}

.switch-field > span:last-child {
  display: grid;
  gap: 3px;
}

.switch-field strong {
  font-size: 0.72rem;
}

.switch-field small {
  color: var(--text-muted);
  font-size: 0.6rem;
}

.modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.confirm-dialog[open] {
  display: grid;
  place-items: center;
  padding: 20px;
}

.confirm-card {
  width: min(100%, 430px);
  padding: 30px;
  background: linear-gradient(145deg, #131722, #0b0e15);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: confirm-in 180ms ease both;
}

@keyframes confirm-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.confirm-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  color: var(--danger);
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.2);
  border-radius: 15px;
}

.confirm-icon svg {
  width: 22px;
  height: 22px;
}

.confirm-card h2 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.confirm-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.73rem;
  line-height: 1.6;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.toast-region {
  position: fixed;
  z-index: 600;
  right: 20px;
  bottom: 20px;
  width: min(calc(100% - 40px), 390px);
  display: grid;
  gap: 9px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--text-soft);
  background: rgba(17, 21, 31, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  animation: toast-in 220ms ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast.is-leaving {
  animation: toast-out 180ms ease both;
}

@keyframes toast-out {
  to { opacity: 0; transform: translateX(15px); }
}

.toast > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(85, 230, 165, 0.07);
  border-radius: 9px;
}

.toast.is-error > span {
  color: var(--danger);
  background: rgba(251, 113, 133, 0.07);
}

.toast svg {
  width: 17px;
  height: 17px;
}

.toast p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.45;
}

.toast button {
  display: grid;
  place-items: center;
  padding: 4px;
  color: var(--text-muted);
  background: transparent;
}

.toast button svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1180px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-card {
    min-height: 330px;
  }
}

@media (max-width: 920px) {
  :root { --sidebar: 262px; }

  .auth-view {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: auto;
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .auth-pitch,
  .auth-copyright {
    display: none;
  }

  .auth-panel {
    min-height: calc(100vh - 96px);
    padding: 28px 20px;
  }

  .sidebar {
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

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

  .sidebar-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(1, 2, 5, 0.68);
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .sidebar.is-open + .sidebar-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .admin-content {
    margin-left: 0;
  }

  .mobile-menu {
    display: grid;
  }
}

@media (max-width: 680px) {
  .two-columns,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .auth-card .two-columns {
    gap: 18px;
  }

  .topbar {
    min-height: 67px;
    padding: 11px 15px;
  }

  .topbar p,
  .topbar h1 {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  #mainContent {
    padding: 25px 15px 60px;
  }

  .welcome-row,
  .page-intro {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 23px;
  }

  .welcome-row h2,
  .page-intro h2 {
    font-size: 1.7rem;
  }

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

  .stat-card {
    padding: 17px;
  }

  .mini-order {
    grid-template-columns: minmax(90px, 0.8fr) minmax(120px, 1.2fr) auto;
  }

  .mini-order > div:nth-child(3) {
    display: none;
  }

  .table-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .filter-select {
    min-width: 0;
    flex: 1;
  }

  .products-table,
  .orders-table {
    min-width: 760px;
  }

  .product-dialog[open] {
    align-items: flex-end;
  }

  .modal-card {
    border-left: 0;
  }

  .modal-header,
  .modal-footer {
    padding: 16px 17px;
  }

  .modal-body {
    padding-inline: 17px;
  }

  .image-field {
    grid-template-columns: 1fr;
  }

  .image-preview {
    width: 100%;
    height: 190px;
  }

  .modal-footer .button {
    flex: 1;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .topbar-actions .button span {
    display: none;
  }

  .topbar-actions .button {
    width: 40px;
    padding: 0;
  }

  .panel-heading {
    padding-inline: 15px;
  }

  .mini-order {
    grid-template-columns: minmax(90px, 1fr) minmax(100px, 1fr) auto;
    gap: 9px;
    padding-inline: 15px;
  }

  .confirm-card {
    padding: 25px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
