@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');
/* [APROBADO_FABIAN: 2026-05-29] - Cambio protegido contra modificaciones de otros agentes. */
/* Variables globales de diseño */
:root {
  --bg-color: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.06);
  --success: #059669;
  --success-glow: rgba(16, 185, 129, 0.06);
  --error: #ef4444;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --blur: 20px;
}

/* Reseteo y General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
}

/* Contenedor Principal */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Landing Page & Auth Forms */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: scale(0.97) translateY(0);
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Tarjeta de Formulario de Autenticación */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-secondary);
}

/* Inputs y Formularios */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.auth-back-link {
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-title);
  transition: var(--transition);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.btn-back-home:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.12);
}

.btn-back-home:active {
  transform: scale(0.96);
}

/* Dashboard Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1.3fr;
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.features-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.copy-box {
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  overflow: hidden;
}

.copy-box code {
  color: var(--accent);
  font-family: monospace;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 0.25rem;
}

.copy-box code::-webkit-scrollbar {
  height: 4px;
}

.copy-box code::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 4px;
}

.alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #065f46;
}

.alert-danger {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #991b1b;
}

/* Visor de Pagos en Caja */
.visor-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.visor-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.visor-header h1 {
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  .visor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .visor-header h1 {
    font-size: 1.25rem;
  }
  .visor-header .d-flex {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.connection-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.05);
}

.connection-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.connection-badge.offline::before {
  background: var(--error);
  box-shadow: 0 0 8px var(--error);
}

.visor-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .visor-content {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Tarjeta de Último Pago (Foco Principal del Cajero) */
.main-payment-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.main-payment-card.new-payment {
  animation: pulse-success 1.5s ease-out;
}

@keyframes pulse-success {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    border-color: var(--success);
  }
  100% {
    box-shadow: 0 0 0 30px rgba(16, 185, 129, 0);
  }
}

.main-payment-amount {
  font-size: 5.5rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--success);
  text-shadow: 0 0 30px var(--success-glow);
  line-height: 1;
  margin: 1.5rem 0;
  letter-spacing: -0.03em;
}

.main-payment-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.main-payment-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.main-payment-details div {
  font-size: 1rem;
}

.main-payment-details span {
  color: var(--text-secondary);
}

.main-payment-id {
  font-family: monospace;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem !important;
  margin-top: 0.5rem;
}

/* Lista de Pagos Recientes */
.payments-list-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.payments-list-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.payment-history-list {
  list-style: none;
  overflow-y: auto;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.25rem;
}

/* Scrollbar Custom */
.payment-history-list::-webkit-scrollbar {
  width: 6px;
}
.payment-history-list::-webkit-scrollbar-track {
  background: transparent;
}
.payment-history-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.1);
  border-radius: 3px;
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: var(--transition);
  cursor: pointer;
  animation: slide-in 0.3s ease-out;
}

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

.payment-item:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}

.payment-item:active {
  background: rgba(15, 23, 42, 0.08);
  transform: scale(0.99);
}

.payment-item-left {
  display: flex;
  flex-direction: column;
}

.payment-item-email {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .payment-item-email {
    max-width: 250px;
  }
}

.payment-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.payment-item-amount {
  font-weight: 700;
  color: var(--success);
  font-size: 1.125rem;
  font-family: var(--font-title);
}

.payment-item-id {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
}

/* Modales */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.mostrar {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  animation: modal-enter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-enter {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.btn-cerrar {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
}

.btn-cerrar:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-search-field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.modal-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  min-height: 80px;
}

.no-payment-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* Utilidades */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.w-100 { width: 100%; }

/* Instrucciones en el panel */
.token-instruction {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
}

.token-instruction ol {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Badges de métodos de pago */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.badge-mp {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-card {
  background: rgba(59, 130, 246, 0.1);
  color: #1e3a8a;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-transfer {
  background: rgba(168, 85, 247, 0.1);
  color: #581c87;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.badge-ticket {
  background: rgba(100, 116, 139, 0.1);
  color: #334155;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

/* Control de Voz en Visor */
.btn-voice {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-voice:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-primary);
}

.btn-voice.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: #047857;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.06);
}

/* Estadísticas en Dashboard */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Gráficos en Dashboard */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.chart-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 320px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

/* Touch y accesibilidad */
html {
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* TABS DE NAVEGACION DASHBOARD */
.dash-menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.dash-menu-tab {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-menu-tab:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

.dash-menu-tab.active {
  background: #2563eb;
  color: #ffffff !important;
}

/* NOTIFICACIONES TOAST Y MODAL CONFIRM */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 4px solid #2563eb;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.toast-msg.toast-success { border-left-color: #10b981; }
.toast-msg.toast-error { border-left-color: #ef4444; }
.toast-msg.toast-warning { border-left-color: #f59e0b; }
.toast-msg.toast-info { border-left-color: #3b82f6; }

.toast-msg .toast-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.toast-msg.toast-out {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-15px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* MODAL DE CONFIRMACIÓN MODERNO */
.confirm-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.confirm-modal-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.confirm-modal-overlay.active .confirm-modal-box {
  transform: scale(1);
}

.confirm-modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.confirm-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

.confirm-modal-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.confirm-btn-cancel {
  background: #f1f5f9;
  border: 1px solid rgba(15,23,42,0.08);
  color: #475569;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  flex: 1;
  transition: background 0.2s;
}

.confirm-btn-cancel:hover { background: #e2e8f0; }

.confirm-btn-accept {
  background: #ef4444;
  border: none;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  flex: 1;
  transition: background 0.2s;
}

.confirm-btn-accept:hover { background: #dc2626; }

/* BOTÓN FLOTANTE INSTALAR APP (PWA) */
.install-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  animation: installFabIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes installFabIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.install-fab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}

.install-fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

.install-fab-btn:active {
  transform: scale(0.96);
}

.install-fab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}


