:root {
  /* Fondo exterior de la app (Mauve/Purple gradient) */
  --bg-color: #d8c8d3; 

  /* Contenedor principal de la app (Beige) */
  --surface-color: #fdf6eb;
  
  /* Sidebar (Warm Taupe) */
  --surface-low: #e5ded9;
  
  /* Tarjetas y modales (Soft Mauve) */
  --surface-high: #e2d4de;
  
  /* Inputs y fondos de campos */
  --surface-highest: #f7efea;
  
  /* Colores primarios (Muted Dark Purple) */
  --primary: #685367; 
  --primary-container: #826b80; /* El color de las tarjetas oscuras */
  --on-primary: #ffffff;
  
  /* Textos */
  --on-surface: #1e1b18;
  --on-surface-variant: #4c454a;
  
  /* Bordes */
  --outline: #cec3ca;
  
  /* Efectos */
  --accent-glow: rgba(0, 0, 0, 0.05);
  --glass-bg: #e2d4de;
  --glass-border: transparent;
  
  --font-main: 'Inter', sans-serif;
  --font-display: 'Manrope', sans-serif;
}

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

html {
  background-color: var(--surface-color);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: linear-gradient(135deg, #e4d7e0 0%, #c4b0c2 100%);
  background-attachment: fixed;
  color: var(--on-surface);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  zoom: 0.85;
}

h1, h2, h3, .display-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Layout Principal */
.app-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface-color);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.sidebar {
  width: 230px; /* Reducido desde 280px para hacerlo más angosto */
  background: var(--surface-low);
  padding: 2rem 0 2rem 1.5rem; /* Sin padding a la derecha para el efecto de unión */
  display: flex;
  flex-direction: column;
  border-right: none;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible; /* Permitir que los pseudo-elementos se vean */
  white-space: nowrap;
  position: relative;
}

.sidebar.collapsed {
  width: 90px;
  padding: 2rem 1rem;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .user-info {
  display: none !important;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  margin-bottom: 2rem;
  padding-right: 1.5rem;
  transition: all 0.3s ease;
}

.hamburger-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.sidebar.collapsed .sidebar-header {
  padding-right: 0;
}

.sidebar.collapsed .hamburger-container {
  justify-content: center;
}

.sidebar-logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.sidebar-logo-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-right: -0.8rem;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-logo-container {
  margin-left: 0;
  justify-content: center;
}

.sidebar.collapsed .sidebar-logo-img {
  width: 55px;
  height: 55px;
  margin-right: 0;
  transform: scale(1.1);
}

.sidebar.collapsed .user-actions {
  flex-direction: column;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-width: 0;
  background: var(--surface-color);
}

.top-bar {
  height: 80px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-content {
  flex: 1;
  padding: 1rem 2.5rem 2.5rem 2.5rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar estilizado para .main-content */
.main-content::-webkit-scrollbar { width: 8px; }
.main-content::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 10px; }

.hamburger-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hamburger-btn:hover {
  background: var(--surface-highest);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.breadcrumb {
  font-weight: 700;
  color: var(--on-surface);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navegación - Estilo Pill (Píldora) Asimétrica */
.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  color: var(--on-surface);
  font-weight: 600;
  border-radius: 30px 0 0 30px; /* Redondeado a la izquierda, recto a la derecha */
  transition: 0.3s;
  margin-bottom: 0.5rem;
  position: relative;
}

.nav-item.active {
  background-color: var(--surface-color); /* Color igual al fondo principal */
  color: var(--primary) !important;
  box-shadow: none;
  border-radius: 30px 0 0 30px; /* Redondeado a la izquierda, recto a la derecha */
  z-index: 1;
}

.nav-item:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Componentes de Tarjetas con Sombra (Smartech Layout) */
.glass-card {
  background: var(--surface-high); /* Soft Mauve por defecto */
  border: none;
  border-radius: 16px; /* Mitad de 32px */
  padding: 1.8rem;
  /* SOMBRA SOLICITADA EN LAS CAJAS */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  /* Removed transform to prevent jumpy UI */
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1), 0 6px 12px rgba(0, 0, 0, 0.04);
}

/* Asignar todas las tarjetas de pacientes el color morado oscuro para contraste */
.patient-card-dark { 
  background-color: var(--primary-container) !important; 
  color: var(--on-primary) !important; 
  /* Redefinir variables CSS dentro de la tarjeta oscura para forzar contraste claro */
  --on-surface: #ffffff;
  --on-surface-variant: rgba(255, 255, 255, 0.85);
  --primary: #ffffff;
  --outline: rgba(255, 255, 255, 0.2);
}

/* Asegurar legibilidad en las tarjetas oscuras sobrescribiendo estilos en línea si es necesario */
.patient-card-dark p,
.patient-card-dark strong,
.patient-card-dark h4 {
  color: var(--on-primary) !important;
}

/* Los botones dentro de tarjetas oscuras deben destacar con fondo blanco y texto oscuro */
.patient-card-dark .btn-primary {
  background: #ffffff !important;
  color: #685367 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.patient-card-dark .btn-primary:hover {
  background: #fdf6eb !important;
  transform: translateY(-2px);
}

.patient-card-dark .btn-primary .material-icons-round {
  color: #685367 !important;
}

/* Forzar color negro en la sección de medidas (Peso, Altura, etc.) y en el historial de consultas con ultra-especificidad para ganar a cualquier otra regla */
.main-content > div.animate-in > .glass-card .metrics-display p, 
.main-content > div.animate-in > .glass-card .metrics-display strong,
.main-content > div.animate-in > .glass-card .metrics-display h4,
.main-content > div.animate-in > .glass-card .metrics-display span,
.main-content > div.animate-in > .glass-card #consultas-history-container p,
.main-content > div.animate-in > .glass-card #consultas-history-container strong,
.main-content > div.animate-in > .glass-card #consultas-history-container h4,
.main-content > div.animate-in > .glass-card #consultas-history-container span,
.main-content > div.animate-in > .glass-card #consultas-history-container div,
.main-content > div.animate-in > .glass-card #consultas-history-container em {
  color: #000000 !important;
}
.main-content > div.animate-in > .glass-card .metrics-display .material-icons-round,
.main-content > div.animate-in > .glass-card #consultas-history-container .material-icons-round {
  color: #685367 !important;
}

/* Botones */
.btn-primary {
  background: var(--primary-container);
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: 0.3s;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(130, 107, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(130, 107, 128, 0.4);
}

/* Secciones y Grids */
.section-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modales */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(228, 215, 224, 0.7); /* Fondo mauve semi-transparente */
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.modal-content {
  background: var(--surface-color);
  border: none;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* Formularios */
.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--on-surface-variant);
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: var(--surface-high); /* Fondo de input mauve */
  border: 1px solid transparent;
  padding: 1rem 1.5rem;
  border-radius: 8px; /* Ligeramente redondeado */
  color: #1e1b18; /* Texto oscuro para asegurar legibilidad en cualquier tarjeta */
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-container);
  background: #ffffff;
  color: #1e1b18;
  box-shadow: 0 0 0 4px rgba(130, 107, 128, 0.15);
}

/* Textareas (no pueden ser pastillas perfectas) */
textarea.form-control {
  border-radius: 12px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--primary-container);
  color: var(--on-primary);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-in {
  animation: fadeIn 0.6s ease cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Responsive Table scroll */
.form-grid { scrollbar-width: thin; }
.form-grid::-webkit-scrollbar { width: 5px; }
.form-grid::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 10px; }

/* Scrollbar sutil para lista de equivalencias */
#eq-list::-webkit-scrollbar {
  width: 4px;
}
#eq-list::-webkit-scrollbar-track {
  background: transparent;
}
#eq-list::-webkit-scrollbar-thumb {
  background: var(--outline);
  border-radius: 10px;
}
#eq-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
#eq-list {
  scrollbar-width: thin;
  scrollbar-color: var(--outline) transparent;
}

/* Grid de Dietocálculo (Estilo Imagen Referencia) */
.diet-grid {
    display: grid;
    grid-template-columns: 115px 1fr 1fr 1fr 1fr;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
}

.diet-grid .label-col {
    text-align: left;
    font-weight: 700;
    color: var(--on-surface);
    font-size: 0.8rem;
}

.diet-grid .header-col {
    font-weight: 700;
    color: var(--on-surface);
    font-size: 0.8rem;
}

.diet-grid .input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.25rem 0.4rem;
    height: 36px;
    max-width: 90px;
    margin: 0 auto;
}

.diet-grid .input-wrapper input[type="number"] {
    width: 45px;
    min-width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    padding: 0;
    -moz-appearance: textfield;
}

.diet-grid .input-wrapper input[type="number"]::-webkit-inner-spin-button,
.diet-grid .input-wrapper input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
}

.status-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    display: inline-block;
}

.status-msg {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    line-height: 1.2;
}

/* Spinner arrows for portion inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
.dist-input-cell::-webkit-inner-spin-button,
.dist-input-cell::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button !important;
    opacity: 1 !important;
    margin: 0;
    cursor: pointer;
    display: block !important;
}

/* Switch / Toggle Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--outline);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* Dietocálculo - Ajustes de Altura y CAN */
.dashboard-col {
    height: 720px;
    display: flex;
    flex-direction: column;
}

.can-section {
    padding: 1.2rem;
    background: var(--surface-highest);
    border-radius: 12px;
    border: 1px solid var(--outline);
    margin-top: 1rem;
}

.diet-grid {
    display: grid;
    gap: 0.8rem;
    align-items: center;
}

.status-pill {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.status-msg {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Forzar simetría en el grid de Step 2 */
.menu-step .calc-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

/* Patient Form Multi-select */
/* Custom Select Dropdowns */
.custom-select-wrapper { position: relative; width: 100%; }
.custom-select-trigger { display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.custom-select-options { 
    position: absolute; top: calc(100% + 5px); left: 0; width: 100%; 
    background: #ffffff; border: 1px solid var(--outline); 
    border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    z-index: 9999; display: none; max-height: 250px; overflow-y: auto; 
}
.custom-select-options.open { display: block; animation: slideDownSelect 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.custom-select-item { padding: 0.8rem 1.2rem; cursor: pointer; color: var(--on-surface); font-size: 0.95rem; transition: background 0.2s; border-bottom: 1px solid rgba(0,0,0,0.03); }
.custom-select-item:last-child { border-bottom: none; }
.custom-select-item:hover { background: var(--surface-low); color: var(--primary); }
.custom-select-item.selected { background: var(--primary-container); color: white; font-weight: bold; }
@keyframes slideDownSelect { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Ocultar flechas en inputs numéricos */
.hide-spin::-webkit-inner-spin-button, 
.hide-spin::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hide-spin { -moz-appearance: textfield; }

/* Tooltips */
[data-tooltip] { position: relative; }
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding: 0.4rem 0.8rem;
  background: var(--surface-highest);
  color: #685367 !important; /* Forzar el morado oscuro para evitar que se herede blanco en tarjetas oscuras */
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--outline);
  pointer-events: none;
  z-index: 100;
  margin-bottom: 8px;
}
[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  border: 5px solid transparent;
  border-top-color: var(--surface-highest);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 101;
  margin-bottom: -2px;
}
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-3px);
}

/* Patient Form Multi-select */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
    background: var(--surface-high);
    padding: 1rem;
    border-radius: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--on-surface);
}

.check-item input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

/* --- DASHBOARD GRIDS & CARDS --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: var(--surface-high);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    color: var(--on-surface);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--on-surface-variant);
    font-weight: 500;
}

.patient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.patient-card {
    background: var(--surface-high);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--outline);
    cursor: pointer;
    transition: all 0.2s ease;
}

.patient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-active { background: #e0f2fe; color: #0284c7; }
.status-paused { background: #fee2e2; color: #dc2626; }

.progress-container {
    background: var(--surface-highest);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: var(--outline);
    border-radius: 3px;
    overflow: hidden;
}

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

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-highest);
    color: #685367 !important; /* Forzar color morado oscuro para evitar texto blanco en tarjetas oscuras */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}

/* Corrección de color para el historial de seguimientos - Forzar negro en respuestas */
#followup-history-container strong {
    color: #111 !important;
}

/* --- Avatars de iniciales de pacientes con contraste dinámico --- */
/* Tarjetas claras -> Fondo oscuro, letra clara */
.patient-avatar-box {
    background: #685367 !important;
    color: #ffffff !important;
    font-family: var(--font-display);
}

/* Tarjetas oscuras -> Fondo claro, letra oscura */
.patient-card-dark .patient-avatar-box {
    background: #f7efea !important;
    color: #685367 !important;
}

/* Custom thin scrollbars */
.thin-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.thin-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.thin-scrollbar::-webkit-scrollbar-thumb {
    background: var(--outline);
    border-radius: 10px;
}
.thin-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--on-surface-variant);
}

.ingredient-card-item {
    min-height: 4.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ====== PRINT STYLES FOR PATIENT REPORT ====== */
@media print {
    body * {
        visibility: hidden;
    }
    #patient-report-printable, #patient-report-printable * {
        visibility: visible;
    }
    #patient-report-printable {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
        color: black;
        padding: 0;
        margin: 0;
    }
    .print-hide {
        display: none !important;
    }
    @page {
        size: A4;
        margin: 1.5cm;
    }
}
