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

:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-card: #111827;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-strong: #6366f1;
  --accent-alt: #22c55e;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --danger: #ef4444;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 50%, #000 100%);
  color: var(--text-main);
  min-height: 100%;
  overflow: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  scrollbar-width: none;
}

body {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.app-shell {
  max-width: 1120px;
  width: 100%;
  background: linear-gradient(145deg, var(--bg) 0, #020617 45%, #030712 100%);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.2), transparent 55%);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #a5b4fc, #4f46e5 55%, #1d1b4f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  margin-right: 12px;
}

.logo-text h1 {
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: 0.03em;
}

.tagline {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.app-main {
  padding: 24px;
  flex: 1;
  overflow: auto;
}

.app-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 10px 20px 14px;
  text-align: center;
  background: radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.18), transparent 55%);
}

.screen {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.screen.exiting {
  opacity: 0;
  transform: translateY(-8px);
}

.screen.entering {
  opacity: 0;
  transform: translateY(8px);
}

.screen-header {
  margin-bottom: 18px;
}

.screen-header h2 {
  margin: 4px 0 4px;
  font-size: 1.4rem;
}

.lead {
  color: var(--text-muted);
  max-width: 520px;
}

.hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 560px;
}

.step-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-alt);
  margin-top: 12px;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  max-width: 200px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  border: 2px solid rgba(148, 163, 184, 0.5);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.progress-dot.completed {
  background: var(--accent-alt);
  border-color: var(--accent-alt);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: rgba(148, 163, 184, 0.3);
  transition: background 0.3s ease;
}

.progress-line.completed {
  background: var(--accent-alt);
}

.small {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.small.strong {
  color: var(--text-muted);
  font-weight: 600;
}

.small-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.small-list li {
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: var(--text-soft);
}

.bullet-list {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--text-muted);
}

.bullet-list li {
  margin-bottom: 4px;
}

/* Layouts */

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 28px;
  align-items: center;
}

@media (max-width: 840px) {
  .app-shell {
    border-radius: 18px;
  }
  .screen-grid {
    grid-template-columns: 1fr;
  }
  .app-main {
    padding: 18px;
  }
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.form-field label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="date"],
select,
textarea {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 9px 11px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-soft);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
  background: #020617;
}

/* Form Error States */
input.error,
select.error,
textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
  animation: shake 0.4s ease-in-out;
}

.error-message {
  color: var(--danger);
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

textarea {
  resize: vertical;
}

/* Buttons */

button {
  font-family: inherit;
  cursor: pointer;
}

.primary-button,
.ghost-button,
.pill-button {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 140ms ease, transform 80ms ease, box-shadow 120ms ease, border-color 120ms ease, color 140ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent-strong), #818cf8);
  color: white;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.55);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.7);
}

.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.6);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.primary-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

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

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

.ghost-button:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: rgba(17, 24, 39, 0.8);
}

.pill-button {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  border-color: var(--border-subtle);
  padding-inline: 12px;
}

.pill-button:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: rgba(15, 23, 42, 0.9);
}

.pill-secondary {
  font-size: 0.8rem;
  padding-block: 6px;
}

.pill-primary {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(99, 102, 241, 0.6);
}

/* Screen footer */

.screen-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Landing mock */

.mock-card {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.45), rgba(15, 23, 42, 0.95) 40%, #020617 100%);
  border-radius: 22px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.mock-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #c4b5fd;
  margin-bottom: 6px;
}

.mock-card h3 {
  margin: 0 0 4px;
}

.mock-detail {
  margin: 0;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.price-chip {
  margin: 12px 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(165, 180, 252, 0.8);
}

.price-main {
  display: block;
  font-weight: 600;
}

.price-sub {
  display: block;
  font-size: 0.78rem;
  color: #c7d2fe;
}

.mover-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mover-name {
  margin: 0 0 2px;
  font-size: 0.92rem;
}

.mover-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #cbd5f5;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Inventory */

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

.inventory-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inventory-header h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.inventory-header .small {
  margin: 0;
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
}

.counter-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.counter-btn:hover {
  background: rgba(30, 64, 175, 0.8);
  color: white;
  transform: scale(1.1);
}

.counter-btn:active {
  transform: scale(0.95);
}

.counter-value {
  min-width: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}

.counter-value.pulse {
  animation: pulse 0.3s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Estimate & movers */

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: 18px;
}

.estimate-card,
.movers-card,
.summary-card,
.rating-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 18px;
}

.estimate-label {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.estimate-main {
  font-size: 1.5rem;
  margin: 4px 0;
}

.estimate-sub {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-soft);
}

.estimate-subsection {
  margin-top: 10px;
}

.movers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.movers-header h3 {
  margin: 0;
}

#moverSort {
  border-radius: 999px;
  padding-block: 4px;
  padding-inline: 10px;
  font-size: 0.8rem;
}

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

.mover-card {
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.96);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) auto;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.mover-card.selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4), 0 4px 12px rgba(99, 102, 241, 0.2);
  background: rgba(79, 70, 229, 0.12);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.mover-card:hover:not(.selected) {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.mover-card:active {
  transform: scale(0.98);
}

.mover-card-main h4 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.mover-card-main p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.mover-card-meta {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.mover-card-meta span {
  display: inline-block;
  margin-right: 10px;
}

.mover-price {
  text-align: right;
}

.mover-price-main {
  margin: 0;
  font-size: 0.95rem;
}

.mover-price-sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Summary */

.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.2fr);
  gap: 18px;
}

.summary-card h3 {
  margin-top: 0;
}

.summary-list {
  margin: 0;
}

.summary-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin-top: 10px;
}

.summary-list dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
}

.summary-mover-name {
  margin: 0 0 2px;
  font-size: 1rem;
}

.summary-mover-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.summary-price {
  margin-top: 12px;
}

/* Tracking */

.tracking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 2.2fr);
  gap: 18px;
}

.tracking-map {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 12px 12px 14px;
}

.map-placeholder {
  border-radius: 18px;
  background: radial-gradient(circle at top, #1d4ed8, #020617);
  border: 1px solid rgba(96, 165, 250, 0.8);
  position: relative;
  height: 230px;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.map-pin-pickup {
  top: 20%;
  left: 16%;
}

.map-pin-dropoff {
  bottom: 18%;
  right: 12%;
}

.map-vehicle {
  position: absolute;
  font-size: 1.4rem;
  animation: truckMove 4s ease-in-out infinite alternate;
}

.tracking-side {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.96);
}

.status-pill--active {
  border-color: rgba(52, 211, 153, 0.9);
  color: #bbf7d0;
  background: rgba(6, 78, 59, 0.65);
}

.status-timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.status-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  position: relative;
  padding-bottom: 8px;
}

.status-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.8);
  margin-top: 4px;
}

.status-icon.active {
  border-color: #22c55e;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.status-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 1px;
  bottom: 0;
  background: rgba(55, 65, 81, 0.85);
}

.status-text {
  font-size: 0.85rem;
}

.status-caption {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.tracking-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Rating */

.rating-card h3 {
  margin-top: 0;
}

.star-row {
  display: inline-flex;
  gap: 4px;
  margin: 8px 0 12px;
}

.star {
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 80ms ease, filter 120ms ease;
}

.star.selected {
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
  transform: translateY(-1px);
}

.star:hover {
  transform: scale(1.15) translateY(-2px);
  transition: transform 0.15s ease;
}

.star:active {
  transform: scale(1.05);
}

/* Past moves */

.past-moves-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.past-move-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 10px 12px 12px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 8px;
  font-size: 0.85rem;
}

.past-move-header {
  font-weight: 600;
}

.past-move-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--text-soft);
}

/* Utility */

.button-row {
  display: flex;
  gap: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes truckMove {
  from { transform: translate(20%, 70%); }
  to { transform: translate(55%, 30%); }
}

/* Confetti Animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: confettiFall linear forwards;
  opacity: 0.9;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Notifications */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: var(--text-main);
  font-size: 0.9rem;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 320px;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-success {
  border-color: var(--accent-alt);
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.notification-error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Pulse animation for buttons */
.pulse {
  animation: pulseButton 0.3s ease;
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Status icon animations */
.status-icon {
  transition: all 0.3s ease;
}

.status-icon.active {
  animation: statusActivate 0.5s ease;
}

@keyframes statusActivate {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
  }
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Enhanced hover states */
.pill-button.pulse {
  animation: pulseButton 0.3s ease;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus visible for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

/* Better button disabled states */
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Card hover effects */
.estimate-card,
.movers-card,
.summary-card,
.rating-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.estimate-card:hover,
.movers-card:hover,
.summary-card:hover,
.rating-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Inventory card hover */
.inventory-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.inventory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.5);
}

/* Past move card hover */
.past-move-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.past-move-card:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.5);
}

@media (max-width: 900px) {
  .estimate-layout,
  .summary-layout,
  .tracking-layout {
    grid-template-columns: 1fr;
  }
  .past-move-card {
    grid-template-columns: 1fr;
  }
  
  .notification {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  button,
  .mover-card,
  .star,
  .counter-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .counter-btn {
    min-width: 32px;
    min-height: 32px;
  }
  
  .star {
    font-size: 1.8rem;
    padding: 4px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 12px;
  }
  
  .app-shell {
    border-radius: 16px;
  }
  
  .app-main {
    padding: 16px;
  }
  
  .screen-header h2 {
    font-size: 1.2rem;
  }
  
  .button-row {
    flex-direction: column;
  }
  
  .button-row .primary-button,
  .button-row .ghost-button {
    width: 100%;
    min-height: 44px;
  }
  
  .screen-footer {
    flex-direction: column-reverse;
  }
  
  .screen-footer button {
    width: 100%;
    min-height: 44px;
  }
  
  .inventory-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .progress-indicator {
    max-width: 150px;
  }
}
