/* ===========================
   RepayRail — Styles
   Dark luxury / editorial rail
   =========================== */

:root {
  --bg: #0f172a;
  --bg-2: #1e293b;
  --bg-3: #334155;
  --surface: #1e293b;
  --surface-2: #273549;
  --border: #334155;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-light: #60a5fa;
  --success: #22c55e;
  --success-bg: #052e16;
  --warning: #f59e0b;
  --warning-bg: #1c1003;
  --danger: #ef4444;
  --danger-bg: #1f0707;
  --purple: #8b5cf6;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;

  --header-h: 64px;
  --max-w: 900px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* =========== HEADER =========== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.4rem; }
.logo-text { letter-spacing: -0.02em; }

.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
@media (max-width: 640px) { .header-nav { display: none; } }

.nav-btn {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.nav-btn:hover { background: var(--bg-2); color: var(--text); }
.nav-btn.active { background: var(--bg-3); color: var(--text); font-weight: 600; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 640px) { .hamburger { display: flex; } }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: var(--header-h);
  right: -260px;
  width: 240px;
  height: calc(100dvh - var(--header-h));
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { right: 0; }
.nav-drawer .nav-btn { text-align: left; padding: 12px 16px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.nav-overlay.open { display: block; }

/* =========== SCREENS =========== */
.screen-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 20px;
  min-height: calc(100dvh - var(--header-h));
}

.screen { display: none; }
.screen.active { display: block; }

.screen-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.screen-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =========== HERO =========== */
.hero {
  padding: 60px 0 48px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  color: var(--accent-light);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-2);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========== STATS =========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-2); }

/* =========== HOW IT WORKS =========== */
.how-section { margin-bottom: 56px; }
.how-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-body strong { display: block; margin-bottom: 4px; }
.step-body p { color: var(--text-2); font-size: 0.9rem; }

/* =========== OPERATORS =========== */
.operators-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.operator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.op-chip {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.op-chip.dr15 { border-color: rgba(34,197,94,0.4); color: var(--success); }

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,130,246,0.4); }
.btn-ghost { background: var(--bg-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(0.9); }
.btn-danger { color: var(--danger); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.back-btn {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.15s;
}
.back-btn:hover { color: var(--text); }

/* =========== STEP PROGRESS =========== */
.step-progress {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ps-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-3);
  transition: all 0.2s;
}
.progress-step.active .ps-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.progress-step.done .ps-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.ps-label { font-size: 0.72rem; color: var(--text-3); }
.progress-step.active .ps-label { color: var(--accent-light); }
.progress-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; margin-bottom: 18px; }

/* =========== FORM =========== */
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 580px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full-width { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--font);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
select { cursor: pointer; }
select option { background: var(--surface); }
textarea { resize: vertical; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }

.field-note { font-size: 0.82rem; color: var(--text-3); margin-bottom: 20px; }

/* Autocomplete */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 50;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
.autocomplete-list.open { display: block; }
.ac-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.highlighted { background: var(--bg-3); }
.ac-crs { font-size: 0.75rem; color: var(--text-3); margin-left: 8px; }

/* Eligibility card */
.eligibility-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.eligibility-card.ineligible {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.3);
}
.elig-icon { font-size: 1.5rem; flex-shrink: 0; }
.elig-body strong { display: block; margin-bottom: 4px; color: var(--success); }
.eligibility-card.ineligible .elig-body strong { color: var(--danger); }
.elig-body p { font-size: 0.88rem; color: var(--text-2); }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.15s;
  font-size: 0.9rem;
}
.upload-zone:hover { border-color: var(--accent); }
.upload-zone.dragover { border-color: var(--accent); background: rgba(59,130,246,0.05); }
.upload-icon { font-size: 2rem; margin-bottom: 10px; }
.upload-link { color: var(--accent); cursor: pointer; text-decoration: underline; }
.upload-preview { margin-top: 12px; font-size: 0.85rem; color: var(--success); }

/* Refund estimate */
.refund-estimate {
  background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(59,130,246,0.1) 100%);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.re-label { font-size: 0.82rem; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.re-amount { font-size: 2.4rem; font-weight: 800; color: var(--success); letter-spacing: -0.04em; }
.re-basis { font-size: 0.82rem; color: var(--text-3); margin-top: 6px; }

/* Step actions */
.step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* =========== CLAIM SUMMARY =========== */
.claim-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.csm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.csm-row:last-child { border-bottom: none; }
.csm-row.highlight .csm-value { font-weight: 700; color: var(--success); font-size: 1.05rem; }
.csm-label { color: var(--text-2); }

/* Letter box */
.claim-letter-section { margin-bottom: 28px; }
.claim-letter-section h4 { font-size: 1rem; margin-bottom: 12px; }
.letter-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
  font-family: var(--mono);
  max-height: 320px;
  overflow-y: auto;
  color: var(--text-2);
  margin-bottom: 12px;
}

.claim-actions-section { margin-bottom: 28px; }
.claim-actions-section h4 { font-size: 1rem; margin-bottom: 8px; }
.action-note { color: var(--text-2); font-size: 0.88rem; margin-bottom: 16px; }
.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.payment-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 24px;
}
.pn-icon { font-size: 1.3rem; flex-shrink: 0; }

/* =========== CLAIMS LIST =========== */
.claims-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  padding: 6px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.claims-list { display: flex; flex-direction: column; gap: 12px; }

.claim-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 16px;
}
.claim-card:hover { border-color: var(--accent); }
.claim-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.claim-card-body { flex: 1; min-width: 0; }
.claim-card-route { font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.claim-card-meta { font-size: 0.82rem; color: var(--text-2); }
.claim-card-right { text-align: right; flex-shrink: 0; }
.claim-card-amount { font-size: 1.1rem; font-weight: 700; color: var(--success); }
.claim-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.badge-detected { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-eligible { background: rgba(59,130,246,0.15); color: var(--accent-light); }
.badge-submitted { background: rgba(139,92,246,0.15); color: var(--purple); }
.badge-approved { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-rejected { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-closed { background: rgba(100,116,139,0.15); color: var(--text-3); }
.badge-paid { background: rgba(34,197,94,0.2); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 24px; }

/* =========== CLAIM DETAIL =========== */
.state-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 0;
}
.tl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 1;
}
.tl-dot.current { background: var(--accent); border-color: var(--accent); }
.tl-dot.done { background: var(--success); border-color: var(--success); }
.tl-body { font-size: 0.88rem; padding-top: 2px; }
.tl-state { font-weight: 600; margin-bottom: 2px; }
.tl-time { color: var(--text-3); font-size: 0.78rem; }

/* =========== ACCOUNT =========== */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
}
.auth-card h3 { margin-bottom: 8px; }
.auth-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 24px; }
.auth-card .field { margin-bottom: 16px; }
.auth-note { font-size: 0.85rem; color: var(--text-3); margin-top: 12px; }

.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.profile-plan { font-size: 0.8rem; color: var(--text-3); }

.settings-section {
  margin-bottom: 28px;
}
.settings-section h3 { font-size: 1rem; margin-bottom: 16px; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-2);
}
.toggle-row input[type="checkbox"] { display: none; }
.toggle {
  width: 44px;
  height: 24px;
  background: var(--bg-3);
  border-radius: 100px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
}
input:checked + .toggle { background: var(--accent); }
input:checked + .toggle::after { left: 23px; }

.earnings-display { display: flex; flex-direction: column; gap: 12px; }
.earn-item { display: flex; justify-content: space-between; font-size: 0.9rem; }
.earn-label { color: var(--text-2); }
.earn-val { font-weight: 700; }

/* =========== TOAST =========== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text);
  box-shadow: var(--shadow);
  pointer-events: auto;
  animation: slideIn 0.25s ease;
  max-width: 320px;
}
.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.error { border-color: rgba(239,68,68,0.4); }
@keyframes slideIn {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========== MODAL =========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow);
}
.modal h3 { margin-bottom: 12px; }
.modal p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* =========== INSTALL BANNER =========== */
.install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-2);
  z-index: 200;
}
.install-banner span { flex: 1; }

/* =========== SCROLLBAR =========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* =========== UTILITY =========== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
