#texto {
	line-height: 0.7;
}
a {
	line-height: inherit;
	color: #007BE8;
	cursor: pointer;
}
#envio {
	padding-top: 14%;
	padding-bottom: 14%;
}
.envio-contenedor {
	width: 3% !important; /* Ajusta a lo que necesites, por ejemplo 3% o 5% */
}
.envio-contenedor button {
	padding: 0.375rem 0.5rem; /* Reduce el tamaño del botón */
	font-size: 0.75rem;       /* Texto más pequeño */
	white-space: nowrap;      /* Evita que el texto se divida */
}
.btn-info {
    color: #fff;
    background-color: #007BE8;
    border-color: #007BE8;
}
h5 {
	font-size: 0.8rem;
}
.card {
	margin: 10px;
	height: 100%;
}
.card-body {
	padding: 0.25rem;
}
.equal-card-header {
  min-height: 55px;
  display: flex;
  align-items: center;
}
/* .w-md-45 { width: 47% !important; } */
.w-md-10 { width: 6% !important; }
@media (max-width: 800px) {
  .w-md-45, .w-md-10 {width: 100% !important;}
  .envio-contenedor {width: 100% !important;}
  .envio-contenedor button {width: 100%;}
}
#theform.htmx-request {
	opacity: 0.6;
	pointer-events: none;
}
:root {
	--bg: #ffffff;
	--texto: #212529;
	--card-bg: #ffffff;
	--card-header-bg: rgba(0, 0, 0, 0.03);
	--card-border: rgba(0, 0, 0, 0.125);
	--select-bg: #ffffff;
	--select-color: #212529;
	--toggle-border: #d0d7de;
}
[data-theme="dark"] {
	--bg: #1e1e1e;
	--texto: #e8e8e8;
	--card-bg: #252526;
	--card-header-bg: #2d2d30;
	--card-border: #3c3c3c;
	--select-bg: #2d2d30;
	--select-color: #e8e8e8;
	--toggle-border: #3c3c3c;
}
body {
	background-color: var(--bg);
	color: var(--texto);
}
/* Bootswatch fija color:#1a1a1a en los headings; usar la variable del tema */
h1, h2, h3, h4, h5, h6 {
	color: var(--texto);
}
.card {
	background-color: var(--card-bg);
	border-color: var(--card-border);
}
.card-header {
	background-color: var(--card-header-bg);
	border-bottom: 1px solid var(--card-border);
}
.form-check-label {
	color: var(--texto);
}
select.zonal_select {
	background-color: var(--select-bg);
	color: var(--select-color);
	border-color: var(--card-border);
}
.theme-toggle {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 1050;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--toggle-border);
	background-color: var(--card-bg);
	color: var(--texto);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.theme-toggle svg {
	width: 20px;
	height: 20px;
}
.icon-sol { display: none; }
[data-theme="dark"] .icon-sol { display: block; }
[data-theme="dark"] .icon-luna { display: none; }

/* Clases para sustituir los atributos style="..." del HTML (CSP estricto) */
.enlace-sin-subrayado { text-decoration: none; }
.editor-contenedor { width: 100%; min-height: 300px; height: 100%; }
.oculto { display: none; }

/* Nunito Sans (tema Bootswatch). bootstrap.min.css la importaba desde
   fonts.googleapis.com con un @import que la CSP bloquea (style-src 'self');
   ahora se sirve localmente desde /fonts (fuente variable 200-1000, pesos 400
   y 600). Generada por Google Fonts, licencia SIL OFL 1.1 (fonts/OFL.txt). */
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/nunito-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
