@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────
   RESET (scoped)
───────────────────────────────────────────── */
.linkfuel-root *, .linkfuel-root *::before, .linkfuel-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────────
   ROOT — fundo branco puro
───────────────────────────────────────────── */
.linkfuel-root {
  font-family: 'Poppins', sans-serif;
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.lf-header {
  padding: 24px 0 16px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
}

.lf-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lf-logo-icon {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A6BFF 0%, #0040CC 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26,107,255,0.28);
}

.lf-logo-text { flex: 1; min-width: 0; }
.lf-logo-text h2 {
  font-size: 1.45rem; font-weight: 900;
  letter-spacing: -0.8px; color: #1A6BFF;
  line-height: 1; margin: 0;
}
.lf-logo-text p {
  font-size: 0.67rem; color: #94A3B8;
  margin: 3px 0 0; font-weight: 400;
}

/* ─────────────────────────────────────────────
   BANNER — última actualização
───────────────────────────────────────────── */
.lf-banner {
  margin-top: 14px;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.lf-banner-title {
  font-size: 0.84rem; font-weight: 800; line-height: 1.2;
}
.lf-banner-sub {
  font-size: 0.67rem; color: #64748B;
  margin-top: 2px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.lf-banner-share {
  flex-shrink: 0; display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.55);
  border: none; backdrop-filter: blur(4px);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.lf-banner-share:hover { background: rgba(255,255,255,0.8); }

/* ─────────────────────────────────────────────
   SECTION LABEL
───────────────────────────────────────────── */
.lf-section-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #1A6BFF; margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}

/* ─────────────────────────────────────────────
   FORM
───────────────────────────────────────────── */
.lf-form { margin-bottom: 32px; }
.lf-field { margin-bottom: 14px; }

.lf-label {
  font-size: 0.71rem; font-weight: 600;
  color: #64748B; letter-spacing: 0.04em;
  display: block; margin-bottom: 6px;
}

/* Select wrapper */
.lf-select-wrap { position: relative; }
.lf-select-wrap::after {
  content: '▾';
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: #94A3B8; pointer-events: none; font-size: 0.72rem;
}

/* Inputs & selects */
.lf-select, .lf-input {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  color: #111827;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.lf-select {
  padding-right: 38px;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.lf-select:disabled {
  opacity: 0.45; cursor: not-allowed;
  background: #F1F5F9;
}
.lf-select:focus, .lf-input:focus {
  border-color: #1A6BFF;
  box-shadow: 0 0 0 3px rgba(26,107,255,0.1);
  background: #fff;
}
.lf-input::placeholder { color: #CBD5E1; }
.lf-select option { background: #fff; color: #111827; }

/* ─────────────────────────────────────────────
   FUEL TOGGLE
───────────────────────────────────────────── */
.lf-fuel-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.lf-fuel-btn {
  padding: 11px 6px; border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #94A3B8;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  cursor: pointer; transition: all .15s; text-align: center;
}
.lf-fuel-btn .lf-emoji { font-size: 15px; display: block; margin-bottom: 3px; }
.lf-fuel-btn:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
}

/* ─────────────────────────────────────────────
   SUBMIT BUTTON
───────────────────────────────────────────── */
.lf-submit {
  width: 100%; padding: 13px;
  border-radius: 12px; border: none;
  background: linear-gradient(135deg, #1A6BFF 0%, #0040CC 100%);
  color: #fff; font-family: 'Poppins', sans-serif;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26,107,255,0.3);
  transition: opacity .2s, transform .1s;
}
.lf-submit:hover:not(:disabled) {
  opacity: 0.93; transform: translateY(-1px);
}
.lf-submit:active:not(:disabled) { transform: translateY(0); }
.lf-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* ─────────────────────────────────────────────
   FEED HEADER + FILTERS
───────────────────────────────────────────── */
.lf-feed-header {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  margin-bottom: 10px;
}
.lf-filters { display: flex; gap: 5px; overflow-x: auto; flex-shrink: 0; }
.lf-filter-pill {
  padding: 4px 11px; border-radius: 99px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #94A3B8;
  font-family: 'Poppins', sans-serif;
  font-size: 0.67rem; font-weight: 500;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: all .15s;
}
.lf-filter-pill:hover { border-color: #CBD5E1; color: #64748B; }

/* ─────────────────────────────────────────────
   SEARCH ROW
───────────────────────────────────────────── */
.lf-search-row { margin-bottom: 14px; }
.lf-search-input {
  font-size: 0.84rem !important;
  padding: 10px 14px !important;
  background: #F8FAFC !important;
}

/* ─────────────────────────────────────────────
   CARD
───────────────────────────────────────────── */
.lf-card {
  border-radius: 14px;
  border: 1.5px solid #F1F5F9;
  background: #FFFFFF;
  overflow: hidden; display: flex;
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(15,23,42,0.06), 0 4px 12px rgba(15,23,42,0.04);
  transition: box-shadow .18s, border-color .18s;
  animation: lf-fadeup .22s ease;
}
.lf-card:hover {
  box-shadow: 0 2px 12px rgba(15,23,42,0.09), 0 6px 20px rgba(15,23,42,0.06);
  border-color: #E2E8F0;
}
.lf-card-accent { width: 4px; flex-shrink: 0; }
.lf-card-body   { padding: 13px 14px 11px; flex: 1; min-width: 0; }

.lf-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 8px; margin-bottom: 7px;
}
.lf-card-name {
  font-weight: 700; font-size: 0.87rem; color: #0F172A;
  line-height: 1.25; margin-bottom: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lf-card-loc {
  font-size: 0.71rem; color: #94A3B8;
  display: flex; align-items: center; gap: 3px;
}
.lf-card-badge {
  border-radius: 8px; padding: 3px 10px;
  font-size: 0.67rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.lf-card-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px;
}
.lf-card-meta span {
  display: flex; align-items: center; gap: 3px;
  font-size: 0.68rem; color: #94A3B8;
}
.lf-card-meta .lf-date { font-size: 0.63rem; color: #CBD5E1; }
.lf-card-actions {
  display: flex; justify-content: space-between; align-items: center;
}

/* ─────────────────────────────────────────────
   ACTION BUTTONS (card)
───────────────────────────────────────────── */
.lf-btn-share-sm {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 8px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #2563EB;
  font-family: 'Poppins', sans-serif;
  font-size: 0.71rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.lf-btn-share-sm:hover { background: #DBEAFE; }

.lf-btn-del {
  padding: 5px; border: none; background: transparent;
  color: #CBD5E1; cursor: pointer; display: flex; align-items: center;
  transition: color .15s;
}
.lf-btn-del:hover { color: #EF4444; }

.lf-confirm-wrap { display: flex; gap: 5px; align-items: center; }
.lf-confirm-label { font-size: 0.67rem; color: #EF4444; }
.lf-btn-yes, .lf-btn-no {
  padding: 4px 9px; border-radius: 6px; border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.67rem; font-weight: 600; cursor: pointer;
}
.lf-btn-yes { background: #EF4444; color: #fff; }
.lf-btn-no  { background: #F1F5F9; color: #64748B; }

/* ─────────────────────────────────────────────
   SHOW MORE
───────────────────────────────────────────── */
.lf-show-more {
  display: block; width: 100%;
  margin-top: 6px; padding: 10px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC; color: #64748B;
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem; font-weight: 600;
  cursor: pointer; transition: all .15s; text-align: center;
}
.lf-show-more:hover { background: #EFF6FF; border-color: #BFDBFE; color: #2563EB; }

/* ─────────────────────────────────────────────
   EMPTY / LOADING
───────────────────────────────────────────── */
.lf-empty, .lf-loading {
  text-align: center; padding: 40px 16px; color: #94A3B8;
}
.lf-spinner {
  width: 22px; height: 22px;
  border: 2.5px solid #E2E8F0;
  border-top-color: #1A6BFF;
  border-radius: 50%;
  animation: lf-spin .8s linear infinite;
  margin: 0 auto 10px;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.lf-footer {
  border-top: 1px solid #F1F5F9;
  padding: 14px 0 4px;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.lf-footer-copy { font-size: 0.67rem; color: #CBD5E1; }
.lf-footer-copy strong { color: #94A3B8; }
.lf-wa-link {
  display: flex; align-items: center; gap: 6px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #16A34A; border-radius: 99px; padding: 6px 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.71rem; font-weight: 600;
  text-decoration: none; transition: background .15s;
}
.lf-wa-link:hover { background: #DCFCE7; }

/* ─────────────────────────────────────────────
   SHARE BOTTOM SHEET
───────────────────────────────────────────── */
.lf-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: flex-end;
}
.lf-sheet {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  border: 1px solid #F1F5F9;
  width: 100%; max-width: 520px; margin: 0 auto;
  padding: 0 20px 36px;
  animation: lf-slideup .26s ease;
  box-shadow: 0 -8px 40px rgba(15,23,42,0.12);
}
.lf-handle {
  width: 36px; height: 4px;
  background: #E2E8F0; border-radius: 99px;
  margin: 14px auto 20px;
}
.lf-sheet-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 16px;
}
.lf-success-badge {
  display: flex; align-items: center; gap: 7px;
  color: #16A34A; font-weight: 700; font-size: 0.92rem;
}
.lf-close-btn {
  background: #F8FAFC; border: 1px solid #E2E8F0;
  border-radius: 8px; padding: 6px; cursor: pointer;
  color: #94A3B8; display: flex; align-items: center;
  transition: background .15s;
}
.lf-close-btn:hover { background: #F1F5F9; }

.lf-preview {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px; padding: 13px 14px; margin-bottom: 18px;
}
.lf-preview-name  { font-weight: 700; font-size: 0.9rem; color: #0F172A; margin-bottom: 4px; }
.lf-preview-loc   {
  font-size: 0.72rem; color: #94A3B8;
  display: flex; align-items: center; gap: 3px; margin-bottom: 10px;
}
.lf-preview-tags  { display: flex; gap: 8px; align-items: center; }
.lf-fuel-tag      { border-radius: 6px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; }
.lf-reporter-tag  {
  font-size: 0.7rem; color: #64748B;
  display: flex; align-items: center; gap: 3px;
}
.lf-sheet-hint {
  font-size: 0.74rem; color: #94A3B8;
  margin-bottom: 12px; font-weight: 500;
}
.lf-net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 14px; }
.lf-net-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px; border-radius: 12px; border: none;
  color: #fff; font-family: 'Poppins', sans-serif;
  font-size: 0.83rem; font-weight: 600; cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.lf-net-btn:hover  { opacity: 0.9; }
.lf-net-btn:active { transform: scale(0.98); }

.lf-copy-row { display: flex; gap: 8px; align-items: center; }
.lf-url-box {
  flex: 1; background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px; padding: 9px 12px;
  font-size: 0.7rem; color: #94A3B8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lf-copy-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 9px; border: none;
  background: #F1F5F9; color: #374151;
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem; font-weight: 600;
  cursor: pointer; transition: background .15s; white-space: nowrap;
}
.lf-copy-btn:hover  { background: #E2E8F0; }
.lf-copy-btn.copied { background: #D1FAE5; color: #065F46; }

/* ─────────────────────────────────────────────
   TOAST
───────────────────────────────────────────── */
.lf-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px; border-radius: 99px;
  font-size: 0.79rem; font-weight: 600;
  z-index: 99999; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(15,23,42,0.18);
  animation: lf-toastin .22s ease;
}
.lf-toast.err  { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.lf-toast.info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; }

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes lf-spin    { to { transform: rotate(360deg); } }
@keyframes lf-fadeup  { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes lf-slideup { from { opacity:0; transform: translateY(48px); } to { opacity:1; transform:translateY(0); } }
@keyframes lf-toastin { from { opacity:0; transform: translateX(-50%) translateY(8px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
