/**
 * Estilos corporativos: Censo oficial de la flota pesquera operativa de España (MAPA)
 * Conforme a estándares de Fijate Tools y reglas de diseño responsivo.
 */

:root {
  --fleet-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fleet-font-heading: 'Outfit', sans-serif;
  --fleet-font-mono: 'JetBrains Mono', monospace;

  /* Colores tema claro */
  --fleet-bg: #f8fafc;
  --fleet-card-bg: #ffffff;
  --fleet-card-border: #e2e8f0;
  --fleet-text-main: #0f172a;
  --fleet-text-muted: #64748b;
  --fleet-primary: #0284c7;
  --fleet-primary-hover: #0369a1;
  --fleet-primary-light: #e0f2fe;
  --fleet-ocean-dark: #0c4a6e;
  --fleet-accent: #0ea5e9;
  --fleet-amber: #d97706;
  --fleet-emerald: #059669;
  --fleet-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --fleet-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --fleet-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);

  /* Modalidad tags */
  --tag-arrastre-bg: #fef3c7;
  --tag-arrastre-text: #92400e;
  --tag-cerco-bg: #e0f2fe;
  --tag-cerco-text: #0369a1;
  --tag-palangre-bg: #ecfdf5;
  --tag-palangre-text: #065f46;
  --tag-artes-bg: #f1f5f9;
  --tag-artes-text: #334155;
}

[data-theme="dark"] {
  --fleet-bg: #090d16;
  --fleet-card-bg: #0f172a;
  --fleet-card-border: #1e293b;
  --fleet-text-main: #f1f5f9;
  --fleet-text-muted: #94a3b8;
  --fleet-primary: #38bdf8;
  --fleet-primary-hover: #0ea5e9;
  --fleet-primary-light: rgba(56, 189, 248, 0.12);
  --fleet-ocean-dark: #082f49;
  --fleet-accent: #38bdf8;
  --fleet-amber: #fbbf24;
  --fleet-emerald: #34d399;
  --fleet-shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --fleet-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5);
  --fleet-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.6);

  --tag-arrastre-bg: rgba(217, 119, 6, 0.2);
  --tag-arrastre-text: #fde68a;
  --tag-cerco-bg: rgba(2, 132, 199, 0.2);
  --tag-cerco-text: #bae6fd;
  --tag-palangre-bg: rgba(5, 150, 105, 0.2);
  --tag-palangre-text: #a7f3d0;
  --tag-artes-bg: rgba(100, 116, 139, 0.2);
  --tag-artes-text: #cbd5e1;
}

/* Reset y base */
body {
  font-family: var(--fleet-font-main);
  background-color: var(--fleet-bg);
  color: var(--fleet-text-main);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout y contención de anuncios */
.tool-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* --- Hero Card --- */
.fleet-hero-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(12, 74, 110, 0.03) 100%);
  border: 1px solid var(--fleet-card-border);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  background-color: var(--fleet-card-bg);
  box-shadow: var(--fleet-shadow-sm);
}

.fleet-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: var(--fleet-primary-light);
  color: var(--fleet-primary);
  margin-bottom: 0.875rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fleet-hero-title {
  font-family: var(--fleet-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fleet-text-main);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.fleet-hero-desc {
  font-size: 0.9375rem;
  color: var(--fleet-text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 900px;
}

/* KPIs de flota */
.fleet-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fleet-kpi-card {
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.fleet-kpi-card:hover {
  transform: translateY(-2px);
}

.fleet-kpi-num {
  display: block;
  font-family: var(--fleet-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fleet-primary);
  line-height: 1.2;
}

.fleet-kpi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fleet-text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* --- Panel de Búsqueda y Filtros --- */
.fleet-search-card {
  background-color: var(--fleet-card-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--fleet-shadow-sm);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--fleet-text-muted);
  pointer-events: none;
}

.fleet-search-input {
  width: 100%;
  height: 48px;
  padding: 0 2.75rem 0 3rem;
  font-family: var(--fleet-font-main);
  font-size: 1rem;
  color: var(--fleet-text-main);
  background-color: var(--fleet-bg);
  border: 1.5px solid var(--fleet-card-border);
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.fleet-search-input:focus {
  border-color: var(--fleet-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-clear-search {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--fleet-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}

.btn-clear-search:hover {
  color: var(--fleet-text-main);
  background-color: var(--fleet-card-border);
}

/* Chips rápidos */
.quick-chips-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}

.quick-chips-label {
  font-size: 0.8125rem;
  color: var(--fleet-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.chips-scroll {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.quick-chip {
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  color: var(--fleet-text-main);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-chip:hover {
  border-color: var(--fleet-primary);
  color: var(--fleet-primary);
  background-color: var(--fleet-primary-light);
}

/* Filtros desplegables */
.fleet-filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fleet-text-muted);
}

.filter-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 40px 0 0.875rem;
  font-family: var(--fleet-font-main);
  font-size: 0.875rem;
  color: var(--fleet-text-main);
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 0.5rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: var(--fleet-primary);
}

.filter-select option {
  background-color: var(--fleet-card-bg);
  color: var(--fleet-text-main);
  padding: 0.5rem;
}

/* Barra de estado */
.fleet-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fleet-card-border);
  font-size: 0.875rem;
  color: var(--fleet-text-muted);
}

.active-filter-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  background-color: var(--fleet-primary-light);
  color: var(--fleet-primary);
  border-radius: 0.25rem;
  font-weight: 600;
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--fleet-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* --- Grid de Tarjetas de Barcos --- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.vessel-card {
  background-color: var(--fleet-card-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 0.875rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--fleet-shadow-sm);
  position: relative;
}

.vessel-card:hover {
  transform: translateY(-3px);
  border-color: var(--fleet-primary);
  box-shadow: var(--fleet-shadow-md);
}

.vessel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.vessel-title-box {
  min-width: 0;
  flex: 1;
}

.vessel-name {
  font-family: var(--fleet-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fleet-text-main);
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.vessel-matricula {
  display: inline-block;
  font-family: var(--fleet-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fleet-text-muted);
  margin-top: 0.2rem;
}

/* Tags de modalidad */
.modality-tag {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag-arrastre {
  background-color: var(--tag-arrastre-bg);
  color: var(--tag-arrastre-text);
}

.tag-cerco {
  background-color: var(--tag-cerco-bg);
  color: var(--tag-cerco-text);
}

.tag-palangre {
  background-color: var(--tag-palangre-bg);
  color: var(--tag-palangre-text);
}

.tag-artes-menores {
  background-color: var(--tag-artes-bg);
  color: var(--tag-artes-text);
}

/* Localización de puerto y caladero */
.vessel-location-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--fleet-text-muted);
  margin-bottom: 0.875rem;
}

.vessel-port-name {
  font-weight: 600;
  color: var(--fleet-text-main);
}

/* Métricas técnicas del barco */
.vessel-specs-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background-color: var(--fleet-bg);
  border-radius: 0.5rem;
  margin-bottom: 0.875rem;
  border: 1px solid var(--fleet-card-border);
}

.vessel-spec-item {
  text-align: center;
}

.spec-val {
  display: block;
  font-family: var(--fleet-font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fleet-text-main);
}

.spec-key {
  display: block;
  font-size: 0.6875rem;
  color: var(--fleet-text-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Especies diana chips */
.vessel-species-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.species-chip {
  font-size: 0.6875rem;
  padding: 0.15rem 0.45rem;
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 0.25rem;
  color: var(--fleet-text-muted);
}

/* Botón de ficha */
.btn-view-dossier {
  width: 100%;
  height: 40px;
  background-color: var(--fleet-primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--fleet-font-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  margin-top: auto;
}

.btn-view-dossier:hover {
  background-color: var(--fleet-primary-hover);
}

/* --- Estado Vacío --- */
.empty-state-card {
  background-color: var(--fleet-card-bg);
  border: 1px dashed var(--fleet-card-border);
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.empty-icon {
  color: var(--fleet-text-muted);
  margin-bottom: 1rem;
}

.empty-title {
  font-family: var(--fleet-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.empty-desc {
  font-size: 0.9375rem;
  color: var(--fleet-text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.btn-action-primary {
  height: 42px;
  padding: 0 1.5rem;
  background-color: var(--fleet-primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-action-primary:hover {
  background-color: var(--fleet-primary-hover);
}

/* --- Guía Técnica Acordeón --- */
.fleet-guide-card {
  background-color: var(--fleet-card-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 1rem;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--fleet-shadow-sm);
}

.guide-heading {
  font-family: var(--fleet-font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--fleet-text-main);
}

.guide-accordion-item {
  border-bottom: 1px solid var(--fleet-card-border);
  padding: 1.25rem 0;
}

.guide-accordion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-item-title {
  font-family: var(--fleet-font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--fleet-text-main);
}

.guide-item-text {
  font-size: 0.9375rem;
  color: var(--fleet-text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.guide-list {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  color: var(--fleet-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.guide-list strong {
  color: var(--fleet-text-main);
}

.modalities-cards-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.modality-mini-card {
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 0.5rem;
  padding: 1rem;
}

.modality-mini-card p {
  font-size: 0.8125rem;
  color: var(--fleet-text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/* --- Modal Ficha Técnica --- */
.fleet-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.fleet-modal-card {
  background-color: var(--fleet-card-bg);
  border: 1px solid var(--fleet-card-border);
  border-radius: 1rem;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--fleet-shadow-lg);
  overflow: hidden;
  animation: modal-enter 0.2s ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.fleet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--fleet-card-border);
  gap: 1rem;
}

.modal-badges-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.fleet-status-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 0.375rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--fleet-emerald);
}

.modal-vessel-name {
  font-family: var(--fleet-font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  color: var(--fleet-text-main);
}

.modal-vessel-subtitle {
  font-family: var(--fleet-font-mono);
  font-size: 0.8125rem;
  color: var(--fleet-text-muted);
  display: block;
  margin-top: 0.25rem;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--fleet-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s;
}

.btn-close-modal:hover {
  color: var(--fleet-text-main);
  background-color: var(--fleet-card-border);
}

.fleet-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.dossier-section-title {
  font-family: var(--fleet-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fleet-primary);
  margin: 1.25rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--fleet-card-border);
}

.dossier-section-title:first-child {
  margin-top: 0;
}

.dossier-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dossier-row {
  display: flex;
  flex-direction: column;
  background-color: var(--fleet-bg);
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--fleet-card-border);
}

.dossier-key {
  font-size: 0.6875rem;
  color: var(--fleet-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.dossier-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fleet-text-main);
  word-break: break-word;
}

.dossier-val.text-mono {
  font-family: var(--fleet-font-mono);
}

.dossier-desc-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fleet-text-muted);
  background-color: var(--fleet-bg);
  padding: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid var(--fleet-card-border);
}

.fleet-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--fleet-card-border);
  background-color: var(--fleet-card-bg);
}

.btn-modal-action {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.btn-copy-folio {
  background-color: var(--fleet-bg);
  border: 1px solid var(--fleet-card-border);
  color: var(--fleet-text-main);
}

.btn-copy-folio:hover {
  border-color: var(--fleet-primary);
  color: var(--fleet-primary);
}

.btn-print-sheet {
  background-color: var(--fleet-primary);
  border: none;
  color: #ffffff;
}

.btn-print-sheet:hover {
  background-color: var(--fleet-primary-hover);
}

/* Toast de notificación */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--fleet-ocean-dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--fleet-shadow-lg);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toast-in 0.2s ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tool-layout {
    margin-top: 1rem;
    padding: 0 0.75rem;
  }
  .fleet-hero-title {
    font-size: 1.375rem;
  }
  .fleet-filters-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  .modalities-cards-mini {
    grid-template-columns: 1fr;
  }
  .dossier-grid-2col {
    grid-template-columns: 1fr;
  }
  .fleet-modal-footer {
    flex-direction: column;
  }
  .btn-modal-action {
    width: 100%;
    justify-content: center;
  }
}

/* Impresión de ficha técnica A4 */
@media print {
  .app-header,
  .fijate-footer,
  .tool-ad-sidebar,
  .tools-ad-banner-section,
  .fleet-search-card,
  .fleet-guide-card,
  .btn-view-dossier,
  .fleet-modal-footer,
  .btn-close-modal,
  .toast-notice {
    display: none !important;
  }

  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  .fleet-modal-backdrop {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .fleet-modal-card {
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}
