/* ==============================================
   SERVIS APP — app.css
   Import order:
   1. Tokens / Variables
   2. Reset & Base
   3. Layout
   4. Typography
   5. Components (card, btn, badge, input, toast)
   6. Nav & Bottom Tab
   7. Panels (side sheet)
   8. Pages (login, onboarding, dashboard, bengkel)
   9. Utility & Animations
================================================= */

/* ──────────────────────────────────────────────
   1. TOKENS
──────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:          #0f0f13;
  --surface:     #17171e;
  --surface2:    #1e1e28;
  --border:      rgba(255, 255, 255, .07);
  --accent:      #58e07d;
  --accent2:     #3ecf8e;
  --warn:        #ffb84d;
  --warn-bg:     rgba(255, 184, 77, .08);
  --danger:      #ff5f57;
  --danger-bg:   rgba(255, 95, 87, .08);
  --muted:       #666880;
  --text:        #e8e8f0;
  --text-dim:    #9494a8;
  --wa-green:    #25d366;

  /* Shape */
  --radius:      14px;
  --radius-sm:   8px;
  --radius-xs:   6px;

  /* Shadow */
  --shadow:      0 4px 24px rgba(0, 0, 0, .4);
  --shadow-lg:   0 8px 48px rgba(0, 0, 0, .6);

  /* Typography */
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  /* Motion */
  --ease:        cubic-bezier(.4, 0, .2, 1);
  --transition:  .2s var(--ease);
  --transition-slow: .35s var(--ease);
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { display: block; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ──────────────────────────────────────────────
   3. LAYOUT
──────────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  flex: 1;
  padding: 20px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* room for sticky bottom tab */
  padding-bottom: 90px;
}

/* centered layout (login / onboarding) */
.centered-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* ──────────────────────────────────────────────
   4. TYPOGRAPHY
──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.02em;
}

.text-muted  { color: var(--text-dim); }
.text-accent { color: var(--accent); }
.text-warn   { color: var(--warn); }
.text-danger { color: var(--danger); }

.label-upper {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ──────────────────────────────────────────────
   5A. CARD
──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition);
}

.card--warn {
  border-color: rgba(255, 184, 77, .3);
  background: var(--warn-bg);
}

.card--danger {
  border-color: rgba(255, 95, 87, .3);
  background: var(--danger-bg);
}

.card__title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

/* ──────────────────────────────────────────────
   5B. BUTTONS
──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--full  { width: 100%; }
.btn--sm    { padding: 9px 14px; font-size: .85rem; }

.btn--primary {
  background: var(--accent);
  color: #0a1a10;
}
.btn--primary:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 224, 125, .25);
}
.btn--primary:active  { transform: translateY(0); }
.btn--primary:disabled,
.btn--primary[disabled] {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover {
  border-color: rgba(255, 255, 255, .2);
  color: var(--text);
}

.btn--danger-soft {
  background: rgba(255, 95, 87, .1);
  color: var(--danger);
  border: 1px solid rgba(255, 95, 87, .2);
}
.btn--danger-soft:hover { opacity: .85; }

.btn--wa {
  background: var(--wa-green);
  color: #fff;
}
.btn--wa:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .25);
}

/* ──────────────────────────────────────────────
   5C. BADGE
──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge--ok     { background: rgba(88, 224, 125, .12); color: var(--accent); }
.badge--warn   { background: rgba(255, 184, 77, .15); color: var(--warn); }
.badge--due    { background: rgba(255, 95, 87, .12);  color: var(--danger); }

/* ──────────────────────────────────────────────
   5D. FORM INPUTS
──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-field {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 224, 125, .12);
}

.input-field::placeholder { color: var(--muted); }

.input-field.is-invalid  { border-color: var(--danger); }

.input-field option { background: var(--surface2); }

.invalid-feedback {
  font-size: .76rem;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}
/* Laravel's @error renders this class */
.invalid-feedback.show,
.is-invalid ~ .invalid-feedback {
  display: block;
}

/* ──────────────────────────────────────────────
   5E. TOGGLE SWITCH
──────────────────────────────────────────────── */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-wrap:last-child { border-bottom: none; }

.toggle-label strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.toggle-label span   { font-size: .78rem; color: var(--text-dim); }

.toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 2px;
  background: var(--muted);
  border-radius: 50%;
  transition: all var(--transition);
}
.toggle input:checked + .toggle-track {
  background: rgba(88, 224, 125, .2);
  border-color: var(--accent);
}
.toggle input:checked + .toggle-track::before {
  transform: translateX(18px);
  background: var(--accent);
}

/* ──────────────────────────────────────────────
   5F. TOAST
──────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: .88rem;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  animation: toastIn .3s ease forwards;
  pointer-events: all;
}
.toast--success { border-color: rgba(88, 224, 125, .3); }
.toast--error   { border-color: rgba(255, 95, 87, .3); }
.toast--warn    { border-color: rgba(255, 184, 77, .3); }
.toast.out      { animation: toastOut .3s ease forwards; }

/* ──────────────────────────────────────────────
   5G. SPINNER
──────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(10, 26, 16, .4);
  border-top-color: #0a1a10;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

/* ──────────────────────────────────────────────
   6A. NAVBAR
──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 15, 19, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar__brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
}
.navbar__brand span { color: var(--text); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-dim);
  transition: all var(--transition);
  position: relative;
}
.nav-icon-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .15);
}
.nav-icon-btn svg { width: 18px; height: 18px; }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warn);
  border: 1.5px solid var(--bg);
}

/* ──────────────────────────────────────────────
   6B. BOTTOM TAB BAR
──────────────────────────────────────────────── */
.bottom-tab {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(15, 15, 19, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 env(safe-area-inset-bottom, 14px);
  z-index: 90;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 16px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color var(--transition);
}
.tab-item svg { width: 20px; height: 20px; }
.tab-item.active,
.tab-item:hover { color: var(--accent); }

/* ──────────────────────────────────────────────
   7. PANELS (bottom sheet)
──────────────────────────────────────────────── */
.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.panel-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.panel {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px 40px;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  max-height: 90vh;
  overflow-y: auto;
}
.panel-overlay.open .panel { transform: translateY(0); }

.panel__handle {
  width: 36px; height: 4px;
  border-radius: 100px;
  background: var(--border);
  margin: 0 auto 20px;
}
.panel__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Notif panel items */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.notif-item:last-child { border-bottom: none; }
.notif-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warn);
  margin-top: 5px;
  flex-shrink: 0;
}
.notif-item__title { font-size: .9rem; font-weight: 500; margin-bottom: 3px; }
.notif-item__sub   { font-size: .8rem; color: var(--text-dim); }

/* Profile panel */
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3ecf8e);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800;
  color: #0a1a10;
  margin-bottom: 12px;
}
.profile__name  { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.profile__email { font-size: .85rem; color: var(--text-dim); margin-bottom: 20px; }

.profile-info__row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.profile-info__row:last-child { border-bottom: none; }
.profile-info__label {
  font-size: .73rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .06em;
  min-width: 80px;
  padding-top: 2px;
}
.profile-info__val { font-size: .9rem; font-weight: 500; }

.profile-menu       { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.profile-menu__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  font-size: .9rem;
}
.profile-menu__item:hover      { background: var(--surface2); }
.profile-menu__item--danger    { color: var(--danger); }
.profile-menu__item svg        { width: 16px; height: 16px; color: var(--muted); }

/* ──────────────────────────────────────────────
   8A. PAGE — LOGIN
──────────────────────────────────────────────── */
.login-deco {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  opacity: .04;
  background: var(--accent);
  filter: blur(80px);
  pointer-events: none;
}
.login-deco--a { top: -100px; left: -80px; }
.login-deco--b { bottom: -120px; right: -60px; background: #6c63ff; }

.login-logo {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 800;
  color: var(--accent);
  letter-spacing: -.04em;
  margin-bottom: 6px;
  text-align: center;
}
.login-logo span { color: var(--text); }

.login-tagline {
  font-size: .88rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 36px;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-lg);
}
.login-card h2    { font-size: 1.4rem; margin-bottom: 6px; }
.login-card p     { color: var(--text-dim); font-size: .88rem; margin-bottom: 24px; }
.login-card .form { display: flex; flex-direction: column; gap: 16px; }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .8rem; margin: 4px 0;
}
.divider::before,
.divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.login-footer {
  text-align: center;
  margin-top: 18px;
  font-size: .83rem;
  color: var(--text-dim);
}
.login-footer a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.login-footer a:hover { text-decoration: underline; }

/* ──────────────────────────────────────────────
   8B. PAGE — ONBOARDING
──────────────────────────────────────────────── */
.onboard-wrapper { width: 100%; max-width: 440px; }

.step-indicator {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 16px;
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}
.step-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.onboard-header h1 { font-size: 1.8rem; line-height: 1.15; margin-bottom: 8px; }
.onboard-header p  { color: var(--text-dim); font-size: .92rem; line-height: 1.55; margin-bottom: 28px; }

/* ──────────────────────────────────────────────
   8C. PAGE — DASHBOARD
──────────────────────────────────────────────── */
.greeting { padding: 4px 0 8px; }
.greeting__sub   { font-size: .82rem; color: var(--text-dim); margin-bottom: 4px; }
.greeting__title { font-size: 1.55rem; font-weight: 700; font-family: var(--font-head); }

/* Status hero card */
.status-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.status-hero::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--accent); opacity: .04; filter: blur(30px);
  transition: background var(--transition);
}
.status-hero--warn {
  border-color: rgba(255, 184, 77, .35);
  background: linear-gradient(135deg, rgba(255, 184, 77, .06) 0%, var(--surface) 60%);
}
.status-hero--warn::after { background: var(--warn); }

.status-hero--due {
  border-color: rgba(255, 95, 87, .35);
  background: linear-gradient(135deg, rgba(255, 95, 87, .06) 0%, var(--surface) 60%);
}
.status-hero--due::after { background: var(--danger); }

.status-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.status-hero__label  { font-size: 1rem; font-weight: 400; color: var(--text-dim); margin-bottom: 4px; }
.status-hero__value  {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -.04em; line-height: 1.05;
}
.status-hero__value--warn { color: var(--warn); }
.status-hero__value--due  { color: var(--danger); }

.progress-track {
  height: 5px;
  background: rgba(255, 255, 255, .06);
  border-radius: 100px; overflow: hidden;
  margin-top: 16px;
}
.progress-fill {
  height: 100%; border-radius: 100px;
  background: var(--accent);
  transition: width .6s cubic-bezier(.4, 0, .2, 1), background .3s;
  width: 0%; /* animated via JS */
}
.progress-fill--warn { background: var(--warn); }
.progress-fill--due  { background: var(--danger); }

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Motor info grid */
.motor-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.motor-stat__label { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.motor-stat__val   { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-top: 3px; }

.motor-name-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.motor-name        { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; }
.motor-type-pill   {
  font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-dim);
  text-transform: capitalize;
  letter-spacing: .04em;
}

/* Rekomendasi list */
.rekom-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rekom-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .9rem;
}

.empty-rekom { font-size: .88rem; color: var(--text-dim); }

/* ──────────────────────────────────────────────
   8D. PAGE — BENGKEL (WhatsApp)
──────────────────────────────────────────────── */
.wa-tip {
  background: rgba(37, 211, 102, .05);
  border: 1px solid rgba(37, 211, 102, .12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .83rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.wa-tip strong { color: var(--text); }

.wa-bengkel-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}
.wa-bengkel-btn:hover {
  border-color: rgba(37, 211, 102, .4);
  background: rgba(37, 211, 102, .04);
  transform: translateY(-1px);
}
.wa-bengkel-btn__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37, 211, 102, .12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.wa-bengkel-btn__text strong { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.wa-bengkel-btn__text span   { font-size: .8rem; color: var(--text-dim); }
.wa-bengkel-btn__arrow       { margin-left: auto; color: var(--muted); flex-shrink: 0; }
.wa-bengkel-btn__arrow svg   { width: 16px; height: 16px; }

.section-label {
  font-size: .73rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 0;
}

/* ──────────────────────────────────────────────
   8E. EMPTY STATE
──────────────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 48px 24px; gap: 12px;
}
.empty-state__icon  { font-size: 3rem; opacity: .4; }
.empty-state__title { font-family: var(--font-head); font-size: 1.2rem; }
.empty-state__desc  { color: var(--text-dim); font-size: .88rem; max-width: 260px; line-height: 1.6; }

/* ──────────────────────────────────────────────
   9. UTILITIES & ANIMATIONS
──────────────────────────────────────────────── */
.fade-in  { animation: fadeIn .4s ease forwards; }
.slide-up { animation: slideUp .35s ease forwards; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut{ from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(12px); } }
@keyframes spin    { to { transform: rotate(360deg); } }

.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

/* ──────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 400px) {
  .motor-info-grid { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
}
