:root {
  --fp-dark: #09081a;
  --fp-cyan: #0fcee8;
  --fp-white: #fefefd;
}

body {
  background: var(--fp-white);
  color: var(--fp-dark);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- utilidades de color ---------- */
.text-cyan { color: var(--fp-cyan) !important; }
.bg-forwardpy-dark { background-color: var(--fp-dark) !important; }
.link-cyan { color: var(--fp-cyan); text-decoration: none; font-weight: 600; }
.link-cyan:hover { color: #0bb8ce; }

.btn-cyan {
  background-color: var(--fp-cyan);
  border-color: var(--fp-cyan);
  color: var(--fp-dark);
  font-weight: 600;
}
.btn-cyan:hover { background-color: #0bb8ce; border-color: #0bb8ce; color: var(--fp-dark); }
.btn-outline-cyan { border: 1.5px solid var(--fp-cyan); color: var(--fp-cyan); background: transparent; }
.btn-outline-cyan:hover { background: var(--fp-cyan); color: var(--fp-dark); }
.bg-cyan { background-color: var(--fp-cyan) !important; }

/* ---------- topbar ---------- */
.topbar { background: #050414; color: rgba(254,254,253,0.8); }
.topbar-link { color: rgba(254,254,253,0.8); text-decoration: none; }
.topbar-link:hover { color: var(--fp-cyan); }
.topbar-horario { color: rgba(254,254,253,0.65); font-size: 0.8rem; }

/* ---------- navbar principal ---------- */
.navbar-forwardpy { background-color: var(--fp-dark); }
.logo-img { height: 88px; width: auto; }
.logo-imgAdmin { height: 55px; width: auto; }
.navbar-forwardpy .nav-link { color: rgba(254,254,253,0.85); font-weight: 500; }
.navbar-forwardpy .nav-link:hover { color: var(--fp-cyan); }
.btn-hamburger {
  background: transparent;
  border: 1.5px solid rgba(254,254,253,0.4);
  color: var(--fp-white);
  border-radius: 8px;
  width: 40px;
  height: 40px;
}
.btn-hamburger:hover { border-color: var(--fp-cyan); color: var(--fp-cyan); }

/* ---------- hero ---------- */
/* fondo del hero: ver .hero-parallax mas abajo */
.calculadora-card { border-radius: 16px; }
.resultado-calculo { background: rgba(15,206,232,0.1); border: 1px solid rgba(15,206,232,0.3); }

/* ---------- hero con parallax ---------- */
.hero-parallax {
  position: relative;
  padding-top: 140px;
  padding-bottom: 260px;
  background-image: url("/assets/aircargo-386cb502.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.hero-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,8,26,0.55) 0%, rgba(9,8,26,0.75) 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.text-hero-muted { color: rgba(254,254,253,0.8); }
/* En mobile background-attachment:fixed se ignora en varios navegadores;
   queda como imagen fija normal, sin romper el diseño. */

.text-cyan-deep { color: #0a9fb3; }

.ayuda-card {
  background: var(--fp-white);
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-parallax { padding-top: 60px; padding-bottom: 60px; }
  .ayuda-card { margin-top: -20px; text-align: center; }
  .ayuda-card .text-lg-end { text-align: center !important; margin-top: 16px; }
}

/* ---------- slider de tiendas ---------- */
.tiendas-slider { overflow: hidden; background: #f7fbfc; padding: 40px 0; }
.tiendas-titulo { letter-spacing: 0.08em; }
.tiendas-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-tiendas 22s linear infinite;
}
.tiendas-track:hover { animation-play-state: paused; }
.tienda-item {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fp-dark);
  opacity: 0.5;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: opacity .15s ease;
}
.tienda-item:hover { opacity: 0.9; color: var(--fp-cyan); }
@keyframes scroll-tiendas {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tiendas-track { animation: none; }
}

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { border: 1px solid #e2e8ea; margin-bottom: 10px; border-radius: 10px !important; overflow: hidden; }
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--fp-dark);
  background: var(--fp-white);
}
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(15,206,232,0.12);
  color: var(--fp-dark);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(15,206,232,0.25); }
.faq-accordion .accordion-button::after { filter: none; }

/* ---------- etiqueta imprimible (100 x 50mm) ---------- */
.etiqueta-body { background: #e9ecef; padding: 24px; min-height: 100vh; }
.etiqueta-toolbar { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }

.etiqueta-label {
  width: 100mm;
  height: 50mm;
  box-sizing: border-box;
  padding: 3mm 4mm;
  background: var(--fp-white);
  border: 1px solid #000;
  font-size: 10pt;
  line-height: 1.25;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1mm;
}

.etiqueta-fila-top { display: flex; justify-content: space-between; align-items: center; }
.etiqueta-logo-mini { font-weight: 800; font-size: 12pt; color: var(--fp-dark); }
.etiqueta-fpy { font-weight: 800; font-size: 18pt; color: var(--fp-dark); }

.etiqueta-barcode { width: 100%; height: auto; display: block; }
.etiqueta-sin-manifiesto {
  font-size: 8pt;
  color: #c0392b;
  font-style: italic;
  line-height: 1.2;
  margin: 2mm 0;
}

.etiqueta-cliente-linea { display: flex; justify-content: space-between; align-items: baseline; gap: 2mm; }
.etiqueta-cliente {
  font-weight: 700;
  font-size: 13pt;
  color: var(--fp-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.etiqueta-telefono { font-size: 10pt; color: var(--fp-dark); white-space: nowrap; flex-shrink: 0; }

.etiqueta-datos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11pt;
  font-weight: 600;
  color: var(--fp-dark);
}

.etiqueta-tipo-mini {
  font-size: 9pt;
  font-weight: 700;
  padding: 1.2mm 3mm;
  border-radius: 3mm;
  color: var(--fp-white);
}
.etiqueta-tipo-mini.tipo-delivery { background: var(--fp-cyan); color: var(--fp-dark); }
.etiqueta-tipo-mini.tipo-retiro { background: var(--fp-dark); }

.etiqueta-direccion-mini {
  font-size: 8.5pt;
  color: #444;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media print {
  .no-print { display: none !important; }
  .etiqueta-body { background: white; padding: 0; margin: 0; }
  .etiqueta-label { border: none; }
}
 
/* ---------- reporte imprimible ---------- */
.reporte-body { background: #e9ecef; padding: 24px; min-height: 100vh; }
.reporte-toolbar { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }
.reporte-hoja {
  max-width: 900px;
  background: var(--fp-white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.reporte-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--fp-dark);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

@media print {
  .reporte-body { background: white; padding: 0; }
  .reporte-hoja { box-shadow: none; max-width: 100%; padding: 0; }
}

/* ---------- boleta de entrega ---------- */
.boleta-hoja {
  max-width: 800px;
  background: var(--fp-white);
  border: 1px solid #d8dde0;
  border-radius: 10px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.boleta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--fp-dark);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.boleta-stamp {
  position: absolute;
  font-size: 2.2rem;
  font-weight: 900;
  border: 4px solid;
  padding: 2px 18px;
  border-radius: 10px;
  opacity: 0.7;
  transform: rotate(-16deg);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.boleta-stamp-pagado { top: 42%; right: 40px; color: #1c6b3d; border-color: #1c6b3d; }
.boleta-stamp-entregado { top: 58%; right: 20px; color: #0a9fb3; border-color: #0a9fb3; }

/* ---------- boleta por duplicado (cliente + ForwardPY en la misma hoja) ---------- */
.boleta-pagina { max-width: 800px; margin: 0 auto 40px; }

.boleta-hoja {
  padding: 20px;
  position: relative;
}

.boleta-copia-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--fp-dark);
  color: var(--fp-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boleta-corte {
  text-align: center;
  color: #9ca3af;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

@media print {
  .boleta-pagina { page-break-after: always; margin-bottom: 0; }
  .boleta-pagina:last-child { page-break-after: avoid; }
  .boleta-hoja { border: 1px solid #999; }
}

/* ---------- autocompletar ---------- */
.autocompletar-resultados {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
}
.autocompletar-resultados:not(:empty) {
  background: var(--fp-white);
  border: 1px solid #e2e8ea;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  margin-top: 4px;
}
.autocompletar-resultados .list-group-item { cursor: pointer; border-color: #eef1f2; }
.autocompletar-resultados .list-group-item:hover { background: rgba(15,206,232,0.12); }

/* ---------- terminos y condiciones ---------- */
.terminos-contenido h5 { color: var(--fp-dark); }
.terminos-contenido p { color: #333; line-height: 1.7; text-align: justify; }

/* ---------- secciones ---------- */
.bg-light-section { background: #f7fbfc; }
.stat-mini { padding: 12px; }
.servicio-card { border-radius: 14px; transition: transform .15s ease; }
.servicio-card:hover { transform: translateY(-4px); }
.servicio-icono { font-size: 2.5rem; }
.servicio-icono .fi { border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }

.cta-section { background: var(--fp-dark); }
.text-light-muted { color: rgba(254,254,253,0.7); }

/* ---------- footer ---------- */
.footer-forwardpy { background: var(--fp-dark); color: rgba(254,254,253,0.85); }
.footer-link { color: rgba(254,254,253,0.7); text-decoration: none; }
.footer-link:hover { color: var(--fp-cyan); }

/* ---------- whatsapp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 1000;
}
.whatsapp-float:hover { background: #1ebe5b; color: white; }

/* ---------- tablas / badges ---------- */
.badge-estado {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: capitalize;
  color: var(--fp-white);
  background: var(--fp-dark);
}
.badge-otro        { background: var(--fp-dark); }
.badge-deposito     { background: #64748b; }
.badge-transito     { background: #2563eb; }
.badge-proceso      { background: #d97706; }
.badge-disponible   { background: var(--fp-cyan); color: var(--fp-dark); }
.badge-retiro       { background: #0d9488; }
.badge-delivery     { background: #7c3aed; }
.badge-entregado    { background: #16a34a; }
.direccion-box { background: #f7fbfc; border: 1px solid #e2e8ea; border-radius: 8px; padding: 12px 14px; font-family: inherit; white-space: pre-wrap; margin: 0; }
.link-button-danger { background: none; border: none; color: #c0392b; text-decoration: underline; padding: 0; font-size: 0.9rem; }

/* ---------- perfil / stats ---------- */
.stat-card .stat-number, .stat-number { display: block; font-size: 1.6rem; font-weight: 700; color: var(--fp-dark); }
.stat-card .stat-label, .stat-label { color: #6b7280; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
.stat-peso { display: block; color: var(--fp-cyan); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.stat-card-clickable { transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.stat-card-clickable:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.1) !important; }

/* ---------- admin layout ---------- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: var(--fp-dark); color: white; padding: 24px 16px; flex-shrink: 0; }
.admin-nav-link { color: rgba(254,254,253,0.8); text-decoration: none; display: block; padding: 8px 10px; border-radius: 8px; font-size: 0.95rem; }
.admin-nav-link:hover { background: rgba(15,206,232,0.15); color: var(--fp-cyan); }
.btn-link-nav { background: none; border: none; text-align: left; width: 100%; }
.admin-content { flex: 1; padding: 32px 40px; background: #f7fbfc; }

@media (max-width: 720px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 20px; }
}
/* ---------- banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--fp-dark);
  color: rgba(254,254,253,0.9);
  z-index: 1050;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
/* ---------- ejemplo de checkout (formulario simulado) ---------- */
.ejemplo-checkout {
  background: #f7fbfc;
  border: 1px solid #e2e8ea;
  border-radius: 10px;
  padding: 20px;
}
.ejemplo-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 3px;
}
.ejemplo-campo {
  background: var(--fp-white);
  border: 1px solid #d8dde0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.95rem;
  color: var(--fp-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.ejemplo-campo:last-child { margin-bottom: 0; }
@keyframes fade-in-out {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.fade-placeholder {
  display: inline-block;
  animation: fade-in-out 1.8s ease-in-out infinite;
  color: #6b7280;
  font-style: italic;
  font-size: 0.85rem;
}
/* ---------- buscador de clientes en el sidebar admin ---------- */
.admin-sidebar-search { position: relative; }
.admin-search-resultados {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
}
.admin-search-resultados:not(:empty) {
  background: var(--fp-white);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  margin-top: 4px;
}
.admin-search-resultados .list-group-item { border-color: #eef1f2; }
.admin-search-resultados .list-group-item:hover { background: rgba(15,206,232,0.12); }
/* ---------- guaranies debajo del total en dolares (tarjetas stat) ---------- */
.stat-gs {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
  margin-top: 2px;
}
 
