/* =============================================
   WMS CONVERSACIONAL — Design System
   Industrial Terminal · Dark · Amber accents
   ============================================= */

:root {
  --brand-orange: #E8793A;
  --brand-black: #1A1A1A;
  --brand-bg: #F5F3EF;
  --brand-bg-alt: #EDEAE4;
  --brand-gray: #6B6B6B;
  --brand-gray-light: #A8A8A8;
  --brand-border: #E0DDD7;
  --brand-card: #FFFFFF;

  --txt:       var(--brand-black);
  --txt-2:     var(--brand-gray);
  --txt-3:     var(--brand-gray-light);

  --amber:     var(--brand-orange);
  --amber-dim: rgba(232, 121, 58, 0.12);
  --amber-glow:rgba(232, 121, 58, 0.25);

  --blue:      #3b82f6;
  --blue-dim:  rgba(59,130,246,0.12);

  --green:     #10b981;
  --green-dim: rgba(16,185,129,0.12);

  --red:       #ef4444;
  --red-dim:   rgba(239,68,68,0.12);

  --font-ui:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', monospace;

  --radius:    16px;
  --radius-lg: 16px;
  --header-h:  80px;
  --status-h:  32px;
  --input-h:   90px;
}

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

html { font-size: 14px; }

body {
  background: var(--brand-bg);
  color: var(--txt);
  font-family: var(--font-ui);
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-body {
  overflow: auto;
  height: auto;
  min-height: 100dvh;
}

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }

/* ── HEADER ────────────────────────────────── */
.wms-header {
  height: var(--header-h);
  background: var(--brand-bg);
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
  flex-shrink: 0;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 48px;
  object-fit: contain;
}

.header-stats {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 4px 12px;
  transition: border-color 0.2s;
}

.stat-pill:hover { border-color: var(--brand-orange); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--txt-3);
  text-transform: uppercase;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
}

.header-right { display: flex; align-items: center; }

.btn-admin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-gray);
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-admin:hover {
  color: var(--brand-black);
  border-color: var(--brand-orange);
}

/* ── STATUS DOT ────────────────────────────── */
.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 4px 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--txt-3);
  transition: background 0.3s;
  flex-shrink: 0;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--txt-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot.ready { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-dot.thinking { background: var(--amber); animation: pulse 1s infinite; }
.status-dot.error { background: var(--red); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: var(--brand-black);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -70px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--brand-black) transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}



/* ── CHAT MAIN ─────────────────────────────── */
.chat-main {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.chat-container {
  height: 100%;
  overflow-y: auto;
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── MESSAGES ──────────────────────────────── */
.msg {
  display: flex;
  gap: 10px;
  max-width: 780px;
  animation: msgIn 0.25s ease;
}

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

.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.bot  { align-self: flex-start; }

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.msg.bot .msg-avatar {
  background: var(--amber-dim);
  border: 1px solid var(--amber-glow);
  color: var(--amber);
}

.msg.user .msg-avatar {
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue);
}

.msg-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: calc(100% - 42px);
}

.msg-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
}

.msg.bot .msg-bubble {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-top-left-radius: 4px;
  color: var(--brand-black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.msg.user .msg-bubble {
  background: var(--brand-black);
  border: 1px solid var(--brand-black);
  border-top-right-radius: 4px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.msg-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--txt-3);
}

.msg.user .msg-time { text-align: right; }

/* Stock tables inside messages */
.msg-bubble table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.msg-bubble th {
  color: var(--amber);
  text-align: left;
  padding: 4px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.msg-bubble td {
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--txt-2);
}

.msg-bubble td:first-child { color: var(--txt); font-weight: 500; }

/* Update confirmation card */
.update-card {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
}

.update-card .uc-title {
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: bounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1); opacity: 1; }
}

/* Welcome message */
.welcome-msg {
  align-self: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0.7;
}

.welcome-msg .wm-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.welcome-msg h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 6px;
}

.welcome-msg p {
  font-size: 13px;
  color: var(--txt-2);
  max-width: 340px;
  line-height: 1.6;
}

/* ── QUICK ACTIONS ─────────────────────────── */
.quick-actions-wrapper {
  padding: 12px 20px 0;
  background: var(--brand-bg);
  border-top: 1px solid var(--brand-border);
  flex-shrink: 0;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: hidden;
  padding-bottom: 12px;
}

.quick-actions::-webkit-scrollbar {
  display: none;
}

.quick-btn {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-orange);
  background: rgba(232, 121, 58, 0.05);
  border: 1px solid rgba(232, 121, 58, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.quick-btn:hover {
  color: var(--brand-black);
  border-color: var(--brand-orange);
  background: rgba(232, 121, 58, 0.1);
}

/* ── INPUT AREA ────────────────────────────── */
.input-area {
  padding: 0 20px 20px;
  background: var(--brand-bg);
  flex-shrink: 0;
}

.input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.input-wrapper:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(232, 121, 58, 0.12);
}

.mic-btn, .send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.mic-btn {
  background: var(--brand-bg-alt);
  color: var(--brand-gray);
}

.mic-btn:hover { color: var(--brand-black); background: var(--brand-border); }

.mic-btn.recording {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.3);
  animation: pulse 0.8s infinite;
}

.send-btn {
  background: var(--brand-black);
  color: #fff;
}

.send-btn:hover { background: #333; transform: translateY(-1px); }
.send-btn:active { transform: scale(0.97); }
.send-btn:disabled { background: var(--brand-border); color: var(--brand-gray-light); cursor: not-allowed; }

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--brand-black);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.5;
  resize: none;
  padding: 8px 4px;
  max-height: 120px;
  overflow-y: auto;
}

.chat-input::placeholder { color: var(--brand-gray-light); }

/* ── TOAST ─────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px; 
  left: 20px;
  width: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.25s ease;
  width: max-content;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  pointer-events: auto;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.toast.success { background: #0d2e22; border: 1px solid rgba(16,185,129,0.3); color: var(--green); }
.toast.error   { background: #2a1010; border: 1px solid rgba(239,68,68,0.3); color: var(--red); }
.toast.info    { background: var(--bg-4); border: 1px solid var(--border-hi); color: var(--txt); }

/* ── ADMIN STYLES ──────────────────────────── */
.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-section {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.section-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 4px;
}

.section-header h2 {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
}

.section-header p {
  font-size: 13px;
  color: var(--txt-2);
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--amber-glow);
  background: var(--amber-dim);
}

.upload-icon { color: var(--txt-3); margin-bottom: 4px; }
.upload-text { font-size: 15px; font-weight: 600; color: var(--txt); }
.upload-hint { font-size: 12px; color: var(--txt-2); }

.btn-upload {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-glow);
  border-radius: var(--radius);
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-upload:hover { background: var(--amber-glow); }

.file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.file-icon { font-size: 18px; }
#file-name { flex: 1; color: var(--txt); }
#file-size { color: var(--txt-3); }

.btn-clear {
  background: none;
  border: none;
  color: var(--txt-3);
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
  transition: color 0.2s;
}
.btn-clear:hover { color: var(--red); }

/* Mapping */
.mapping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

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

.mapping-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.mapping-select {
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  color: var(--txt);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 10px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.mapping-select:focus { border-color: var(--amber-glow); }

/* Preview table */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}

.preview-table th {
  background: var(--bg-3);
  color: var(--amber);
  text-align: left;
  padding: 10px 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.preview-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--txt-2);
  vertical-align: middle;
}

.preview-table tr:last-child td { border-bottom: none; }
.preview-table tr:hover td { background: var(--bg-3); }

.preview-table td:first-child { color: var(--txt); font-weight: 500; }

.stock-val {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-dim);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--green);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 600;
}

.stock-val.low {
  background: var(--red-dim);
  border-color: rgba(239,68,68,0.2);
  color: var(--red);
}

.empty-row {
  text-align: center;
  padding: 40px 12px !important;
  color: var(--txt-3) !important;
  background: transparent !important;
}

/* Preview actions */
.preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
  background: var(--amber);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover { background: #fbbf24; }
.btn-primary:disabled { background: var(--bg-4); color: var(--txt-3); cursor: not-allowed; }

.btn-secondary {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover { color: var(--txt); border-color: var(--border-hi); }

/* Edit btn */
.btn-edit {
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--txt-3);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-edit:hover { color: var(--amber); border-color: var(--amber-glow); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal {
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: min(440px, 90vw);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--txt);
}

.modal-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.modal-field input {
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  color: var(--txt);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-field input:focus { border-color: var(--brand-orange); }

.modal-actions {
  display: flex;
  gap: 8px;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 600px) {
  .header-stats { display: none; }
  .wms-header { padding: 0 14px; }
  .chat-container { padding: 14px 14px 8px; }
  .quick-actions { padding: 6px 14px; }
  .input-area { padding: 10px 14px 12px; }
  .msg { max-width: 100%; }
}

/* ── FOOTER ────────────────────────────────── */
.site-footer {
  padding: 16px 20px 24px;
  background: var(--brand-bg);
  border-top: 1px solid var(--brand-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.footer-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-gray);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer-logo img {
  height: 18px;
  opacity: 0.3;
  transition: opacity 0.2s;
}

.footer-logo img:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 11px;
  color: var(--brand-gray-light);
  font-weight: 500;
}

.footer-version {
  color: var(--amber);
  margin-left: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── MOBILE RESPONSIVENESS ────────────────────────────────── */
@media (max-width: 600px) {
    .wms-header {
        padding: 10px 14px;
        gap: 8px;
    }
    
    .header-logo img {
        height: 38px;
    }

    .stat-pill {
        padding: 4px 8px;
    }

    .stat-label {
        font-size: 8px;
        display: none; /* Hide text on very small screens to save space */
    }
    
    .stat-val {
        font-size: 11px;
    }
    
    .msg-bubble {
        padding: 12px 14px;
        font-size: 14px;
    }

    .input-wrapper {
        padding: 8px 10px;
    }
    
    .mic-btn, .send-btn {
        width: 36px;
        height: 36px;
    }

    .chat-input {
        font-size: 14px;
    }
    
    .site-footer {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }
}

/* ── ONBOARDING MODAL ─────────────────────────────────────── */
.onboarding-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.onboarding-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.onboarding-modal {
  background: #ffffff !important;
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-overlay.hidden .onboarding-modal {
  transform: translateY(20px);
}

.onboarding-modal h2 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: var(--txt);
}

.onboarding-subtitle {
  color: var(--brand-gray);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-icon {
  font-size: 24px;
  background: rgba(0,0,0,0.04);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: var(--txt);
}

.step-text p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-gray);
  line-height: 1.5;
}

.btn-start {
  width: 100%;
  background: var(--brand-orange);
  color: #FFFFFF;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-start:hover {
  background: #E5501B;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
    .onboarding-modal { padding: 32px 24px; }
    .onboarding-modal h2 { font-size: 20px; }
    .step-icon { width: 40px; height: 40px; font-size: 20px; }
    .step-text h3 { font-size: 15px; }
    .step-text p { font-size: 13px; }
}
