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

/* ── Spinner overlay ─────────────────────────────── */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 300px; /* sidebar width */
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 26, 0.55);
  z-index: 2000;
  pointer-events: none;
}
.spinner-overlay.hidden { display: none; }

.spinner {
  width: 52px;
  height: 52px;
  border: 5px solid rgba(74, 222, 128, 0.20);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #0f0f1a;
  color: #e0e0e0;
}

/* ── Sidebar ─────────────────────────────────────── */
.sidebar {
  width: 300px;
  min-width: 300px;
  background: #13131f;
  border-right: 1px solid #1e1e30;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  overflow-y: auto;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e30;
}
.logo-icon { font-size: 2rem; }
.logo h1 { font-size: 1rem; font-weight: 700; color: #4ade80; line-height: 1.2; }
.logo .subtitle { font-size: 0.75rem; color: #6b7280; margin-top: 2px; }

/* ── Section / fields ────────────────────────────── */
.section { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
               letter-spacing: 0.06em; color: #6b7280; }

input[type="text"],
input[type="number"] {
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: #e0e0e0;
  padding: 8px 10px;
  font-size: 0.85rem;
  width: 100%;
  transition: border-color 0.15s;
}
input[type="text"]:focus,
input[type="number"]:focus { outline: none; border-color: #4ade80; }

.search-row { display: flex; gap: 6px; }
.search-row input { flex: 1; }
.search-row button {
  padding: 8px 12px;
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: #e0e0e0;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.search-row button:hover { background: #2a2a40; }

.suggestions {
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  overflow: hidden;
}
.suggestions.hidden { display: none; }
.suggestion-item {
  padding: 8px 10px;
  font-size: 0.82rem;
  cursor: pointer;
  border-bottom: 1px solid #2a2a40;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #2a2a40; }

.coord-row { display: flex; gap: 6px; }
.coord-row input { flex: 1; min-width: 0; }

input[type="range"] {
  width: 100%;
  accent-color: #4ade80;
  cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────── */
button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, opacity 0.15s;
}

#analyzeBtn { background: #4ade80; color: #0a0a10; }
#analyzeBtn:hover { background: #22c55e; }
#analyzeBtn:disabled { opacity: 0.5; cursor: not-allowed; }
#locateBtn { background: #1c1c2e; border: 1px solid #2a2a40; color: #e0e0e0; }
#locateBtn:hover { background: #2a2a40; }

/* ── Stats ───────────────────────────────────────── */
.stats {
  background: #1c1c2e;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stats.hidden { display: none; }
.stats h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
             letter-spacing: 0.07em; color: #6b7280; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-item { text-align: center; }
.stat-val { font-size: 1.2rem; font-weight: 700; color: #e0e0e0; }
.stat-val.green { color: #4ade80; }
.stat-val.orange { color: #fb923c; }
.stat-key { font-size: 0.7rem; color: #6b7280; margin-top: 2px; }

.coverage-bar-wrap { display: flex; flex-direction: column; gap: 6px; }
.coverage-label { font-size: 0.78rem; color: #9ca3af; }
.coverage-label strong { color: #4ade80; }
.coverage-bar { height: 6px; background: #2a2a40; border-radius: 3px; overflow: hidden; }
.coverage-fill { height: 100%; background: linear-gradient(90deg, #4ade80, #22c55e);
                 border-radius: 3px; transition: width 0.6s ease; }

/* ── Layer toggles ───────────────────────────────── */
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 3px 0;
  color: #d1d5db;
}
.toggle input { accent-color: #4ade80; cursor: pointer; }

/* ── Legend ──────────────────────────────────────── */
.legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid #1e1e30;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #9ca3af;
}
.swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.swatch.gray   { background: #6b7280; border: 1px solid #9ca3af; }
.swatch.green  { background: #4ade80; }
.swatch.orange { background: #fb923c; }
.swatch.blue   { background: #38bdf8; }
.swatch.purple { background: #a78bfa; }

.tip {
  font-size: 0.72rem;
  color: #374151;
  text-align: center;
  padding-top: 4px;
}

/* ── Map ─────────────────────────────────────────── */
#map { flex: 1; min-height: 0; }

.stat-val.blue  { color: #60a5fa; }
.stat-item.span2 { grid-column: span 2; }

.error-banner {
  background: #3b1515;
  border: 1px solid #7f1d1d;
  color: #fca5a5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  word-break: break-word;
}
.error-banner.hidden { display: none; }

/* ═══════════════════════════════════════════════════════
   PORTAL LAYOUT  (official + third-party)
   Scoped to body.portal so the public map is unaffected.
   ═══════════════════════════════════════════════════════ */

body.portal {
  display: block;
  height: auto;
  overflow-y: auto;
  background: #0f0f1a;
  color: #e0e0e0;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Top navigation ─────────────────────────────────── */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: #13131f;
  border-bottom: 1px solid #1e1e30;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}

.nav-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: #e0e0e0; }

.btn-link {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.85rem;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-link:hover { color: #fca5a5; }

/* ── Main content container ─────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.container h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 24px;
}

.container h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 28px 0 12px;
}

/* ── Auth card (login / register / setup / pending) ─── */
.auth-container {
  width: 100%;
  max-width: 400px;
  margin: 80px auto 0;
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-container h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ade80;
  text-align: center;
}

.auth-container p {
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}

.auth-footer {
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
}
.auth-footer a { color: #4ade80; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Alert / error banner ───────────────────────────── */
.alert {
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.alert-error {
  background: #3b1515;
  border: 1px solid #7f1d1d;
  color: #fca5a5;
}

/* ── Form elements (portal context) ────────────────── */
body.portal label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

body.portal input[type="text"],
body.portal input[type="password"],
body.portal input[type="number"],
body.portal input[type="file"],
body.portal textarea,
body.portal select {
  background: #13131f;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: #e0e0e0;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s;
}
body.portal input[type="file"] { padding: 7px 10px; cursor: pointer; }
body.portal textarea { resize: vertical; min-height: 80px; }

body.portal input:focus,
body.portal textarea:focus,
body.portal select:focus {
  outline: none;
  border-color: #4ade80;
}

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

body.portal button[type="submit"],
body.portal .btn-primary {
  background: #4ade80;
  color: #0a0a10;
  border: none;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}
body.portal button[type="submit"]:hover,
body.portal .btn-primary:hover { background: #22c55e; }

/* btn-link inside portal forms must not inherit the green primary style */
body.portal button.btn-link {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0;
  align-self: auto;
}
body.portal button.btn-link:hover { background: none; color: #fca5a5; }

/* ── Small inline button ────────────────────────────── */
.btn-small {
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-small:hover { background: #2a2a40; border-color: #4ade80; color: #4ade80; }

/* ── Inline form row ────────────────────────────────── */
.inline-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.inline-form input,
.inline-form select { flex: 1; min-width: 120px; }

/* ── Data table ─────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  padding: 0 12px 10px;
  border-bottom: 1px solid #1e1e30;
}

.data-table tbody tr {
  border-bottom: 1px solid #1e1e30;
  transition: background 0.12s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: #13131f; }

.data-table td {
  padding: 12px;
  color: #e0e0e0;
  vertical-align: middle;
}

.data-table a { color: #4ade80; text-decoration: none; }
.data-table a:hover { text-decoration: underline; }

/* ── Cards ──────────────────────────────────────────── */
.card {
  background: #1c1c2e;
  border: 1px solid #2a2a40;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 14px;
}

.card h3 { font-size: 1rem; font-weight: 700; color: #e0e0e0; margin: 0 0 8px; }
.card p  { font-size: 0.85rem; color: #9ca3af; line-height: 1.5; margin: 0 0 6px; }
.card a  { color: #4ade80; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

/* ── Meta text ──────────────────────────────────────── */
.meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 8px;
}

/* ── Status badges ──────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: #2a2a40;
  color: #9ca3af;
}

/* Project statuses */
.badge-draft     { background: #2a2a40;                    color: #9ca3af; }
.badge-open      { background: rgba(74,  222, 128, 0.15);  color: #4ade80; }
.badge-awarded   { background: rgba(251, 146,  60, 0.15);  color: #fb923c; }
.badge-ongoing   { background: rgba( 56, 189, 248, 0.15);  color: #38bdf8; }
.badge-completed { background: rgba(167, 139, 250, 0.15);  color: #a78bfa; }

/* Application statuses */
.badge-submitted     { background: #2a2a40;                   color: #9ca3af; }
.badge-under_review  { background: rgba(251, 146, 60, 0.15);  color: #fb923c; }
.badge-selected      { background: rgba(74,  222, 128, 0.15); color: #4ade80; }
.badge-rejected      { background: rgba(127,  29,  29, 0.25); color: #fca5a5; }

/* Verified indicator */
.badge-verified   { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.badge-unverified { background: rgba(251, 146, 60, 0.15); color: #fb923c; }

/* ── Official map page ───────────────────────────────────────────────────── */

/* Full-page layout overrides for the map page */
body.portal.map-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Area below the nav: sidebar + map + panel */
.map-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Left sidebar (reuses public map sidebar styles, adapted for portal nav) */
.map-sidebar {
  width: 280px;
  min-width: 240px;
  background: var(--surface, #111827);
  border-right: 1px solid #1e2640;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
}

.map-sidebar .section    { margin-bottom: 10px; }
.map-sidebar .field-label { display: block; font-size: 0.75rem; color: #9ca3af; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.map-sidebar .search-row { display: flex; gap: 6px; }
.map-sidebar .search-row input { flex: 1; min-width: 0; }
.map-sidebar .search-row button { width: auto; flex-shrink: 0; padding: 0 14px; margin-bottom: 0; }
.map-sidebar .coord-row  { display: flex; gap: 6px; }
.map-sidebar .coord-row input { flex: 1; width: 0; }
.map-sidebar input[type="range"] { width: 100%; accent-color: #4ade80; }
.map-sidebar button      { width: 100%; margin-bottom: 6px; }
.map-sidebar .toggle     { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; margin-bottom: 4px; cursor: pointer; }
.map-sidebar .legend     { margin-top: 8px; }
.map-sidebar .legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #9ca3af; margin-bottom: 4px; }
.map-sidebar .swatch     { display: inline-block; width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.map-sidebar .tip        { margin-top: auto; padding-top: 12px; font-size: 0.72rem; color: #6b7280; line-height: 1.5; }
.map-sidebar .error-banner { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; border-radius: 6px; padding: 8px 12px; font-size: 0.85rem; margin-bottom: 8px; }
.map-sidebar .hidden     { display: none; }

/* Stats panel inside sidebar */
.map-sidebar .stats      { background: #0d1117; border-radius: 8px; padding: 12px; margin-top: 4px; }
.map-sidebar .stats h3   { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; margin: 0 0 8px; }
.map-sidebar .stat-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-sidebar .stat-item  { display: flex; flex-direction: column; gap: 2px; }
.map-sidebar .stat-item.span2 { grid-column: span 2; }
.map-sidebar .stat-val   { font-size: 1rem; font-weight: 700; color: #f9fafb; }
.map-sidebar .stat-val.green  { color: #4ade80; }
.map-sidebar .stat-val.orange { color: #fb923c; }
.map-sidebar .stat-val.blue   { color: #38bdf8; }
.map-sidebar .stat-key   { font-size: 0.7rem; color: #6b7280; }

/* Address suggestions dropdown */
.map-sidebar .suggestions { position: absolute; z-index: 9999; background: #111827; border: 1px solid #1e2640; border-radius: 6px; max-height: 180px; overflow-y: auto; width: 240px; }
.map-sidebar .suggestion-item { padding: 8px 12px; font-size: 0.82rem; cursor: pointer; color: #d1d5db; }
.map-sidebar .suggestion-item:hover { background: #1e2640; }

/* Map canvas */
#map {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Right slide-in panel */
.map-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 90vw;
  background: #111827;
  border-left: 1px solid #1e2640;
  display: flex;
  flex-direction: column;
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.map-panel.open { transform: translateX(0); }

.map-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #1e2640;
  background: #0d1117;
  flex-shrink: 0;
}
.map-panel-header span { font-weight: 600; font-size: 1rem; color: #f9fafb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.panel-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: 8px;
}
.panel-close:hover { background: #1e2640; color: #f9fafb; }

.map-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Panel: CO₂ summary block */
.co2-summary {
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.co2-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #9ca3af;
}
.co2-summary-row strong { color: #f9fafb; }

/* Panel: form section groups */
.panel-section {
  border-top: 1px solid #1e2640;
  padding-top: 12px;
}
.panel-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 10px;
}
.map-panel-body label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 8px;
}
.map-panel-body input,
.map-panel-body select,
.map-panel-body textarea {
  background: #0d1117;
  border: 1px solid #1e2640;
  color: #f9fafb;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}
.map-panel-body input:focus,
.map-panel-body select:focus,
.map-panel-body textarea:focus {
  outline: none;
  border-color: #4ade80;
}
.map-panel-body button[type="submit"] {
  width: 100%;
  background: #4ade80;
  color: #0f0f1a;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}
.map-panel-body button[type="submit"]:hover { background: #22c55e; }
.map-panel-body button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
.map-panel-body .error-banner {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
}
.map-panel-body .hidden { display: none; }

/* Archive buttons */
.archive-btn {
  background: transparent;
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 8px;
}
.archive-btn:hover { background: rgba(239,68,68,0.1); }
.archive-btn-confirm {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}
.archive-btn-confirm:hover { background: #dc2626; }

.panel-project-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: #4ade80;
  margin-top: auto;
  padding: 12px 0 4px;
  text-decoration: none;
}
.panel-project-link:hover { text-decoration: underline; }

/* Badge extras for archived status */
.badge-archived { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Spinner for official map */
.map-spinner {
  display: none;
  position: absolute;
  inset: 0;
  left: 280px;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 26, 0.6);
  z-index: 9999;
  pointer-events: none;
}
.map-spinner.active { display: flex; }
.map-spinner .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(74, 222, 128, 0.2);
  border-top-color: #4ade80;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.map-spinner .spinner-msg {
  margin-top: 18px;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  animation: spinnerMsgFade 0.4s ease both;
}
@keyframes spinnerMsgFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

