/* El widget de reCAPTCHA v2 se retiro al migrar a v3: v3 no pinta nada, solo deja un campo
   oculto con el token, de modo que ya no hay contenedor que centrar ni separar. */

/* Mensajes del login: que ocupen espacio solo cuando haya algo que decir.
   PrimeFaces pinta el contenedor .ui-messages SIEMPRE -lo necesita como destino de los
   update AJAX-, asi que sin esto quedaba un hueco entre la contrasena y los botones aunque
   no hubiera ningun mensaje: el padding de la celda col-12 mas el margen del tema.
   El margen se devuelve con :not(:empty), de modo que un mensaje real si se separa de los
   campos. Si por alguna razon el selector no aplicara, el margen queda en 0 y el contenedor
   vacio colapsa igual, que es el comportamiento deseado. */
.login-messages {
	padding-top: 0;
	padding-bottom: 0;
}

.login-messages .ui-messages {
	margin: 0;
}

.login-messages .ui-messages:not(:empty) {
	margin-bottom: 0.75rem;
}

/*Conformacion de viajes*/
.remisionesConformadasTable {
	background: linear-gradient(to right, #81c952, #fff);
	color: white;
	border-radius: 12px;
}


/*Eventos*/
.eventosHabilitados {
	color: black;
	font-size: 1.5em;
}

.eventosinhabilitados {
	color: gray;
}


.signature-box {
	height: 350px;
}

/*Messages*/
body .ui-messages .ui-messages-info {
	background-color: #e6f4ea !important;
	color: #225c32 !important;
	border: 1px solid #28a745 !important;
}

body .ui-messages .ui-messages-info .ui-messages-info-icon {
	color: #225c32 !important;
}

body .ui-messages .ui-messages-warn {
	background: #FFECB3 !important;
	border: 1px solid #FFC107 !important;
	color: #7f6003 !important;
}

body .ui-messages .ui-messages-warn .ui-messages-warn-icon {
	color: #7f6003 !important;
}

body .ui-messages .ui-messages-error,
body .ui-messages .ui-messages-fatal {
	background: #d17a00 !important;
	border: 1px solid #6c3900 !important;
	color: #fce4b4 !important;
}

body .ui-messages .ui-messages-error .ui-messages-error-icon,
body .ui-messages .ui-messages-error .ui-messages-fatal,
body .ui-messages .ui-messages-fatal .ui-messages-error-icon,
body .ui-messages .ui-messages-fatal .ui-messages-fatal {
	color: #fce4b4 !important;
}



/*Login*/
.login-body .body-container {
	border-top: 7px solid #6ebc3b;
}

.left-side img {
	padding: 100px 0 100px 0;
	width: 100% !important;
	height: auto;
}

.eucotracker-wrapper {
	width: 400px;
	margin: 0 auto;
	text-align: center;
}

.eucotracker-container {
	box-sizing: border-box;
	padding-top: 50%;
	text-align: center;
	color: #4f575b;
}

.toxement-wrapper {
	width: 120px;
	margin: 0 auto;
	text-align: center;
}

.toxement-container {
	box-sizing: border-box;
	padding-top: 0%;
	text-align: center;
	color: #4f575b;
}

.login-body .left-side {
	padding-left: 0px !important;
}

.login-wrapper .login-container .title {
	color: #000 !important;
}

/*Autenticacion*/
.zona_autenticacion_wrapper {
	width: 100%;
	text-align: center;
	padding-bottom: 10px;
}

.zona_autenticacion_inner {
	display: flex;
	align-items: center;
	justify-content: left;
	padding-left: 10px;
}

.icono-autenticacion {
	width: 24px;
	height: 24px;
}

.titulo-autenticacion {
	font-size: 1.25rem !important;
	font-weight: bold;
	color: #114138;
	padding-top: 10px;
}

/*Acceso de conductores: loginConductores.xhtml.
  Reutiliza el contenedor del login (.login-container) y solo agrega lo propio del
  formulario de codigo de verificacion: las seis casillas, el boton ancho y el
  contador de reenvio. No toca ninguna clase que use index.xhtml. */
.otp-panel {
	text-align: center;
	padding: 4px 6px 0 6px;
}

.otp-titulo {
	font-size: 1.6rem !important;
	font-weight: bold;
	color: #114138;
	margin: 0 0 12px 0;
}

.otp-ayuda {
	color: #6c757d;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0 0 20px 0;
	text-align: center;
}

.otp-inputs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.otp-inputs .otp-box {
	width: 48px !important;
	height: 56px;
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
	color: #114138;
	border: 1px solid #ced4da;
	border-radius: 6px;
	padding: 0 !important;
}

.otp-inputs .otp-box:focus {
	border-color: #6ebc3b;
	box-shadow: 0 0 0 2px rgba(110, 188, 59, 0.25);
}

.otp-boton-verificar {
	width: 100%;
	margin-top: 8px;
	padding: 12px 0 !important;
	font-weight: bold !important;
}

.otp-reenvio {
	margin-top: 16px;
	text-align: center;
	font-size: 0.9rem;
}

.otp-reenvio-enlace {
	color: #114138 !important;
	text-decoration: none;
}

/* Mientras corre el contador el enlace queda apagado; el bloqueo real lo hace
   otpPuedeReenviar() y, si el conductor insiste, el backend con su cooldown. */
.otp-reenvio-inhabilitado {
	color: #adb5bd !important;
	cursor: default;
	pointer-events: none;
}

.otp-espera {
	color: #adb5bd;
	margin-left: 6px;
}

.otp-separador {
	border-top: 1px solid #e9ecef;
	margin: 20px 0 14px 0;
}

.otp-alternativa {
	text-align: center;
	font-size: 0.9rem;
	color: #6c757d;
}

.otp-alternativa-enlace {
	display: block;
	margin-top: 4px;
	color: #0d6efd !important;
	text-decoration: none;
}

/* Las pantallas del conductor (misRemisiones.xhtml y confirmarEntrega.xhtml) no
   cargan esta hoja: tienen la suya en resources/css/conductor.css, para no
   arrastrar el tema de escritorio a un celular. */

@media (max-width: 640px) {

	.otp-inputs {
		gap: 6px;
	}

	.otp-inputs .otp-box {
		width: 40px !important;
		height: 48px;
		font-size: 1.2rem;
	}
}





.ui-fluid .ui-inputfield[size] {
	width: 100% !important;
}

.layout-wrapper .layout-menu-container {
	background-color: #114138 !important;
}

.layout-wrapper .layout-menu-container .layout-menu li>a {
	color: #fff !important;
}

.layout-menu-title {
	color: #6ebc3b !important;
}

.layout-wrapper .topbar {
	background-color: #006342;
}

.ui-fieldset {
	background: #f8f9fa !important;
}

.ui-button {
	background: #114138 !important;
	color: #ffffff !important;
	border: 1px solid #114138 !important;
}

.ui-button.ui-state-hover {
	background: #6ebc3b !important;
	border-color: #6ebc3b !important;
}

h1 {
	color: #02654A !important;
	font-size: 2rem !important;
	font-weight: bold !important;
	margin-bottom: 1rem !important;
}


.layout-wrapper .layout-footer .footer-text-left {
	color: #495057 !important;
}


.layout-wrapper .layout-footer .footer-text-right {
	color: #495057 !important;
}


.layout-wrapper.layout-static .layout-menu-container .layout-menu>li ul {
	background: #09332b !important;
}

.layout-wrapper.layout-static .layout-menu-container .layout-menu li.active-menuitem>a {
	background-color: #114138 !important;
}

.layout-wrapper .layout-footer {
	background-color: #F0F4F5 !important;
}


.layout-wrapper .topbar .topbar-logo {
	width: 181px !important;
}

/*Contactenos: boton del header, al lado del nombre de usuario.
  El topbar mide 50px con 10px de padding vertical, o sea 30px de area util, que es
  justo el alto del avatar de .profile. El boton se fija a esos mismos 30px y centra
  su contenido con flex, para que quede a ras del nombre de usuario sin margenes
  negativos que dependan del line-height del tema. */
.layout-wrapper .topbar .topbar-contactenos {
	float: right;
	display: inline-block;
	height: 30px;
	margin: 0 16px 0 0;
}

.layout-wrapper .topbar .topbar-contactenos .ui-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 12px;
	line-height: 1;
	vertical-align: top;
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	color: #ffffff !important;
}

.layout-wrapper .topbar .topbar-contactenos .ui-button .ui-button-text {
	padding: 0 0 0 8px;
	line-height: 1;
}

.layout-wrapper .topbar .topbar-contactenos .ui-button .ui-button-icon-left {
	position: static;
	margin: 0;
	top: auto;
	left: auto;
}

.layout-wrapper .topbar .topbar-contactenos .ui-button.ui-state-hover,
.layout-wrapper .topbar .topbar-contactenos .ui-button:hover {
	background: #6ebc3b !important;
	border-color: #6ebc3b !important;
}

@media (max-width: 640px) {
	.layout-wrapper .topbar .topbar-contactenos .ui-button .ui-button-text {
		display: none;
	}
}

.ui-datatable-frozenlayout-left {
	background-color: #f9f9f9;
	border-right: 2px solid #ccc;
}

.ui-datatable-scrollable-body {
	white-space: nowrap;
}

/*Menu*/
.layout-menu-container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	/* asegura que tome toda la altura del viewport */
}

.menu-scroll-content {
	flex-grow: 1;
	overflow-y: auto;
}

.logo-footer {
	padding: 4rem;
	text-align: center;
}


.small-font {
	font-size: 0.75rem;
	/* letra más pequeña */
}

.large-font {
	font-size: 1.25rem;
	/* letra más grande */
}


/*Tables*/

.columnIndexTable {
	width: 30px;
}

.cumplidosTable {
	font-size: 0.9em !important;
	text-align: center;
}

.despachosTable {
	font-size: 0.9em !important;
	text-align: center;
}

.despachosSinViajeTable {
	font-size: 0.9em !important;
	text-align: center;
}

.viajesTable {
	font-size: 0.9em !important;
	text-align: center;
}

.sinTiempoEntrega {
	background-color: #fff4f0 !important;
}

.viajeButton {
	width: 100px;
}

.remisionButton {
	width: 100px;
}


body .ui-accordion .ui-accordion-header {
	background: #f0f4f5 !important;
	border-color: #dee2e6 !important;
	color: #495057;
}

.body .ui-accordion .ui-accordion-header.ui-state-active {
	background: #e6f0ed !important;
	border: 1px solid #114138 !important;
	color: #495057;
}

body .ui-panel .ui-panel-titlebar {
	background: #f0f4f5 !important;
}

body .ui-toolbar {
	border: 0px solid #dee2e6 !important;
	background: #FFF !important;
	padding-top: 1em !important;
	padding-bottom: 0em !important;
}

.columnViajeTable {
	width: 16px !important;
	max-width: 16px !important;
}

.columnRemisionTable {
	width: 15px !important;
	max-width: 15px !important;
}

.columnNovedadTable {
	width: 0px !important;
}

.remisionDetalladaTable {
	background: #FFF !important;
}

/* Observaciones de la remisión (sección "Observaciones" del detalle). Son textos libres
   que vienen del Excel con saltos de línea y direcciones de correo largas: pre-wrap
   conserva los saltos y break-word evita que una sola palabra desborde el panel. */
.remisionObservacionTexto {
	margin-top: 0.35rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid #e3e8e5;
	border-radius: 6px;
	background: #fbfcfb;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	word-break: break-word;
}

.columnSmallNombreTable {
	width: 40px !important;
	text-align: center !important;
}

.columnMediumNombreTable {
	width: 70px !important;
	text-align: center !important;
}

.columnNombreTable {
	width: 100px !important;
	text-align: center !important;
}

.columnDireccionTable {
	width: 350px !important;
	text-align: left !important;
}


.columnNombreLeftTable {
	width: 100px !important;
	text-align: left !important;
	white-space: normal;
}


.columnEmailTable {
	font-size: 13px !important;
	width: 150px !important;
}

.column1AccionesTable {
	width: 9em !important;
	text-align: center !important;
}


.labelFormulario {
	color: #495057 !important;
	font-weight: bold !important;
}

.novedadLabel {
	width: 20%;
	text-align: left;
}

.novedadValue {
	width: 80%;
	text-align: left;
	white-space: normal;
}

/* Modal "Datos de quien recibio" en consulta detallada de remisiones. */
.dialog-quien-recibe .ui-dialog-content {
	padding: 0 !important;
	overflow: hidden;
}

.dialog-quien-recibe .ui-dialog-titlebar {
	background: #f8faf9 !important;
	border-bottom: 1px solid #e3ebe7 !important;
	color: #114138 !important;
	padding: 1rem 1.25rem !important;
}

.dialog-quien-recibe .ui-dialog-title {
	font-weight: 700 !important;
}

.quien-recibe-modal {
	background: #f4f6f5;
	padding: 1rem;
}

.quien-recibe-hero {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	border-radius: 10px;
	background: linear-gradient(135deg, #114138, #0b2e28);
	color: #fff;
	box-shadow: 0 10px 24px rgba(17, 65, 56, 0.2);
}

.quien-recibe-icono {
	width: 3.25rem;
	height: 3.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(110, 188, 59, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.24);
	flex: 0 0 auto;
}

.quien-recibe-icono .pi {
	font-size: 1.45rem;
	color: #fff;
}

.quien-recibe-hero-texto {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.quien-recibe-etiqueta {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #bfe3ad;
	margin-bottom: 0.25rem;
}

.quien-recibe-hero-texto strong {
	font-size: 1.15rem;
	line-height: 1.25;
	word-break: break-word;
}

.quien-recibe-resumen,
.quien-recibe-datos {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.85rem;
}

.quien-recibe-resumen {
	grid-template-columns: 1fr 1fr;
}

.quien-recibe-item,
.quien-recibe-dato {
	background: #fff;
	border: 1px solid #dfe8e3;
	border-radius: 10px;
	padding: 0.85rem;
	box-shadow: 0 6px 18px rgba(17, 65, 56, 0.06);
}

.quien-recibe-item {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
}

.quien-recibe-item span,
.quien-recibe-dato span:not(.quien-recibe-dato-icono) {
	color: #64736d;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.quien-recibe-item strong,
.quien-recibe-dato strong {
	color: #24352f;
	font-size: 0.96rem;
	line-height: 1.35;
	word-break: break-word;
}

.quien-recibe-item-estado {
	border-left: 4px solid #6ebc3b;
}

.quien-recibe-dato {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.quien-recibe-dato-icono {
	width: 2.35rem;
	height: 2.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #eef5ec;
	color: #114138;
	flex: 0 0 auto;
}

.quien-recibe-dato-icono .pi {
	font-size: 1rem;
}

body .boton-quien-recibe.ui-button {
	background: #114138 !important;
	border-color: #114138 !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	min-width: 7.5rem;
}

body .boton-quien-recibe.ui-button:hover {
	background: #0b2e28 !important;
	border-color: #0b2e28 !important;
}

@media (max-width: 640px) {

	.dialog-quien-recibe {
		width: calc(100vw - 1.5rem) !important;
		max-width: calc(100vw - 1.5rem) !important;
	}

	.quien-recibe-modal {
		padding: 0.85rem;
	}

	.quien-recibe-hero,
	.quien-recibe-dato {
		gap: 0.75rem;
	}

	.quien-recibe-resumen {
		grid-template-columns: 1fr;
	}
}

.icontitle {
	padding-top: 10px;
	color: #02654a;
	font-size: 20px !important;
}

.lucesStyle {
	margin-left: 26%;
}

.imagen_principal {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

.imagen_principal img {
	max-width: 100%;
	height: auto;
}

.container_dashboard {
	margin-top: 7%;
}

@media (max-width: 991px) {

	.login-body .left-side img {
		padding: 20px 0 0px 0 !important;
		width: 72% !important;
	}

	.toxement-wrapper {
		width: 170px;
		margin: 0 auto;
		text-align: center;
	}

	.toxement-container {
		box-sizing: border-box;
		padding-top: 243%;
		text-align: center;
		color: #4f575b;
	}

	.layout-wrapper .layout-footer .footer-text-left {
		width: 100% !important;
		text-align: center;
	}

	.layout-wrapper .layout-footer .footer-text-right {
		width: 100% !important;
		text-align: center;
	}

	.col-6 {
		flex: 0 0 auto;
		padding: .5rem;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		width: 99%;
	}

	.signature-box {
		height: 300px;
	}

}

/* ===========================================================================
 * Lenguaje visual transversal de EucoTracker
 *
 * La clase euco-app-body se agrega unicamente desde /WEB-INF/template.xhtml.
 * Esto moderniza las paginas internas sin interferir con accesos, conductor,
 * seguimiento publico ni picking, que conservan sus capas especializadas.
 * ======================================================================== */
body.euco-app-body {
	--euco-verde-900: #0b2e28;
	--euco-verde-800: #114138;
	--euco-verde-700: #175a4c;
	--euco-lima-500: #6ebc3b;
	--euco-lima-100: #eaf5e5;
	--euco-fondo: #f1f5f3;
	--euco-superficie: #ffffff;
	--euco-borde: #dce6df;
	--euco-texto: #24352f;
	--euco-texto-suave: #65756f;
	--euco-sombra: 0 8px 24px rgba(17, 65, 56, 0.08);
	background: var(--euco-fondo);
	color: var(--euco-texto);
}

/* Estructura, topbar y navegacion. */
body.euco-app-body .layout-wrapper {
	background: var(--euco-fondo);
}

body.euco-app-body .layout-wrapper .topbar {
	background: linear-gradient(105deg, var(--euco-verde-900), var(--euco-verde-800) 72%, #155447) !important;
	border-bottom: 3px solid var(--euco-lima-500);
	box-shadow: 0 7px 20px rgba(17, 65, 56, 0.2);
	padding: 5px 16px;
}

body.euco-app-body .layout-wrapper .topbar .topbar-logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 181px !important;
	height: 40px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

body.euco-app-body .layout-wrapper .topbar .topbar-logo .logo {
	width: 181px;
	max-width: 181px;
	height: auto;
	max-height: 40px;
	object-fit: contain;
}

body.euco-app-body .layout-wrapper .topbar #menu-button {
	height: 40px;
	line-height: 40px;
}

body.euco-app-body .layout-wrapper .topbar .topbar-user-zone {
	display: flex;
	float: right;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	height: 40px;
}

body.euco-app-body .layout-wrapper .topbar .topbar-user-zone .topbar-contactenos {
	display: flex;
	float: none;
	align-items: center;
	height: 40px;
	margin: 0;
}

body.euco-app-body .layout-wrapper .topbar .topbar-user-zone .topbar-contactenos .ui-button {
	height: 32px;
	min-height: 32px;
}

body.euco-app-body .layout-wrapper .topbar .topbar-user-zone .profile {
	display: inline-flex;
	float: none;
	align-items: center;
	gap: 9px;
	height: 40px;
}

body.euco-app-body .layout-wrapper .topbar .profile .username {
	color: rgba(255, 255, 255, 0.94);
	font-weight: 600;
}

body.euco-app-body .layout-wrapper .layout-menu-container {
	background: linear-gradient(180deg, var(--euco-verde-800), var(--euco-verde-900)) !important;
	box-shadow: 7px 0 22px rgba(11, 46, 40, 0.12);
}

body.euco-app-body .layout-wrapper .layout-menu-container .layout-menu li > a {
	border-left: 3px solid transparent;
	border-radius: 0 8px 8px 0;
	transition: background-color 0.16s ease, border-color 0.16s ease;
}

body.euco-app-body .layout-wrapper .layout-menu-container .layout-menu li > a:hover,
body.euco-app-body .layout-wrapper .layout-menu-container .layout-menu li.active-menuitem > a {
	border-left-color: var(--euco-lima-500);
	background: rgba(255, 255, 255, 0.1) !important;
}

body.euco-app-body .layout-content {
	background:
		radial-gradient(circle at 96% 2%, rgba(110, 188, 59, 0.08), transparent 24rem),
		var(--euco-fondo);
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding-left: 20px;
	border-bottom: 1px solid var(--euco-borde);
	border-left: 4px solid var(--euco-lima-500);
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 4px 14px rgba(17, 65, 56, 0.06);
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb .breadcrumb {
	display: block;
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--euco-texto-suave);
	font-weight: 600;
	text-align: left;
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb .breadcrumb .route-bar-breadcrumb {
	justify-content: flex-start;
	margin: 0;
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb .layout-breadcrumb-options {
	float: none;
	flex: 0 0 auto;
	margin-left: auto;
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb .layout-breadcrumb-options a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	min-height: 46px;
	color: var(--euco-verde-800);
}

body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb .layout-breadcrumb-options a:hover {
	background: var(--euco-lima-100);
	color: var(--euco-verde-800);
}

body.euco-app-body .layout-wrapper .layout-content .layout-content-container {
	box-sizing: border-box;
	width: 100%;
	padding: 22px;
}

/* Tarjetas, encabezados y bloques informativos. */
body.euco-app-body .layout-content-container .card,
body.euco-app-body .layout-content-container .ui-card {
	border: 1px solid var(--euco-borde);
	border-radius: 14px;
	background: var(--euco-superficie);
	box-shadow: var(--euco-sombra);
}

body.euco-app-body .layout-content-container > .card,
body.euco-app-body .layout-content-container > form > .card,
body.euco-app-body .layout-content-container > div > .card:first-child {
	border-top: 4px solid var(--euco-lima-500);
}

body.euco-app-body .layout-content-container h1 {
	margin: 0 0 1.15rem !important;
	color: var(--euco-verde-800) !important;
	font-size: 1.65rem !important;
	font-weight: 750 !important;
	line-height: 1.2;
}

body.euco-app-body .layout-content-container h2,
body.euco-app-body .layout-content-container h3 {
	color: var(--euco-texto);
	font-weight: 700;
}

body.euco-app-body .layout-content-container .icontitle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-right: 12px;
	padding: 0;
	border: 1px solid #cfe1c8;
	border-radius: 11px;
	background: var(--euco-lima-100);
	color: var(--euco-lima-500);
	font-size: 1.15rem !important;
}

body.euco-app-body .layout-content-container .labelFormulario,
body.euco-app-body .layout-content-container label {
	color: #40534c;
	font-weight: 650;
}

/* Formularios: tactiles, sobrios y consistentes. */
body.euco-app-body .ui-inputfield,
body.euco-app-body .ui-selectonemenu,
body.euco-app-body .ui-multiselect,
body.euco-app-body .ui-autocomplete-input,
body.euco-app-body .ui-calendar .ui-inputfield,
body.euco-app-body .ui-inputnumber-input {
	min-height: 42px;
	border-color: #cbd8d1 !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: var(--euco-texto) !important;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.euco-app-body textarea.ui-inputfield {
	min-height: 88px;
	line-height: 1.4;
}

body.euco-app-body .ui-inputfield:hover,
body.euco-app-body .ui-selectonemenu:hover,
body.euco-app-body .ui-multiselect:hover {
	border-color: #98b7a8 !important;
}

body.euco-app-body .ui-inputfield:focus,
body.euco-app-body .ui-inputfield.ui-state-focus,
body.euco-app-body .ui-selectonemenu.ui-state-focus,
body.euco-app-body .ui-multiselect.ui-state-focus {
	border-color: var(--euco-lima-500) !important;
	box-shadow: 0 0 0 3px rgba(110, 188, 59, 0.16) !important;
}

body.euco-app-body .ui-selectonemenu .ui-selectonemenu-trigger,
body.euco-app-body .ui-multiselect .ui-multiselect-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--euco-verde-800);
}

body.euco-app-body .ui-chkbox .ui-chkbox-box,
body.euco-app-body .ui-radiobutton .ui-radiobutton-box {
	border-color: #b8c9bf;
}

body.euco-app-body .ui-chkbox .ui-chkbox-box.ui-state-active,
body.euco-app-body .ui-radiobutton .ui-radiobutton-box.ui-state-active {
	border-color: var(--euco-lima-500) !important;
	background: var(--euco-lima-500) !important;
}

/* Botones: misma familia visual de picking y mis remisiones. */
body.euco-app-body .ui-button {
	min-height: 40px;
	border-radius: 9px !important;
	background: var(--euco-verde-800) !important;
	border-color: var(--euco-verde-800) !important;
	box-shadow: 0 4px 11px rgba(17, 65, 56, 0.13);
	font-weight: 650;
	transition: transform 0.12s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

body.euco-app-body .ui-button:hover,
body.euco-app-body .ui-button.ui-state-hover {
	background: var(--euco-verde-700) !important;
	border-color: var(--euco-verde-700) !important;
	box-shadow: 0 6px 15px rgba(17, 65, 56, 0.2);
}

body.euco-app-body .ui-button:active {
	transform: translateY(1px);
}

body.euco-app-body .ui-button.ui-button-outlined,
body.euco-app-body .ui-button.ui-button-secondary {
	background: #fff !important;
	border-color: #b9ccc1 !important;
	color: var(--euco-verde-800) !important;
	box-shadow: none;
}

body.euco-app-body .ui-button.ui-button-outlined:hover,
body.euco-app-body .ui-button.ui-button-secondary:hover {
	background: var(--euco-lima-100) !important;
	border-color: var(--euco-lima-500) !important;
}

body.euco-app-body .ui-button.ui-button-danger {
	background: #a84232 !important;
	border-color: #a84232 !important;
}

body.euco-app-body .ui-button.ui-button-icon-only {
	width: 40px;
	min-width: 40px;
	padding: 0 !important;
}

body.euco-app-body .ui-button.ui-state-disabled {
	box-shadow: none;
	opacity: 0.58;
}

/* Tablas: lectura limpia, filtros claros y seleccion visible. */
body.euco-app-body .ui-datatable {
	border: 1px solid var(--euco-borde);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(17, 65, 56, 0.05);
	overflow: hidden;
}

body.euco-app-body .ui-datatable .ui-datatable-header {
	padding: 12px 14px;
	border-color: var(--euco-borde);
	background: #f7faf8;
	color: var(--euco-verde-800);
	font-weight: 700;
}

body.euco-app-body .ui-datatable .ui-datatable-tablewrapper {
	overflow-x: auto;
}

body.euco-app-body .ui-datatable thead th {
	padding: 11px 9px !important;
	border-color: #d9e5dc !important;
	background: #edf5eb !important;
	color: var(--euco-verde-800) !important;
	font-size: 0.88rem;
	font-weight: 750;
	vertical-align: bottom;
}

/* PrimeFaces replica el encabezado dentro del cuerpo de las tablas desplazables
   para sincronizar anchos. La replica debe conservar altura cero. */
body.euco-app-body .ui-datatable .ui-datatable-scrollable-theadclone > tr > th {
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	padding: 0 !important;
	border-width: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
}

body.euco-app-body .ui-datatable .ui-datatable-scrollable-theadclone > tr > th > * {
	display: none !important;
}

/* Consulta de viajes: una sola tabla evita la cabecera tecnica duplicada que
   genera FrozenDataTable. Las tres primeras columnas permanecen visibles con
   position: sticky y el resto se consulta mediante desplazamiento horizontal. */
body.euco-app-body .viajes-consulta-table {
	width: 100%;
	font-size: 0.76rem !important;
}

body.euco-app-body .viajes-consulta-table .ui-datatable-tablewrapper {
	width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	scrollbar-gutter: stable;
}

body.euco-app-body .viajes-consulta-table .ui-datatable-tablewrapper > table {
	width: 3060px !important;
	min-width: 3060px !important;
	table-layout: fixed;
}

body.euco-app-body .ui-datatable.viajes-consulta-table thead th {
	padding: 7px 5px !important;
	font-size: 0.69rem;
	line-height: 1.15;
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: bottom;
}

body.euco-app-body .ui-datatable.viajes-consulta-table tbody td {
	padding: 7px 6px !important;
	font-size: 0.74rem;
	line-height: 1.25;
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

body.euco-app-body .viajes-consulta-table .ui-column-filter {
	width: 100% !important;
	min-width: 0 !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-nombre {
	width: 126px !important;
	min-width: 126px !important;
	max-width: 126px !important;
	position: sticky;
	left: 0;
	z-index: 3;
}

body.euco-app-body .viajes-consulta-table .viajes-col-remision {
	width: 116px !important;
	min-width: 116px !important;
	max-width: 116px !important;
	position: sticky;
	left: 126px;
	z-index: 3;
}

body.euco-app-body .viajes-consulta-table .viajes-col-novedades {
	width: 80px !important;
	min-width: 80px !important;
	max-width: 80px !important;
	position: sticky;
	left: 242px;
	z-index: 3;
	box-shadow: 5px 0 8px -7px rgba(17, 65, 56, 0.7);
}

body.euco-app-body .viajes-consulta-table thead .viajes-col-nombre,
body.euco-app-body .viajes-consulta-table thead .viajes-col-remision,
body.euco-app-body .viajes-consulta-table thead .viajes-col-novedades {
	z-index: 5;
	background: #edf5eb !important;
}

body.euco-app-body .viajes-consulta-table tbody .viajes-col-nombre,
body.euco-app-body .viajes-consulta-table tbody .viajes-col-remision,
body.euco-app-body .viajes-consulta-table tbody .viajes-col-novedades {
	background: #fff;
}

body.euco-app-body .viajes-consulta-table tbody tr:hover .viajes-col-nombre,
body.euco-app-body .viajes-consulta-table tbody tr:hover .viajes-col-remision,
body.euco-app-body .viajes-consulta-table tbody tr:hover .viajes-col-novedades {
	background: #f5faf3 !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-poblacion {
	width: 128px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-direccion {
	width: 180px !important;
	text-align: left !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-tipo {
	width: 112px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-cuenta,
body.euco-app-body .viajes-consulta-table .viajes-col-zona {
	width: 92px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-centro {
	width: 118px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-denominacion {
	width: 130px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-numero {
	width: 112px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-fecha {
	width: 118px !important;
}

body.euco-app-body .viajes-consulta-table .viajes-col-peso {
	width: 105px !important;
	white-space: nowrap;
}

body.euco-app-body .viajes-consulta-table .viajes-col-moneda {
	width: 132px !important;
	white-space: nowrap;
}

body.euco-app-body .viajes-consulta-table .viajes-col-descripcion {
	width: 185px !important;
	text-align: left !important;
}

body.euco-app-body .viajes-consulta-table .ui-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-height: 38px;
	padding: 7px 9px !important;
	font-size: 0.74rem;
	white-space: nowrap;
}

body.euco-app-body .viajes-consulta-table .ui-paginator {
	width: 100%;
}

@media (max-width: 900px) {
	body.euco-app-body .viajes-consulta-table .viajes-col-nombre {
		width: 110px !important;
		min-width: 110px !important;
		max-width: 110px !important;
	}

	body.euco-app-body .viajes-consulta-table .viajes-col-remision {
		width: 104px !important;
		min-width: 104px !important;
		max-width: 104px !important;
		left: 110px;
	}

	body.euco-app-body .viajes-consulta-table .viajes-col-novedades {
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		left: 214px;
	}
}

body.euco-app-body .ui-datatable thead th .ui-column-filter {
	min-height: 36px;
	margin-top: 7px;
}

body.euco-app-body .ui-datatable tbody td {
	padding: 10px 9px !important;
	border-color: #e6ede9 !important;
	color: #31453e;
}

body.euco-app-body .ui-datatable tbody tr > td {
	transition: background-color 0.14s ease, border-color 0.14s ease;
}

body.euco-app-body .ui-datatable tbody tr:hover > td {
	background: #f5faf3 !important;
}

body.euco-app-body .ui-datatable tbody tr.ui-state-highlight > td,
body.euco-app-body .ui-datatable tbody tr.ui-datatable-selectable.ui-state-highlight > td {
	border-color: #c9e5bd !important;
	background: #eaf6e5 !important;
	color: var(--euco-texto) !important;
}

body.euco-app-body .ui-datatable tbody tr.ui-state-highlight > td:first-child {
	box-shadow: inset 4px 0 0 var(--euco-lima-500);
}

/* Estado del numero generado en la planificacion: comunica que la alternativa
   ya se convirtio en un viaje sin competir visualmente con las acciones. */
body.euco-app-body .plan-viaje-numero-col {
	width: 154px;
	min-width: 154px;
	text-align: left !important;
}

body.euco-app-body .plan-viaje-creado {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: 132px;
	padding: 7px 10px 7px 8px;
	border: 1px solid #b9d9ad;
	border-left: 4px solid var(--euco-lima-500);
	border-radius: 10px;
	background: linear-gradient(110deg, #edf8e9, #fff 82%);
	box-shadow: 0 4px 11px rgba(17, 65, 56, 0.1);
	color: var(--euco-verde-800);
	white-space: nowrap;
}

body.euco-app-body .plan-viaje-creado-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	flex: 0 0 29px;
	border-radius: 50%;
	background: var(--euco-verde-800);
	color: #fff;
	box-shadow: 0 3px 7px rgba(17, 65, 56, 0.18);
}

body.euco-app-body .plan-viaje-creado-icono .pi {
	font-size: 0.78rem;
	font-weight: 700;
}

body.euco-app-body .plan-viaje-creado-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1px;
	line-height: 1.1;
}

body.euco-app-body .plan-viaje-creado-copy small {
	color: #527066;
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

body.euco-app-body .plan-viaje-creado-copy strong {
	color: var(--euco-verde-800);
	font-size: 0.91rem;
	font-weight: 800;
	letter-spacing: 0.012em;
}

@media (max-width: 900px) {
	body.euco-app-body .plan-viaje-numero-col {
		width: 140px;
		min-width: 140px;
	}

	body.euco-app-body .plan-viaje-creado {
		min-width: 118px;
		padding-right: 8px;
	}
}

/* Resultados de remisiones: tabla ejecutiva y avance logistico por etapas. */
body.euco-app-body .rem-resultados-encabezado {
	display: grid;
	grid-template-columns: 44px minmax(280px, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	margin: 2px 0 12px;
	padding: 12px 14px;
	border: 1px solid #d6e5dc;
	border-left: 5px solid var(--euco-lima-500);
	border-radius: 12px;
	background: linear-gradient(100deg, #f2f9ef, #fff 68%);
	box-shadow: 0 5px 14px rgba(17, 65, 56, 0.06);
}

body.euco-app-body .rem-resultados-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--euco-verde-800);
	color: #fff;
	box-shadow: 0 5px 11px rgba(17, 65, 56, 0.16);
}

body.euco-app-body .rem-resultados-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

body.euco-app-body .rem-resultados-copy strong {
	color: var(--euco-verde-800);
	font-size: 0.93rem;
	font-weight: 780;
}

body.euco-app-body .rem-resultados-copy small {
	color: var(--euco-texto-suave);
	font-size: 0.72rem;
	line-height: 1.3;
}

body.euco-app-body .rem-resultados-total {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 7px 10px;
	border-radius: 9px;
	background: #eaf5e5;
	color: var(--euco-verde-800);
	font-size: 0.96rem;
	font-weight: 800;
	white-space: nowrap;
}

body.euco-app-body .rem-resultados-total small {
	color: #667a72;
	font-size: 0.65rem;
	font-weight: 650;
}

body.euco-app-body .rem-resultados-leyenda {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding-left: 12px;
	border-left: 1px solid #d9e5de;
	color: #5d7169;
	font-size: 0.67rem;
	font-weight: 650;
	white-space: nowrap;
}

body.euco-app-body .rem-resultados-leyenda > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

body.euco-app-body .rem-leyenda-punto {
	width: 9px;
	height: 9px;
	border-radius: 50%;
}

body.euco-app-body .rem-leyenda-completo {
	background: var(--euco-lima-500);
}

body.euco-app-body .rem-leyenda-pendiente {
	border: 1px solid #aebbb5;
	background: #edf1ef;
}

body.euco-app-body .rem-leyenda-alerta {
	background: #c6543e;
}

body.euco-app-body .remisiones-resultados-table .ui-datatable-tablewrapper {
	overflow-x: auto;
	scrollbar-gutter: stable;
}

body.euco-app-body .ui-datatable.remisiones-resultados-table thead th {
	padding: 8px 6px !important;
	font-size: 0.7rem;
	line-height: 1.18;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .ui-datatable.remisiones-resultados-table tbody td {
	padding: 8px 7px !important;
	font-size: 0.73rem;
	line-height: 1.3;
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

body.euco-app-body .remisiones-resultados-table tbody tr:nth-child(even) > td {
	background: #f8fbf8;
}

body.euco-app-body .remisiones-resultados-table tbody tr:hover > td {
	background: #eff8eb !important;
}

body.euco-app-body .remisiones-resultados-table tbody tr.sinTiempoEntrega > td {
	background: #fff7f4 !important;
}

body.euco-app-body .remisiones-resultados-table tbody tr.sinTiempoEntrega > td:first-child {
	box-shadow: inset 4px 0 0 #c6543e;
}

body.euco-app-body .remisiones-resultados-table .ui-column-filter {
	width: 100% !important;
	min-width: 0 !important;
	min-height: 34px;
}

body.euco-app-body .rem-indice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #edf4ef;
	color: #536a61;
	font-size: 0.7rem;
	font-weight: 750;
}

body.euco-app-body .remisiones-resultados-table .rem-col-viaje .ui-button,
body.euco-app-body .remisiones-resultados-table .rem-col-remision .ui-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 37px;
	padding: 6px 8px !important;
	font-size: 0.72rem;
	white-space: nowrap;
}

body.euco-app-body .rem-fecha,
body.euco-app-body .rem-productos {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

body.euco-app-body .rem-fecha .pi {
	color: #6c837a;
	font-size: 0.74rem;
}

body.euco-app-body .rem-productos {
	min-width: 36px;
	padding: 5px 8px;
	border-radius: 8px;
	background: #edf5e9;
	color: var(--euco-verde-800);
	font-weight: 750;
}

body.euco-app-body .rem-productos .pi {
	font-size: 0.72rem;
}

body.euco-app-body .rem-estado {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 7px;
}

body.euco-app-body .rem-estado-track {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 2px 0;
}

body.euco-app-body .rem-estado-paso {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 0.62rem;
	transition: transform 0.14s ease;
}

body.euco-app-body .rem-estado-paso + .rem-estado-paso::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	width: 12px;
	height: 2px;
	background: #ccd6d1;
	transform: translateY(-50%);
}

body.euco-app-body .rem-estado-completo {
	border: 1px solid #5ba332;
	background: var(--euco-lima-500);
	color: #17380f;
	box-shadow: 0 3px 7px rgba(73, 138, 39, 0.2);
}

body.euco-app-body .rem-estado-completo::before,
body.euco-app-body .rem-estado-alerta::before {
	background: #82bd63 !important;
}

body.euco-app-body .rem-estado-pendiente {
	border: 1px solid #afbbb6;
	background: #f1f4f2;
	color: transparent;
}

body.euco-app-body .rem-estado-pendiente .pi {
	opacity: 0;
}

body.euco-app-body .rem-estado-alerta {
	border: 1px solid #b84632;
	background: #c6543e;
	color: #fff;
	box-shadow: 0 3px 7px rgba(168, 66, 50, 0.2);
}

body.euco-app-body .rem-estado-alerta .pi {
	display: none;
}

body.euco-app-body .rem-estado-alerta::after {
	content: "!";
	font-size: 0.72rem;
	font-weight: 850;
}

body.euco-app-body .rem-estado-etiqueta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	max-width: 176px;
	padding: 5px 8px;
	border-radius: 8px;
	background: #edf5e9;
	color: var(--euco-verde-800);
	font-size: 0.68rem;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
}

body.euco-app-body .rem-estado-etiqueta .pi {
	flex: 0 0 auto;
	font-size: 0.66rem;
}

body.euco-app-body .rem-peso-linea {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 7px;
	padding: 3px 0;
}

body.euco-app-body .rem-peso-linea + .rem-peso-linea {
	border-top: 1px solid #e5ece8;
}

body.euco-app-body .rem-peso-linea small {
	color: #73847e;
	font-size: 0.62rem;
	font-weight: 650;
}

body.euco-app-body .rem-peso-linea strong {
	color: #29463c;
	font-size: 0.7rem;
	font-weight: 720;
	white-space: nowrap;
}

body.euco-app-body .rem-cumplimiento {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 48px;
	padding: 5px 7px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 750;
}

body.euco-app-body .rem-cumplimiento-si {
	background: #e8f5e2;
	color: #317418;
}

body.euco-app-body .rem-cumplimiento-no {
	background: #fff0ec;
	color: #a84232;
}

@media (min-width: 641px) {
	body.euco-app-body .remisiones-resultados-table table {
		width: 2360px !important;
		min-width: 2360px !important;
		table-layout: fixed;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-indice {
		width: 45px !important;
		position: sticky;
		left: 0;
		z-index: 3;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-viaje {
		width: 138px !important;
		position: sticky;
		left: 45px;
		z-index: 3;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-remision {
		width: 138px !important;
		position: sticky;
		left: 183px;
		z-index: 3;
		box-shadow: 5px 0 8px -7px rgba(17, 65, 56, 0.65);
	}

	body.euco-app-body .remisiones-resultados-table thead .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table thead .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table thead .rem-col-remision {
		z-index: 5;
		background: #edf5eb !important;
	}

	body.euco-app-body .remisiones-resultados-table tbody .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table tbody .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table tbody .rem-col-remision {
		background: #fff;
	}

	body.euco-app-body .remisiones-resultados-table tbody tr:nth-child(even) .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table tbody tr:nth-child(even) .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table tbody tr:nth-child(even) .rem-col-remision {
		background: #f8fbf8;
	}

	body.euco-app-body .remisiones-resultados-table tbody tr:hover .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table tbody tr:hover .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table tbody tr:hover .rem-col-remision {
		background: #eff8eb !important;
	}

	body.euco-app-body .remisiones-resultados-table tbody tr.sinTiempoEntrega .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table tbody tr.sinTiempoEntrega .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table tbody tr.sinTiempoEntrega .rem-col-remision {
		background: #fff7f4 !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-fecha {
		width: 112px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-estado {
		width: 190px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-productos {
		width: 105px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-ubicacion {
		width: 145px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-cliente {
		width: 190px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-zona {
		width: 100px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-poblacion {
		width: 115px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-transportadora {
		width: 185px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-peso {
		width: 145px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-fecha-entrega {
		width: 140px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-dias {
		width: 95px !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-cumplimiento {
		width: 90px !important;
	}
}

@media (max-width: 1100px) {
	body.euco-app-body .rem-resultados-encabezado {
		grid-template-columns: 44px minmax(0, 1fr) auto;
	}

	body.euco-app-body .rem-resultados-leyenda {
		grid-column: 2 / -1;
		padding: 8px 0 0;
		border-top: 1px solid #d9e5de;
		border-left: 0;
	}
}

@media (max-width: 640px) {
	body.euco-app-body .rem-resultados-encabezado {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 10px;
	}

	body.euco-app-body .rem-resultados-icono {
		width: 40px;
		height: 40px;
	}

	body.euco-app-body .rem-resultados-total,
	body.euco-app-body .rem-resultados-leyenda {
		grid-column: 1 / -1;
	}

	body.euco-app-body .rem-resultados-leyenda {
		flex-wrap: wrap;
		white-space: normal;
	}

	body.euco-app-body .remisiones-resultados-table table {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.euco-app-body .remisiones-resultados-table .rem-col-indice,
	body.euco-app-body .remisiones-resultados-table .rem-col-viaje,
	body.euco-app-body .remisiones-resultados-table .rem-col-remision {
		position: static;
	}
}

/* Consulta detallada de viajes: resumen ejecutivo y lectura por indicadores. */
body.euco-app-body .viaje-detalle-card {
	padding: 18px !important;
}

body.euco-app-body .viaje-detalle-hero {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 15px;
	padding: 18px 20px;
	border-radius: 14px;
	background: linear-gradient(115deg, var(--euco-verde-800), #176252);
	box-shadow: 0 10px 24px rgba(17, 65, 56, 0.2);
	color: #fff;
}

body.euco-app-body .viaje-detalle-hero-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.11);
	color: #c7efb7;
}

body.euco-app-body .viaje-detalle-hero-icono .pi {
	font-size: 1.45rem;
}

body.euco-app-body .viaje-detalle-hero-copy {
	min-width: 0;
}

body.euco-app-body .viaje-detalle-eyebrow {
	display: block;
	margin-bottom: 3px;
	color: #c7efb7;
	font-size: 0.69rem;
	font-weight: 750;
	letter-spacing: 0.085em;
	text-transform: uppercase;
}

body.euco-app-body .layout-content-container .viaje-detalle-hero h1 {
	margin: 0 !important;
	color: #fff !important;
	font-size: 1.55rem !important;
	line-height: 1.16;
}

body.euco-app-body .viaje-detalle-hero-copy p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.8rem;
}

body.euco-app-body .viaje-detalle-estado {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	white-space: nowrap;
}

body.euco-app-body .viaje-detalle-estado .pi {
	color: #b8ec9f;
}

body.euco-app-body .viaje-detalle-contenido {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}

body.euco-app-body .viaje-detalle-panel.ui-panel {
	margin: 0;
	overflow: hidden;
	border-color: #d6e4dc !important;
	box-shadow: 0 5px 15px rgba(17, 65, 56, 0.05);
}

body.euco-app-body .viaje-detalle-panel > .ui-panel-titlebar {
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #dbe7e0 !important;
	border-radius: 0 !important;
	background: linear-gradient(90deg, #edf6ea, #f8fbf7) !important;
}

body.euco-app-body .viaje-detalle-panel > .ui-panel-titlebar .ui-panel-title {
	display: block;
	width: 100%;
}

body.euco-app-body .viaje-panel-encabezado {
	display: grid;
	grid-template-columns: 37px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 13px;
}

body.euco-app-body .viaje-panel-encabezado > .pi {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	border-radius: 10px;
	background: var(--euco-verde-800);
	color: #fff;
	font-size: 0.9rem;
	box-shadow: 0 4px 9px rgba(17, 65, 56, 0.14);
}

body.euco-app-body .viaje-panel-encabezado > span:not(.viaje-panel-conteo) {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

body.euco-app-body .viaje-panel-encabezado strong {
	color: var(--euco-verde-800);
	font-size: 0.88rem;
	font-weight: 780;
}

body.euco-app-body .viaje-panel-encabezado small {
	color: var(--euco-texto-suave);
	font-size: 0.7rem;
	font-weight: 500;
}

body.euco-app-body .viaje-panel-encabezado-conteo {
	grid-template-columns: 37px minmax(0, 1fr) auto;
}

body.euco-app-body .viaje-panel-conteo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 31px;
	height: 31px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--euco-lima-500);
	color: #17380f;
	font-size: 0.75rem;
	font-weight: 800;
}

body.euco-app-body .viaje-detalle-panel > .ui-panel-content {
	padding: 14px !important;
	border: 0 !important;
}

body.euco-app-body .viaje-datos-grid {
	display: grid;
	grid-template-columns: minmax(230px, 1.5fr) repeat(4, minmax(145px, 1fr));
	gap: 11px;
}

body.euco-app-body .viaje-dato {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 72px;
	padding: 11px 12px;
	border: 1px solid #dce7e1;
	border-radius: 11px;
	background: #fbfdfb;
}

body.euco-app-body .viaje-dato-transportadora {
	border-left: 4px solid var(--euco-lima-500);
	background: linear-gradient(110deg, #f1f9ed, #fff);
}

body.euco-app-body .viaje-dato-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border-radius: 9px;
	background: #eaf4e6;
	color: var(--euco-verde-800);
}

body.euco-app-body .viaje-dato-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

body.euco-app-body .viaje-dato-copy small,
body.euco-app-body .viaje-costo-item > small {
	color: #687c75;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

body.euco-app-body .viaje-dato-copy strong {
	color: #203d34;
	font-size: 0.8rem;
	font-weight: 720;
	line-height: 1.28;
	overflow-wrap: anywhere;
}

body.euco-app-body .viaje-dato-unidad {
	color: #657a72;
	font-size: 0.67rem;
	font-weight: 650;
}

body.euco-app-body .viaje-calculo-estado {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	width: max-content;
	font-size: 0.76rem;
	font-weight: 720;
}

body.euco-app-body .viaje-calculo-activo {
	color: #317418;
}

body.euco-app-body .viaje-calculo-inactivo {
	color: #60736c;
}

body.euco-app-body .viaje-costos-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 11px;
}

body.euco-app-body .viaje-costo-item {
	position: relative;
	display: flex;
	min-height: 105px;
	padding: 15px 14px;
	border: 1px solid #dce7e1;
	border-radius: 11px;
	background: #fbfdfb;
	flex-direction: column;
	justify-content: center;
}

body.euco-app-body .viaje-costo-icono {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	border-radius: 9px;
	background: #eaf4e6;
	color: var(--euco-verde-800);
}

body.euco-app-body .viaje-costo-item > strong {
	margin-top: 8px;
	color: var(--euco-verde-800);
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

body.euco-app-body .viaje-costo-item > strong > span {
	font-size: 0.72rem;
	font-weight: 650;
}

body.euco-app-body .viaje-costo-ayuda {
	margin-top: 5px;
	color: #7b8b85;
	font-size: 0.66rem;
}

body.euco-app-body .viaje-costo-deduccion {
	border-left: 4px solid #d8aa43;
}

body.euco-app-body .viaje-costo-adicional {
	border-left: 4px solid #75b94a;
}

body.euco-app-body .viaje-costo-total {
	border-color: var(--euco-verde-800);
	background: linear-gradient(120deg, var(--euco-verde-800), #176252);
	box-shadow: 0 7px 16px rgba(17, 65, 56, 0.18);
}

body.euco-app-body .viaje-costo-total > small,
body.euco-app-body .viaje-costo-total > strong {
	color: #fff;
}

body.euco-app-body .viaje-costo-total .viaje-costo-icono {
	background: rgba(255, 255, 255, 0.13);
	color: #c7efb7;
}

body.euco-app-body .viaje-tabla-contenedor {
	width: 100%;
	min-width: 0;
}

body.euco-app-body .viaje-remisiones-panel,
body.euco-app-body .viaje-remisiones-panel > .ui-panel-content,
body.euco-app-body .viaje-detalle-remisiones-table,
body.euco-app-body .viaje-detalle-remisiones-table .ui-datatable-tablewrapper {
	width: 100%;
	max-width: 100%;
}

body.euco-app-body .viaje-detalle-remisiones-table .ui-datatable-tablewrapper,
body.euco-app-body .viaje-detalle-adicionales-table .ui-datatable-tablewrapper {
	overflow-x: auto;
	scrollbar-gutter: stable;
}

body.euco-app-body .viaje-detalle-remisiones-table table {
	width: 100% !important;
	min-width: 1370px !important;
	table-layout: fixed;
}

body.euco-app-body .ui-datatable.viaje-detalle-remisiones-table thead th,
body.euco-app-body .ui-datatable.viaje-detalle-adicionales-table thead th {
	padding: 8px 6px !important;
	font-size: 0.7rem;
	line-height: 1.18;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .ui-datatable.viaje-detalle-remisiones-table tbody td,
body.euco-app-body .ui-datatable.viaje-detalle-adicionales-table tbody td {
	padding: 8px 7px !important;
	font-size: 0.74rem;
	line-height: 1.25;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-indice {
	width: 45px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-remision {
	width: 145px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-poblacion {
	width: 135px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-direccion {
	width: 225px !important;
	text-align: left !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-zona {
	width: 105px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-numero {
	width: 120px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-fecha {
	width: 140px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-peso {
	width: 100px !important;
	white-space: nowrap;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-unidad {
	width: 75px !important;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-flete {
	width: 110px !important;
	white-space: nowrap;
}

body.euco-app-body .viaje-detalle-remisiones-table .viaje-rem-col-remision .ui-button {
	width: 100%;
	min-height: 36px;
	padding: 6px 8px !important;
	font-size: 0.72rem;
}

body.euco-app-body .viaje-detalle-adicionales-table table {
	width: 100% !important;
	min-width: 620px;
	table-layout: fixed;
}

body.euco-app-body .viaje-detalle-acciones {
	display: flex;
	justify-content: flex-end;
	gap: 9px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #e0e9e4;
}

body.euco-app-body .viaje-detalle-acciones .ui-button {
	min-width: 120px;
}

@media (max-width: 1200px) {
	body.euco-app-body .viaje-datos-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.euco-app-body .viaje-dato-transportadora {
		grid-column: span 2;
	}
}

@media (max-width: 900px) {
	body.euco-app-body .viaje-costos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.euco-app-body .viaje-detalle-card {
		padding: 10px !important;
	}

	body.euco-app-body .viaje-detalle-hero {
		grid-template-columns: 46px minmax(0, 1fr);
		padding: 14px;
	}

	body.euco-app-body .viaje-detalle-hero-icono {
		width: 46px;
		height: 46px;
	}

	body.euco-app-body .viaje-detalle-estado {
		grid-column: 1 / -1;
		justify-self: start;
	}

	body.euco-app-body .viaje-datos-grid,
	body.euco-app-body .viaje-costos-grid {
		grid-template-columns: 1fr;
	}

	body.euco-app-body .viaje-dato-transportadora {
		grid-column: auto;
	}

	body.euco-app-body .viaje-panel-encabezado small {
		display: none;
	}

	body.euco-app-body .viaje-detalle-acciones {
		flex-direction: column;
	}

	body.euco-app-body .viaje-detalle-acciones .ui-button {
		width: 100%;
	}
}

/* Detalle expandido de la planificacion de viajes. */
body.euco-app-body .remisionesConformadasTable {
	padding: 14px !important;
	border: 1px solid #cce4c3;
	border-left: 5px solid var(--euco-lima-500);
	border-radius: 13px;
	background: linear-gradient(105deg, #e4f5dc, #f8fbf7 62%, #fff);
	color: var(--euco-texto);
}

body.euco-app-body .remisiones-asociadas-encabezado {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin: 12px 0 9px;
	padding: 8px 10px;
	border: 1px solid #d8e8d2;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.82);
}

body.euco-app-body .remisiones-asociadas-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: var(--euco-verde-800);
	color: #fff;
}

body.euco-app-body .remisiones-asociadas-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	line-height: 1.25;
}

body.euco-app-body .remisiones-asociadas-copy strong {
	color: var(--euco-verde-800);
	font-size: 0.9rem;
}

body.euco-app-body .remisiones-asociadas-copy small {
	margin-top: 2px;
	color: var(--euco-texto-suave);
	font-size: 0.74rem;
}

body.euco-app-body .remisiones-asociadas-total {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--euco-lima-500);
	color: #17380f;
	font-size: 0.78rem;
	font-weight: 800;
}

body.euco-app-body .remisiones-asociadas-table table {
	width: 100% !important;
	min-width: 960px;
	table-layout: fixed;
}

body.euco-app-body .remisiones-asociadas-table thead th {
	padding: 7px 6px !important;
	font-size: 0.72rem;
	line-height: 1.15;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .remisiones-asociadas-table tbody td {
	padding: 7px 6px !important;
	font-size: 0.76rem;
	line-height: 1.25;
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: top;
}

body.euco-app-body .remisiones-asociadas-table .rem-asoc-col-documento,
body.euco-app-body .remisiones-asociadas-table .rem-asoc-col-entrega,
body.euco-app-body .remisiones-asociadas-table .rem-asoc-col-peso {
	white-space: nowrap;
}

body.euco-app-body .remisiones-asociadas-table .rem-asoc-col-peso {
	text-align: right;
}

body.euco-app-body .ui-paginator {
	padding: 9px;
	border-color: var(--euco-borde) !important;
	background: #fbfdfb !important;
}

body.euco-app-body .ui-paginator .ui-paginator-page,
body.euco-app-body .ui-paginator .ui-paginator-first,
body.euco-app-body .ui-paginator .ui-paginator-prev,
body.euco-app-body .ui-paginator .ui-paginator-next,
body.euco-app-body .ui-paginator .ui-paginator-last {
	border-radius: 8px;
}

body.euco-app-body .ui-paginator .ui-state-active {
	background: var(--euco-lima-500) !important;
	color: #17380f !important;
}

/* Pestañas, acordeones, paneles y cuadros de dialogo. */
body.euco-app-body .ui-tabs {
	border: 0;
	background: transparent;
}

body.euco-app-body .ui-tabs .ui-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 5px;
	border: 1px solid var(--euco-borde);
	border-radius: 12px;
	background: #f7faf8;
}

body.euco-app-body .ui-tabs .ui-tabs-nav li {
	margin: 0;
	border: 1px solid transparent !important;
	border-radius: 9px;
	background: transparent;
}

body.euco-app-body .ui-tabs .ui-tabs-nav li a {
	min-height: 42px;
	padding: 11px 15px;
	border-radius: 9px;
	color: #586b65;
	font-weight: 650;
}

body.euco-app-body .ui-tabs .ui-tabs-nav li.ui-state-active {
	border-color: var(--euco-verde-800) !important;
	background: var(--euco-verde-800) !important;
	box-shadow: 0 5px 14px rgba(17, 65, 56, 0.18);
}

body.euco-app-body .ui-tabs .ui-tabs-nav li.ui-state-active a {
	color: #fff !important;
}

body.euco-app-body .ui-tabs .ui-tabs-panels {
	padding-top: 14px;
	border: 0;
	background: transparent;
}

body.euco-app-body .ui-fieldset,
body.euco-app-body .ui-panel {
	border: 1px solid var(--euco-borde) !important;
	border-radius: 12px;
	background: #fff !important;
}

body.euco-app-body .ui-fieldset .ui-fieldset-legend,
body.euco-app-body .ui-panel .ui-panel-titlebar {
	border-color: var(--euco-borde) !important;
	background: #f3f8f1 !important;
	color: var(--euco-verde-800) !important;
	font-weight: 700;
}

body.euco-app-body .ui-accordion .ui-accordion-header {
	margin-top: 6px;
	border: 1px solid var(--euco-borde) !important;
	border-radius: 9px;
	background: #f7faf8 !important;
	color: var(--euco-texto) !important;
}

body.euco-app-body .ui-accordion .ui-accordion-header.ui-state-active {
	border-color: var(--euco-lima-500) !important;
	background: var(--euco-lima-100) !important;
	color: var(--euco-verde-800) !important;
}

body.euco-app-body .ui-dialog {
	border: 1px solid var(--euco-borde);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(11, 46, 40, 0.24);
	overflow: hidden;
}

body.euco-app-body .ui-dialog .ui-dialog-titlebar {
	padding: 14px 18px;
	border-bottom: 1px solid var(--euco-borde);
	background: #f7faf8;
	color: var(--euco-verde-800);
}

body.euco-app-body .ui-dialog .ui-dialog-title {
	font-weight: 750;
}

body.euco-app-body .ui-dialog .ui-dialog-footer {
	border-top: 1px solid var(--euco-borde);
	background: #fbfdfb;
}

body.euco-app-body .ui-toolbar {
	padding: 10px 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.euco-app-body .ui-messages > div {
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(17, 65, 56, 0.06);
}

body.euco-app-body .layout-wrapper .layout-footer {
	padding: 17px 24px;
	border-top: 3px solid var(--euco-lima-500);
	background: #fff !important;
	box-shadow: 0 -5px 16px rgba(17, 65, 56, 0.05);
}

@media (max-width: 991px) {
	body.euco-app-body .layout-wrapper .layout-content .layout-content-container {
		padding: 14px;
	}

	body.euco-app-body .layout-content-container .card {
		padding: 1.1rem;
		border-radius: 12px;
	}

	body.euco-app-body .layout-content-container h1 {
		font-size: 1.4rem !important;
	}

	body.euco-app-body .ui-datatable {
		box-shadow: none;
	}
}

@media (max-width: 640px) {
	body.euco-app-body .layout-wrapper .layout-content .layout-breadcrumb {
		min-height: 44px;
		padding-left: 12px;
	}

	body.euco-app-body .layout-wrapper .layout-content .layout-content-container {
		padding: 10px;
	}

	body.euco-app-body .layout-content-container .card {
		padding: 0.9rem;
	}

	body.euco-app-body .layout-content-container .icontitle {
		width: 38px;
		height: 38px;
		margin-right: 9px;
	}

	body.euco-app-body .ui-tabs .ui-tabs-nav {
		flex-direction: column;
	}

	body.euco-app-body .ui-tabs .ui-tabs-nav li,
	body.euco-app-body .ui-tabs .ui-tabs-nav li a {
		width: 100%;
		box-sizing: border-box;
	}

	body.euco-app-body .ui-button {
		min-height: 42px;
	}
}

/* Modal de edición de transportadoras: contenido compacto y acciones visibles. */
body.euco-app-body .transportadora-dialog {
	width: min(94vw, 980px) !important;
	max-width: 980px !important;
	max-height: calc(100vh - 24px) !important;
	border-top: 4px solid var(--euco-lima-500) !important;
}

body.euco-app-body .transportadora-dialog .ui-dialog-titlebar {
	padding: 12px 18px !important;
	background: linear-gradient(100deg, #f2f8ef 0%, #fbfdfb 70%) !important;
}

body.euco-app-body .transportadora-dialog .ui-dialog-title {
	display: block;
	overflow: hidden;
	color: var(--euco-verde-800) !important;
	font-size: 1.08rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.euco-app-body .transportadora-dialog .ui-dialog-content {
	max-height: calc(100vh - 154px) !important;
	box-sizing: border-box;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	padding: 12px 16px 14px !important;
	background: #f4f7f5;
	overscroll-behavior: contain;
}

body.euco-app-body .transportadora-dialog .ui-dialog-footer {
	position: relative;
	z-index: 2;
	padding: 10px 16px !important;
	background: #fff !important;
	box-shadow: 0 -8px 20px rgba(17, 65, 56, 0.08);
}

.transportadora-dialog-contenido,
.transportadora-formulario {
	width: 100%;
	box-sizing: border-box;
}

.transportadora-formulario {
	display: grid;
	gap: 10px;
}

.transportadora-formulario > .ui-messages {
	margin: 0;
}

.transportadora-modal-intro {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid #cfe0d3;
	border-left: 4px solid var(--euco-lima-500);
	border-radius: 10px;
	background: linear-gradient(105deg, #edf6e9 0%, #fff 76%);
	color: var(--euco-verde-800);
}

.transportadora-modal-icono {
	display: inline-flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--euco-verde-800);
	color: #fff;
	box-shadow: 0 6px 14px rgba(17, 65, 56, 0.18);
}

.transportadora-modal-intro > span:last-child,
.transportadora-seccion-titulo > span,
.transportadora-sello-vacio > span,
.transportadora-estado-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.transportadora-modal-intro strong {
	font-size: 0.92rem;
}

.transportadora-modal-intro small,
.transportadora-seccion-titulo small,
.transportadora-sello-vacio small,
.transportadora-estado-copy small {
	color: #63736d;
	font-size: 0.73rem;
	font-weight: 400;
	line-height: 1.3;
}

.transportadora-seccion {
	min-width: 0;
	box-sizing: border-box;
	padding: 11px 12px 12px;
	border: 1px solid var(--euco-borde);
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(17, 65, 56, 0.035);
}

.transportadora-seccion-titulo {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--euco-verde-800);
}

.transportadora-seccion-titulo > i {
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--euco-lima-100);
	color: var(--euco-verde-800);
}

.transportadora-seccion-titulo strong {
	font-size: 0.84rem;
}

.transportadora-campos-grid,
.transportadora-credencial-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 12px;
}

.transportadora-campo {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
	margin: 0 !important;
}

.transportadora-campo-ancho {
	grid-column: 1 / -1;
}

body.euco-app-body .transportadora-dialog .transportadora-campo .labelFormulario {
	font-size: 0.76rem;
	line-height: 1.2;
}

body.euco-app-body .transportadora-dialog .transportadora-campo .ui-inputfield {
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 0.82rem;
}

body.euco-app-body .transportadora-dialog .transportadora-campo-solo-lectura,
body.euco-app-body .transportadora-dialog .ui-inputfield[readonly] {
	border-style: dashed !important;
	background: #f4f7f5 !important;
	color: #53625d !important;
}

.transportadora-ayuda {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	color: #5e6c67;
	font-size: 0.7rem;
	line-height: 1.35;
}

.transportadora-ayuda > i {
	margin-top: 1px;
	color: var(--euco-verde-600);
}

.transportadora-operacion-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
	gap: 10px;
}

.transportadora-sello-panel {
	display: grid;
	gap: 8px;
}

.transportadora-sello-actual {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid #dbe6de;
	border-radius: 9px;
	background: #f8fbf8;
}

.transportadora-sello-imagen {
	display: block;
	max-width: 150px;
	max-height: 72px;
	padding: 3px;
	border: 1px solid #d1ddd4;
	border-radius: 7px;
	background: #fff;
	object-fit: contain;
}

.transportadora-sello-vacio {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 7px 9px;
	border: 1px dashed #c8d7cc;
	border-radius: 9px;
	background: #f8faf9;
	color: #53645e;
}

.transportadora-sello-vacio > i {
	font-size: 1.05rem;
	color: var(--euco-verde-600);
}

.transportadora-sello-vacio strong,
.transportadora-estado-copy strong {
	font-size: 0.77rem;
}

body.euco-app-body .transportadora-sello-upload {
	border: 0 !important;
}

body.euco-app-body .transportadora-sello-upload .ui-fileupload-buttonbar {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.euco-app-body .transportadora-sello-upload .ui-fileupload-content {
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.euco-app-body .transportadora-sello-upload .ui-fileupload-content:empty {
	display: none;
}

body.euco-app-body .transportadora-sello-upload .ui-fileupload-choose,
body.euco-app-body .transportadora-btn-eliminar-sello {
	min-height: 38px;
	padding: 0 12px;
	font-size: 0.76rem;
}

.transportadora-estado-card {
	display: flex;
	flex-direction: column;
}

.transportadora-estado-control {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 62px;
	padding: 10px;
	border-radius: 9px;
	background: #f4f8f2;
}

body.euco-app-body .transportadora-estado-boton {
	flex: 0 0 104px;
	width: 104px !important;
	min-height: 40px;
}

.transportadora-credencial-card {
	border-left: 4px solid var(--euco-verde-800);
}

.transportadora-dialog-acciones {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

body.euco-app-body .transportadora-dialog-acciones .ui-button {
	min-width: 142px;
	min-height: 42px;
	margin: 0 !important;
}

body.euco-app-body .transportadora-btn-guardar {
	border-color: var(--euco-verde-800) !important;
	background: var(--euco-verde-800) !important;
	box-shadow: 0 6px 14px rgba(17, 65, 56, 0.18);
}

@media (max-width: 760px) {
	body.euco-app-body .transportadora-dialog {
		width: 96vw !important;
		max-height: calc(100vh - 12px) !important;
	}

	body.euco-app-body .transportadora-dialog .ui-dialog-content {
		max-height: calc(100vh - 142px) !important;
		padding: 10px !important;
	}

	.transportadora-operacion-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.transportadora-campos-grid,
	.transportadora-credencial-grid {
		grid-template-columns: 1fr;
	}

	.transportadora-campo-ancho {
		grid-column: auto;
	}

	.transportadora-modal-intro small,
	.transportadora-seccion-titulo small {
		display: none;
	}

	.transportadora-dialog-acciones {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	body.euco-app-body .transportadora-dialog-acciones .ui-button {
		width: 100%;
	}
}

/* Acciones de sellos: dos controles equivalentes, alineados en una sola fila. */
body.euco-app-body .sellos-tabla .sellos-col-acciones {
	width: 19rem !important;
	min-width: 19rem;
	box-sizing: border-box;
	text-align: center !important;
}

.sellos-acciones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 18rem;
	margin: 0 auto;
}

body.euco-app-body .sellos-acciones .sellos-accion-btn {
	width: 100%;
	min-width: 0;
	min-height: 40px;
	margin: 0 !important;
	padding: 0 10px !important;
	white-space: nowrap;
}

body.euco-app-body .sellos-acciones .sellos-accion-btn .ui-button-text {
	font-size: 0.76rem;
	line-height: 1.1;
}

body.euco-app-body .sellos-acciones .sellos-accion-principal {
	border-color: var(--euco-verde-800) !important;
	background: var(--euco-verde-800) !important;
	box-shadow: 0 5px 12px rgba(17, 65, 56, 0.16);
}

@media (max-width: 900px) {
	body.euco-app-body .sellos-tabla .sellos-col-acciones {
		width: 100% !important;
		min-width: 0;
	}

	.sellos-acciones {
		max-width: 19rem;
		margin-right: 0;
	}
}

@media (max-width: 420px) {
	.sellos-acciones {
		grid-template-columns: 1fr;
		max-width: 11rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.euco-app-body *,
	body.euco-app-body *::before,
	body.euco-app-body *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ===========================================================================
 * Consultas compactas de remisiones y viajes
 *
 * Consolida campos relacionados dentro de una misma celda para mejorar la
 * lectura, aumentar la tipografia y eliminar el desplazamiento horizontal en
 * el espacio habitual de escritorio. El modo reflow de PrimeFaces conserva la
 * adaptacion para pantallas pequenas.
 * ======================================================================== */
body.euco-app-body .remisiones-tabla-compacta .ui-datatable-tablewrapper,
body.euco-app-body .viajes-tabla-compacta .ui-datatable-tablewrapper {
	width: 100%;
	overflow-x: hidden;
	scrollbar-gutter: auto;
}

body.euco-app-body .remisiones-tabla-compacta .ui-datatable-tablewrapper > table,
body.euco-app-body .viajes-tabla-compacta .ui-datatable-tablewrapper > table {
	width: 100% !important;
	min-width: 0 !important;
	table-layout: fixed;
}

body.euco-app-body .ui-datatable.remisiones-tabla-compacta thead th,
body.euco-app-body .ui-datatable.viajes-tabla-compacta thead th {
	padding: 10px 7px !important;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	vertical-align: bottom;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .ui-datatable.remisiones-tabla-compacta tbody td,
body.euco-app-body .ui-datatable.viajes-tabla-compacta tbody td {
	padding: 10px 8px !important;
	font-size: 0.84rem;
	line-height: 1.35;
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.euco-app-body .remisiones-tabla-compacta .ui-column-filter,
body.euco-app-body .viajes-tabla-compacta .ui-column-filter {
	min-width: 0 !important;
	width: 100% !important;
	min-height: 36px;
	font-size: 0.82rem;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-indice {
	position: static;
	width: 3% !important;
	min-width: 0 !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-viaje,
body.euco-app-body .remisiones-tabla-compacta .rem-col-remision {
	position: static;
	width: 9% !important;
	min-width: 0 !important;
	max-width: none !important;
	box-shadow: none;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-estado {
	width: 14% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-ruta {
	width: 15% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-cliente {
	width: 14% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-transportadora {
	width: 11% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-peso {
	width: 9% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-fechas {
	width: 16% !important;
}

body.euco-app-body .remisiones-tabla-compacta .rem-col-viaje .ui-button,
body.euco-app-body .remisiones-tabla-compacta .rem-col-remision .ui-button {
	min-height: 38px;
	padding: 7px 6px !important;
	font-size: 0.79rem;
}

body.euco-app-body .remisiones-tabla-compacta .rem-estado {
	gap: 6px;
}

body.euco-app-body .remisiones-tabla-compacta .rem-estado-track {
	gap: 9px;
}

body.euco-app-body .remisiones-tabla-compacta .rem-estado-paso {
	width: 22px;
	height: 22px;
}

body.euco-app-body .remisiones-tabla-compacta .rem-estado-paso + .rem-estado-paso::before {
	width: 9px;
}

body.euco-app-body .remisiones-tabla-compacta .rem-estado-etiqueta {
	max-width: 100%;
	font-size: 0.76rem;
}

body.euco-app-body .rem-avance-productos {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #51665e;
	font-size: 0.72rem;
}

body.euco-app-body .rem-avance-productos strong {
	color: var(--euco-verde-800);
	font-size: 0.82rem;
}

body.euco-app-body .rem-ruta,
body.euco-app-body .viajes-ruta {
	display: grid;
	gap: 7px;
}

body.euco-app-body .rem-ruta-linea,
body.euco-app-body .viajes-ruta > span {
	display: grid;
	grid-template-columns: 15px minmax(0, 1fr);
	column-gap: 5px;
	align-items: baseline;
	padding: 2px 0;
}

body.euco-app-body .rem-ruta-linea + .rem-ruta-linea,
body.euco-app-body .viajes-ruta > span + span {
	padding-top: 7px;
	border-top: 1px solid #e3ebe6;
}

body.euco-app-body .rem-ruta-linea .pi,
body.euco-app-body .viajes-ruta .pi {
	grid-row: 1 / span 3;
	color: var(--euco-verde-700);
	font-size: 0.72rem;
}

body.euco-app-body .rem-ruta-linea small,
body.euco-app-body .viajes-ruta small {
	color: #71827b;
	font-size: 0.65rem;
	font-weight: 750;
	text-transform: uppercase;
}

body.euco-app-body .rem-ruta-linea strong,
body.euco-app-body .viajes-ruta strong {
	color: #25453a;
	font-size: 0.81rem;
}

body.euco-app-body .rem-ruta-linea em,
body.euco-app-body .viajes-ruta em {
	color: #677972;
	font-size: 0.7rem;
	font-style: normal;
}

body.euco-app-body .rem-cliente {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 10px;
}

body.euco-app-body .rem-cliente > strong {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding-bottom: 7px;
	border-bottom: 1px solid #e3ebe6;
	color: #24473a;
	font-size: 0.82rem;
}

body.euco-app-body .rem-cliente > span,
body.euco-app-body .viajes-datos-lista > span,
body.euco-app-body .viajes-carga > span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

body.euco-app-body .rem-cliente small,
body.euco-app-body .viajes-datos-lista small,
body.euco-app-body .viajes-carga small,
body.euco-app-body .viajes-costos small {
	color: #71827b;
	font-size: 0.64rem;
	font-weight: 750;
	text-transform: uppercase;
}

body.euco-app-body .rem-transportadora {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	color: #29483e;
	font-weight: 700;
}

body.euco-app-body .rem-transportadora .pi {
	margin-top: 2px;
	color: var(--euco-verde-700);
}

body.euco-app-body .remisiones-tabla-compacta .rem-peso-linea small {
	font-size: 0.68rem;
}

body.euco-app-body .remisiones-tabla-compacta .rem-peso-linea strong {
	font-size: 0.78rem;
}

body.euco-app-body .rem-fechas-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px 9px;
}

body.euco-app-body .rem-fechas-grid > span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

body.euco-app-body .rem-fechas-grid small {
	color: #71827b;
	font-size: 0.62rem;
	font-weight: 750;
	text-transform: uppercase;
}

body.euco-app-body .rem-fechas-grid strong {
	color: #2b493f;
	font-size: 0.73rem;
	font-weight: 700;
}

body.euco-app-body .rem-fechas-cumplimiento {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 8px;
	padding-top: 7px;
	border-top: 1px solid #e3ebe6;
}

body.euco-app-body .rem-dias {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #5e7069;
	font-size: 0.68rem;
	white-space: nowrap;
}

body.euco-app-body .rem-fechas-cumplimiento .rem-cumplimiento {
	min-width: 0;
	font-size: 0.67rem;
	white-space: nowrap;
}

/* Cabecera ejecutiva de resultados de viajes. */
body.euco-app-body .via-resultados-encabezado {
	display: grid;
	grid-template-columns: 44px minmax(260px, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	margin: 2px 0 12px;
	padding: 12px 14px;
	border: 1px solid #d6e5dc;
	border-left: 5px solid var(--euco-lima-500);
	border-radius: 12px;
	background: linear-gradient(100deg, #f2f9ef, #fff 68%);
	box-shadow: 0 5px 14px rgba(17, 65, 56, 0.06);
}

body.euco-app-body .via-resultados-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--euco-verde-800);
	color: #fff;
}

body.euco-app-body .via-resultados-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

body.euco-app-body .via-resultados-copy strong {
	color: var(--euco-verde-800);
	font-size: 0.96rem;
	font-weight: 800;
}

body.euco-app-body .via-resultados-copy small {
	color: var(--euco-texto-suave);
	font-size: 0.74rem;
}

body.euco-app-body .via-resultados-total {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 7px 10px;
	border-radius: 9px;
	background: #eaf5e5;
	color: var(--euco-verde-800);
	font-weight: 800;
}

body.euco-app-body .via-resultados-total small {
	color: #667a72;
	font-size: 0.65rem;
}

body.euco-app-body .via-resultados-encabezado .via-exportar.ui-button {
	width: auto;
	min-width: 145px;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-nombre {
	position: static;
	width: 9% !important;
	min-width: 0 !important;
	max-width: none !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-remision {
	position: static;
	width: 9% !important;
	min-width: 0 !important;
	max-width: none !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-novedades {
	position: static;
	width: 6% !important;
	min-width: 0 !important;
	max-width: none !important;
	box-shadow: none;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-ruta {
	width: 16% !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-clasificacion {
	width: 11% !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-comercial {
	width: 14% !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-carga {
	width: 10% !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-costos {
	width: 12.5% !important;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-nombre .ui-button,
body.euco-app-body .viajes-tabla-compacta .viajes-col-remision .ui-button {
	min-height: 38px;
	padding: 7px 5px !important;
	font-size: 0.78rem;
}

body.euco-app-body .viajes-tabla-compacta .viajes-col-novedades .ui-button {
	min-width: 0;
	min-height: 36px;
	padding: 6px !important;
	font-size: 0.78rem;
}

body.euco-app-body .viajes-datos-lista,
body.euco-app-body .viajes-carga {
	display: grid;
	gap: 6px;
}

body.euco-app-body .viajes-datos-lista > span + span,
body.euco-app-body .viajes-carga > span + span {
	padding-top: 5px;
	border-top: 1px solid #e3ebe6;
}

body.euco-app-body .viajes-datos-lista strong,
body.euco-app-body .viajes-carga strong {
	color: #29483e;
	font-size: 0.76rem;
	font-weight: 700;
}

body.euco-app-body .viajes-carga > span {
	position: relative;
	padding-left: 18px;
}

body.euco-app-body .viajes-carga .pi {
	position: absolute;
	left: 0;
	top: 2px;
	color: var(--euco-verde-700);
	font-size: 0.72rem;
}

body.euco-app-body .viajes-costos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

body.euco-app-body .viajes-costos > span {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
	padding: 5px 6px;
	border-radius: 7px;
	background: #f5f8f6;
}

body.euco-app-body .viajes-costos strong {
	color: #29483e;
	font-size: 0.74rem;
	font-weight: 750;
	white-space: nowrap;
}

body.euco-app-body .viajes-costos .viajes-costo-total {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	background: #eaf5e5;
}

body.euco-app-body .viajes-costos .viajes-costo-total strong {
	color: var(--euco-verde-800);
	font-size: 0.82rem;
}

body.euco-app-body .viajes-novedades-overlay {
	width: min(800px, 88vw);
}

body.euco-app-body .viajes-overlay-titulo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--euco-borde);
	color: var(--euco-verde-800);
}

@media (max-width: 1180px) {
	body.euco-app-body .ui-datatable.remisiones-tabla-compacta thead th,
	body.euco-app-body .ui-datatable.viajes-tabla-compacta thead th {
		font-size: 0.75rem;
	}

	body.euco-app-body .ui-datatable.remisiones-tabla-compacta tbody td,
	body.euco-app-body .ui-datatable.viajes-tabla-compacta tbody td {
		padding: 9px 6px !important;
		font-size: 0.79rem;
	}
}

@media (max-width: 760px) {
	body.euco-app-body .remisiones-tabla-compacta .ui-datatable-tablewrapper,
	body.euco-app-body .viajes-tabla-compacta .ui-datatable-tablewrapper {
		overflow-x: visible;
	}

	body.euco-app-body .remisiones-tabla-compacta .ui-datatable-tablewrapper > table,
	body.euco-app-body .viajes-tabla-compacta .ui-datatable-tablewrapper > table {
		table-layout: auto;
	}

	body.euco-app-body .via-resultados-encabezado {
		grid-template-columns: 44px minmax(0, 1fr) auto;
	}

	body.euco-app-body .via-resultados-encabezado .via-exportar.ui-button {
		grid-column: 1 / -1;
		width: 100%;
	}
}

/* ---------------------------------------------------------------------------
 * Cuenta personal: pantalla de perfil.
 * La jerarquía visual se mantiene acotada para no alterar formularios de
 * administración que reutilizan estilos históricos.
 *
 * El cambio de contraseña ya no está aquí: dejó de ser una pantalla y pasó a
 * ser un modal, con hoja propia en resources/css/cambio-password-modal.css.
 * No vive en este archivo porque el modal también se usa en las pantallas de
 * picking, que no cargan custom.css.
 * ------------------------------------------------------------------------- */

body.euco-app-body .perfil-usuario-panel {
	overflow: hidden;
	border: 1px solid #c9dbd1;
	border-top: 4px solid var(--euco-lima-500);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(17, 65, 56, 0.09);
}

body.euco-app-body .perfil-usuario-panel > .ui-panel-titlebar {
	padding: 14px 18px;
	border: 0;
	border-bottom: 1px solid #d7e4dc;
	background: linear-gradient(100deg, #eaf4e7, #f8fbf7 72%, #fff);
}

body.euco-app-body .perfil-usuario-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.euco-app-body .perfil-usuario-header__icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--euco-verde-800);
	color: #fff;
	font-size: 1.08rem;
}

body.euco-app-body .perfil-usuario-header__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

body.euco-app-body .perfil-usuario-header__copy small {
	color: #60756d;
	font-size: 0.94rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

body.euco-app-body .perfil-usuario-header__copy strong {
	color: var(--euco-verde-900);
	font-size: 1.12rem;
	font-weight: 800;
}

body.euco-app-body .perfil-usuario-panel > .ui-panel-content {
	padding: 18px;
	background: #f7faf8;
}

body.euco-app-body .perfil-usuario-aviso {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-bottom: 15px;
	padding: 10px 12px;
	border: 1px solid #cfe0d3;
	border-radius: 10px;
	background: #f0f7ed;
	color: #36554a;
	font-size: 0.94rem;
	line-height: 1.45;
}

body.euco-app-body .perfil-usuario-aviso .pi {
	margin-top: 2px;
	color: var(--euco-verde-700);
}

body.euco-app-body .perfil-usuario-contenido {
	display: grid;
	gap: 14px;
}

body.euco-app-body .perfil-usuario-seccion {
	padding: 15px;
	border: 1px solid #d6e3dc;
	border-radius: 12px;
	background: #fff;
}

body.euco-app-body .perfil-usuario-seccion--seguridad {
	border-left: 4px solid #3d86a5;
}

body.euco-app-body .perfil-usuario-seccion h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding-bottom: 9px;
	border-bottom: 1px solid #e1e9e4;
	color: var(--euco-verde-900);
	font-size: 1rem;
	font-weight: 800;
}

body.euco-app-body .perfil-usuario-seccion h3 .pi {
	color: var(--euco-verde-700);
}

body.euco-app-body .perfil-usuario-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 16px;
}

body.euco-app-body .perfil-usuario-grid--tres {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.euco-app-body .perfil-usuario-campo {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

body.euco-app-body .perfil-usuario-campo label {
	color: #566b63;
	font-size: 0.94rem;
	font-weight: 750;
}

body.euco-app-body .perfil-usuario-campo .ui-inputfield[readonly] {
	width: 100%;
	min-height: 42px;
	box-sizing: border-box;
	border-color: #d7e2dc;
	background: #f7faf8;
	color: #193c32;
	font-size: 0.96rem;
	font-weight: 650;
}

body.euco-app-body .perfil-usuario-panel > .ui-panel-footer {
	display: flex;
	justify-content: flex-end;
	padding: 12px 18px;
	border-top: 1px solid #d7e4dc;
	background: #fff;
}

body.euco-app-body .perfil-usuario-accion.ui-button {
	min-height: 42px;
	border-color: var(--euco-verde-800);
	background: var(--euco-verde-800);
	font-size: 0.94rem;
}

@media (max-width: 820px) {
	body.euco-app-body .perfil-usuario-grid,
	body.euco-app-body .perfil-usuario-grid--tres {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	body.euco-app-body .perfil-usuario-panel > .ui-panel-content {
		padding: 12px;
	}

	body.euco-app-body .perfil-usuario-panel > .ui-panel-footer,
	body.euco-app-body .perfil-usuario-accion.ui-button {
		width: 100%;
	}
}
