/* JPL PREVENCIONISTAS - Software Dashboard Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #6b1d2f;
  --primary-hover: #551423;
  --primary-btn: #6b1d2f;
  --primary-btn-hover: #551423;
  --primary-light: #fbf3f5;
  --primary-border: #fecdd3;
  --accent: #d93856;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-card: #eef2f6;
  
  /* Semáforo Color Palette */
  --semaforo-rojo-bg: #fee2e2;
  --semaforo-rojo-text: #991b1b;
  --semaforo-rojo-border: #fca5a5;
  --semaforo-rojo-dot: #ef4444;

  --semaforo-amarillo-bg: #fef3c7;
  --semaforo-amarillo-text: #92400e;
  --semaforo-amarillo-border: #fcd34d;
  --semaforo-amarillo-dot: #f59e0b;

  --semaforo-verde-bg: #dcfce7;
  --semaforo-verde-text: #166534;
  --semaforo-verde-border: #86efac;
  --semaforo-verde-dot: #22c55e;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* App Container Layout */
#app {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Sidebar Styles */
.sidebar {
  width: 270px;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 18px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
  z-index: 100;
  flex-shrink: 0;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.5px;
}

.brand-title h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-title p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-item.active {
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-item.active svg {
  fill: #1e293b;
}

.nav-item.active .badge-count {
  background-color: #6b1d2f;
  color: #ffffff;
}

.badge-count {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding-top: 14px;
}

.admin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 14px;
}

.admin-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  flex-shrink: 0;
}

.admin-info h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.admin-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1px;
}

.admin-chevron {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-main);
}

.top-bar {
  height: 76px;
  background-color: var(--bg-main);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.page-header-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.page-header-title p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.client-selector-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.client-selector-widget label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.client-selector-widget select {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 5px 30px 5px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.content-body {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

/* Views Management */
.view-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Summary Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}

.card-subtext {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(107, 29, 47, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Client Directory Grid */
.client-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.search-input {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.search-input input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: var(--bg-card);
}

.search-input input:focus {
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.client-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.client-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.client-type-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-gran { background: #ede9fe; color: #6d28d9; }
.badge-mipyme { background: #e0f2fe; color: #0369a1; }
.badge-micro { background: #fef3c7; color: #b45309; }

.client-card-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.client-card-title p {
  font-size: 12px;
  color: var(--text-muted);
}

.client-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
}

.client-progress-bar {
  margin-bottom: 20px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.client-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   SEMÁFORO INTERACTIVO (VERDE, AMARILLO, ROJO)
   ========================================================= */

.semaforo-control-group {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  gap: 3px;
}

.semaforo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  user-select: none;
}

.semaforo-btn:hover {
  background: #ffffff;
  color: var(--text-main);
}

.semaforo-btn .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* Verde: Realizado */
.semaforo-btn.opt-verde .dot { background: var(--semaforo-verde-dot); }
.semaforo-btn.opt-verde.active {
  background: var(--semaforo-verde-bg);
  color: var(--semaforo-verde-text);
  border-color: var(--semaforo-verde-border);
  box-shadow: 0 1px 3px rgba(22, 101, 52, 0.15);
  font-weight: 700;
}

/* Amarillo: En ejecución */
.semaforo-btn.opt-amarillo .dot { background: var(--semaforo-amarillo-dot); }
.semaforo-btn.opt-amarillo.active {
  background: var(--semaforo-amarillo-bg);
  color: var(--semaforo-amarillo-text);
  border-color: var(--semaforo-amarillo-border);
  box-shadow: 0 1px 3px rgba(146, 64, 14, 0.15);
  font-weight: 700;
}

/* Rojo: No realizado */
.semaforo-btn.opt-rojo .dot { background: var(--semaforo-rojo-dot); }
.semaforo-btn.opt-rojo.active {
  background: var(--semaforo-rojo-bg);
  color: var(--semaforo-rojo-text);
  border-color: var(--semaforo-rojo-border);
  box-shadow: 0 1px 3px rgba(153, 27, 27, 0.15);
  font-weight: 700;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

.status-realizado {
  background: var(--semaforo-verde-bg);
  color: var(--semaforo-verde-text);
  border: 1px solid var(--semaforo-verde-border);
}

.status-ejecucion {
  background: var(--semaforo-amarillo-bg);
  color: var(--semaforo-amarillo-text);
  border: 1px solid var(--semaforo-amarillo-border);
}

.status-norealizado {
  background: var(--semaforo-rojo-bg);
  color: var(--semaforo-rojo-text);
  border: 1px solid var(--semaforo-rojo-border);
}

.btn-reminder-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-reminder-action:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

/* Data Table Component */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #fbfcfe;
}

/* Periodicity Badge */
.periodicity-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

/* =========================================================
   SISTEMA DE AUTOMATIZACIÓN POR PERIODICIDAD LEGAL
   ========================================================= */

.engine-status-card {
  background: linear-gradient(135deg, #6b1d2f 0%, #4a0f1d 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(107, 29, 47, 0.2);
}

.engine-status-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.engine-pulse {
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.periodicity-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.period-tab {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.period-tab:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.period-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Interactive Email Simulator with 3 Semáforo Buttons */
.email-sim-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.email-sim-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.email-actions-semaforo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.btn-email-action {
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-email-action.btn-realizado {
  background-color: #166534;
  color: white;
}
.btn-email-action.btn-realizado:hover { background-color: #14532d; }

.btn-email-action.btn-ejecucion {
  background-color: #d97706;
  color: white;
}
.btn-email-action.btn-ejecucion:hover { background-color: #b45309; }

.btn-email-action.btn-norealizado {
  background-color: #dc2626;
  color: white;
}
.btn-email-action.btn-norealizado:hover { background-color: #b91c1c; }

/* Real-time Notification Logs */
.log-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.log-item-row:last-child {
  border-bottom: none;
}

.log-type-tag {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-recordatorio { background: #fee2e2; color: #991b1b; }
.tag-periodico { background: #e0f2fe; color: #0369a1; }
.tag-respuesta { background: #dcfce7; color: #166534; }

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.modal-card.modal-card-wide {
  max-width: 860px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Charts SVG styling */
.chart-container {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding-top: 20px;
}

.bar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 12%;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   CLIENT DETAIL WORKSPACE & SIMULATOR SUITE (MATCHING PHOTO)
   ========================================================= */

.client-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-back-clients {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: var(--transition);
}

.btn-back-clients:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-pdf-download {
  background: #6b1d2f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-pdf-download:hover {
  background: #460f1c;
  box-shadow: 0 4px 12px rgba(92, 20, 38, 0.25);
}

.btn-client-edit {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-client-edit:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-client-delete {
  background: #ffffff;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-client-delete:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* Client Profile Header Card */
.client-header-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 22px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.client-profile-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.client-initials-badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #6b1d2f;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-profile-details h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.2;
}

.client-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.badge-pill-neutral {
  background: #f1f5f9;
  color: #475569;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  border: none;
}

.badge-pill-blue {
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border: none;
}

.badge-pill-orange {
  background: #ffedd5;
  color: #ea580c;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border: none;
}

.client-contact-box {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.contact-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f0ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-header-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 12px;
}

.contact-name-val {
  font-weight: 700;
  color: #1e293b;
  font-size: 12.5px;
}

.contact-sub-val {
  color: #64748b;
  font-size: 11.5px;
}

/* Simulator Card */
.simulator-card {
  background: #ffffff;
  border: 1px solid #fecdd3;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.simulator-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.simulator-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.simulator-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe4e6;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.simulator-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #701a30;
  margin-bottom: 2px;
}

.simulator-subheading {
  font-size: 12px;
  color: #64748b;
}

.simulator-unlimited-badge {
  background: #dcfce7;
  color: #15803d;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr 1.1fr;
  gap: 16px;
  align-items: flex-end;
}

.simulator-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.simulator-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.simulator-select {
  width: 100%;
  height: 44px;
  padding: 0 32px 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12.5px;
  color: #1e293b;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

.simulator-select:focus {
  border-color: #fca5a5;
}

.btn-dispatch-test {
  height: 44px;
  width: 100%;
  background: #6b1d2f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-dispatch-test:hover {
  background: #460f1c;
  box-shadow: 0 4px 10px rgba(92, 20, 38, 0.25);
}

/* 4 Metrics Cards Grid */
.client-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.client-metric-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: var(--transition);
}

.client-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.metric-icon-squircle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.metric-icon-blue {
  background: #e0f2fe;
  color: #2563eb;
}

.metric-icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.metric-icon-red {
  background: #fee2e2;
  color: #dc2626;
}

.metric-body {
  display: flex;
  flex-direction: column;
}

.metric-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.status-dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green-ind { background: #22c55e; }
.dot-amber-ind { background: #f59e0b; }
.dot-red-ind { background: #ef4444; }

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin: 4px 0 2px 0;
}

.metric-number-green { color: #15803d; }
.metric-number-dark { color: #1e293b; }
.metric-number-amber { color: #b45309; }
.metric-number-red { color: #dc2626; }

.metric-caption {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 400;
}

/* Automation Card */
.client-automation-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.automation-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.automation-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.automation-calendar-squircle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.automation-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.automation-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-dispatch-paused {
  background: #fef3c7;
  color: #92400e;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-dispatch-activate {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
  transition: var(--transition);
}

.btn-dispatch-activate:hover {
  background: #15803d;
}

/* =========================================================
   PANEL DE PROGRAMACIÓN POR ÍTEM DEL WORD (ÍTEM - PROGRAMACIÓN - PERIODICIDAD)
   ========================================================= */
.item-schedule-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
  margin-bottom: 20px;
}

.item-schedule-logic-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.item-logic-steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #bae6fd;
}

.badge-source-doc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #6b21a8;
  background: #f3e8ff;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid #e9d5ff;
}

.item-schedule-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .item-schedule-grid {
    grid-template-columns: 1fr;
  }
}

.item-schedule-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-schedule-col label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-schedule-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  transition: var(--transition);
}

.item-schedule-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.item-preview-card {
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #475569;
}

.item-preview-deliverables-title {
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.item-preview-deliverables-list {
  margin: 0;
  padding-left: 16px;
  max-height: 90px;
  overflow-y: auto;
}

.item-preview-deliverables-list li {
  margin-bottom: 3px;
}

.item-preview-tip {
  margin-top: 6px;
  padding: 6px 8px;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  font-size: 11px;
  color: #92400e;
  font-style: italic;
}

.item-schedule-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.badge-schedule-active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-schedule-paused {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-schedule-once {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-schedule-completed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-item-schedule-action {
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-item-schedule-action:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-item-schedule-toggle-on {
  color: #15803d;
  background: #f0fdf4;
  border-color: #86efac;
}

.btn-item-schedule-toggle-on:hover {
  background: #dcfce7;
}

.btn-item-schedule-toggle-off {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

.btn-item-schedule-toggle-off:hover {
  background: #fef3c7;
}

/* =========================================================
   FLUID NAVIGATION TRANSITIONS & MOBILE RESPONSIVE ADAPTATION
   ========================================================= */

/* Fluid View Transitions */
.view-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Nav Item Micro-interactions */
.nav-item {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.nav-item:active {
  transform: scale(0.98);
}

/* Tab Micro-interactions */
.period-tab {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.period-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.period-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(74, 21, 37, 0.2);
}

/* Hamburger button */
.btn-mobile-menu {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-mobile-menu:hover {
  background: #f1f5f9;
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Status Indicator Dot utilities */
.status-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-green-ind { background: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2); }
.dot-amber-ind { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
.dot-red-ind { background: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }

/* Table responsive wrapper */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Responsive Grids & Layouts */
@media (max-width: 1100px) {
  .client-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-two-col-grid {
    grid-template-columns: 1fr !important;
  }
  .alerts-two-col-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .btn-mobile-menu {
    display: flex;
  }

  .sidebar-overlay {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .top-bar {
    padding: 12px 16px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .content-body {
    padding: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
  }

  .client-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .client-actions-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-input {
    max-width: 100%;
  }

  .simulator-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-three {
    grid-template-columns: 1fr !important;
  }

  .form-grid-two {
    grid-template-columns: 1fr !important;
  }

  .client-header-card {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .client-profile-left {
    flex-wrap: wrap;
  }

  .client-contact-box {
    min-width: 100%;
  }

  .client-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .client-detail-actions > div {
    flex-wrap: wrap;
  }

  .stats-charts-grid {
    grid-template-columns: 1fr !important;
  }

  .modal-card {
    width: 95% !important;
    padding: 16px !important;
    margin: 10px !important;
  }

  .modal-card-wide > form > div {
    grid-template-columns: 1fr !important;
  }

  .modal-emails-grid {
    grid-template-columns: 1fr !important;
  }

  .engine-status-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .engine-status-card > div:last-child {
    text-align: left !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 600px) {
  .client-metrics-grid {
    grid-template-columns: 1fr;
  }

  .client-selector-widget {
    width: 100%;
    justify-content: space-between;
  }

  .client-selector-widget select {
    max-width: 200px;
  }

  .periodicity-filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }

  .data-table th, .data-table td {
    padding: 8px 10px;
    font-size: 11.5px;
  }
}

/* ============================================================
   PROGRAMACIÓN DE ENVÍOS POR CLIENTE (TARJETAS)
   ============================================================ */
.schedules-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.client-schedules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 22px;
  align-items: start;
}

@media (max-width: 768px) {
  .client-schedules-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-client-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.schedule-client-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.schedule-card-header {
  padding: 18px 20px 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fbf3f5 100%);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.schedule-card-title h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.schedule-card-title p {
  font-size: 12px;
  color: var(--text-muted);
}

.schedule-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 20px;
  background: #fafafc;
  border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 600px) {
  .schedule-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.schedule-chip {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.schedule-chip-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.schedule-chip-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.schedule-card-body {
  padding: 16px 20px;
  flex: 1;
}

.schedule-mini-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.schedule-mini-tab {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.schedule-mini-tab:hover {
  background: #e2e8f0;
}

.schedule-mini-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.schedule-table-wrap {
  max-height: 290px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.schedule-card-footer {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

