html{
	overflow: hidden;
}
#map-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 25%;
	bottom: 0;
	z-index: 0;
}
#map {
	height: 100%;
	width: 100%;
}

.leaflet-top {
	bottom: 37px !important;
}

.leaflet-container {
	background: white;
}

/* Eliminar scroll del control de capas de Leaflet */
.leaflet-control-layers-list {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.leaflet-control-layers-scrollbar {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

#bp-layers{
	position: absolute;
	display: grid;
	/*align-items: center;
	justify-content: center;*/
	height: 100vh;
	left: 15px;
	top: 15px;
}

.bp-button-layer{
	border-bottom: 1px solid #cdd0d3;
}

.bp-button-info{
	background-color: #efefef;
	color:#666666;
}

.bp-button-ind{
	border-bottom: 1px solid #cdd0d3;
}
.layer-capasPlanDeRenaturalizacionMdr{
	background-color: #d3cd1d;
}
.layer-capasLimitesProyectoRenaturalizacionFluvial{
	background-color: #a35d2a;
}
.layer-capasInventarioArbolado{
	background-color: #2a924bff;
}
.layer-capasInventarioBiodiversidad{
	background-color: #df7c4dff;
}
.layer-capasCienciaCiudadana{
	background-color: #838383;
}
.layer-capasFichasPRUFPI{
	background-color: #A443BF;
}

.bp{
	display: block;
	z-index: 1100;
	background: #284696FF;
	color: white;
	fill: white;
	max-width: 40%;
	font-family: 'Source Sans Pro', sans-serif;
}

#bp-layers-container{
	height: 487px;
	width: 372px;
	overflow: auto;
	white-space: nowrap;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
	max-height: calc(100vh - 214px);
	border-radius: 15px;
}

.layer-title{
	background-color: #4A7AB2FF;
	padding: 8px 5px;
	text-align: center;
	font-size: 13pt;
	text-transform: uppercase;
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.bio-panel-icon{
	max-width: 25px;
	max-height: 25px;
}

.bp-body{
	position: fixed;
	clear: both;
	background: white;
	box-shadow: 1px 1px 7px 1px rgb(117, 117, 117);
	border-radius: 15px;
}

.bp-button {
	cursor: pointer;
	position: relative;
	padding: 7px;
}

.bp-button-disabled{
	color: #666666;
	fill: #666666;
	background-color: #efefef !important;
	border-bottom: 1px solid #cdd0d3 !important;
}

.bp-button-txt{
	display: table-cell;
	vertical-align: middle;
	padding-left: 5px;
	padding-right: 5px;
}

.bp-button-txt-layer-selector{
	padding-right: 50px; /* Give space to arrow which is absolute positioned */
}

.bp-button-img{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 48px;
}

.bp-button-icon-container{
	position: relative;
	display: block;
	top: 3px; /* This should be done properly and center image vertically */
	/*text-align: center;*/
}

.bp-button-txt-main{
	font-size: 12pt;
}

.bp-button-txt-sub{
	font-size: 11pt;
	font-weight: 300;
}
.bp-button-txt-main-info{
	font-size: 11pt;
}

.bp-button-txt-sub-info{
	font-size: 10pt;
	font-weight: 300;
}

.bp-button-small-text{
	font-size: 10pt;
}

.bp-button-chevron{
	display: table-cell;
	vertical-align: middle;
	position: absolute;
	top: 39%;
	right: 10px;
}

.bp-button-plants{
	background-color: #509a5c;
}

.bp-button-trees{
	background-color: #805308;
}

.bp-button-birds{
	background-color: #469aaa;
}

.btn-species{
	border-top: 1px solid #cdd0d3;
	color: white;
}

.btn-option{
	color: #666666;
	background-color: #efefef;
	padding: 0.2em 2em 0.2em 2em;
	border-radius: 10px;
	border: none;
	outline: none;
}

.btn-filter-remove{
	width: 100%;
	border-radius: 50px;
	font-size: 10pt;
	color: inherit;
	/*background-color: #ffffff44;*/
	font-style: italic;
	text-align: left;
	padding: 1px 25px 1px 10px;
	position: relative;
}

.bp-button-action{
	background-color: #284696FF;
	color: white;
	margin-bottom: 2px;
	font-size: 14pt;
	padding-left: 22px;
}

.svg{
	width: 24px;
	height: 24px;
}

.btn-show-species-list-container{
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	border-left: 1px solid #cdd0d3;
	width: 48px;
	text-align: center;
}

.btn-show-species-list{
	position: absolute;
	left: 0px;
	width: 48px;
	top: 0px;
	bottom: 0px;
	border: none;
	background: none;
	outline: none;
}

.btn-show-species-list .svg{
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;
}

.layer-extra-option-container{
	position: absolute;
	width: 100%;
	margin-top: 5px;
	color: #666666;
	padding-left: 10px;
	padding-right: 10px;
	 /* padding-bottom: 10px;*/
}

#CapasSecundarias-opacity{
	width: 100%;
	outline: none;
	padding: 0;
}

input[type=range] {
	height: 10px;
	-webkit-appearance: none;
	/*margin: 10px 0;*/
	width: 100%;
}
input[type=range]:focus {
	outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 8px;
	cursor: pointer;
	animate: 0.2s;
	background: #ABABAB;
	border-radius: 8px;
	border: none;
}
input[type=range]::-webkit-slider-thumb {
	border: none;
	height: 20px;
	width: 20px;
	border-radius: 20px;
	background: #284696FF;
	cursor: pointer;
	-webkit-appearance: none;
	/*margin-top: -8.5px;*/
}
input[type=range]:focus::-webkit-slider-runnable-track {
	background: #ABABAB;
}
input[type=range]::-moz-range-track {
	width: 100%;
	height: 8px;
	cursor: pointer;
	animate: 0.2s;
	background: #ABABAB;
	border-radius: 8px;
	border: none;
}
input[type=range]::-moz-range-thumb {
	border: none;
	height: 20px;
	width: 20px;
	border-radius: 20px;
	background: #284696FF;
	cursor: pointer;
}
input[type=range]::-ms-track {
	width: 100%;
	height: 8px;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-color: transparent;
	color: transparent;
}
input[type=range]::-ms-fill-lower {
	background: #ABABAB;
	border: none;
	border-radius: 16px;
}
input[type=range]::-ms-fill-upper {
	background: #ABABAB;
	border: none;
	border-radius: 16px;
}
input[type=range]::-ms-thumb {
	/*margin-top: 1px;*/
	border: none;
	height: 20px;
	width: 20px;
	border-radius: 20px;
	background: #284696FF;
	cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
	background: #ABABAB;
}
input[type=range]:focus::-ms-fill-upper {
	background: #ABABAB;
}
input[type="range"]::-webkit-slider-thumb {
	margin-top: -7px;
}
#box-alert{
	width: 539px;
	border: 2px solid #b2d2bc;
	border-top-color: rgb(178, 210, 188);
	border-right-color: rgb(178, 210, 188);
	border-bottom-color: rgb(178, 210, 188);
	border-left-color: rgb(178, 210, 188);
	text-align: center;
	padding: 13px;
	font-weight: bold;
	border-radius: 10px;
	background-color: #ffffffdb;
	border-color: #284696FF;
	z-index: 999999;
	display: none;
	justify-content: center;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	top: 45px;
	font-size: 17px;
	box-shadow: 0px 0 4px #284696FF;
}
.box-alert-closed {
	display: none !important;
}
/*Leyenda*/
.leyenda{
	background-color: rgba(255, 255, 255, 0.72); border-radius: 15px; text-align: right;
}
.titleLeyenda{
	margin-bottom: 5px;margin-left: 10px;color: #284696FF;font-weight: bold;padding-top: 14px;
}

.imgLeyenda{
	display: block; text-align: right;
}

#Jarales label, #Biomasa label{
	color: #333;
	margin-left: 15px!important;
}
#Jarales h6, #Biomasa h6{
	color: #284696FF;
	margin-bottom: 1px;
	font-weight: bold;
}
/*** Columns ***/
.col-30{
	display: inline-block;
	width: 30%;
}

.col-50{
	display: inline-block;
	width: 50%;
}

.col-70{
	display: inline-block;
	width: 70%;
}

/* Agrega los estilos necesarios según tus necesidades */
.hidden {
	display: none;
}

/*Apartado de contenido del selector de capas*/
.layer-content {
	/*position: absolute;*/
	top: 0;
	left: 100%;
	width: 100%;
	height: auto;
	background-color: #fff; /* Cambia el color de fondo según tus necesidades */
	/*overflow: auto;*/
	transition: transform 0.5s ease;
}

.layer-content-inner {
	padding: 20px; /* Ajusta según sea necesario */
}

#InventarioArbolado h6 {
	color: black;
	font-weight: bold;
}

.back-arrow {
	/*cursor: pointer;*/
	/*color: black;*/ /* Puedes cambiar el color según tu diseño */
	/*margin-top: 10px;*/ /* Ajusta el margen según sea necesario */
	/*display: block;*/ /* Asegura que la flecha se muestre como bloque para que ocupe espacio */
	cursor: pointer;
	color: white;
	margin-top: -8px;
	display: none;
	position: absolute;
	font-size: 25px;
	margin-left: 11px;
}

/*Iconos menú selector de capas*/
.layer-toogle-buttons {
	transition: transform 0.5s ease;
}
.imgLayersActive {
	background-color: white!important;
}
#imgcapasBase {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/limites_admin.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/limites_admin.png) no-repeat center / contain;
}

#imgcapasPlanDeRenaturalizacionMdr {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/mecanizacion.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/mecanizacion.png) no-repeat center / contain;
}

#imgcapasLimitesProyectoRenaturalizacionFluvial {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/incendios.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/incendios.png) no-repeat center / contain;
}

#imgcapasInventarioArbolado {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/jarales.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/jarales.png) no-repeat center / contain;
}

#imgcapasInventarioBiodiversidad {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/biomasa.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/biomasa.png) no-repeat center / contain;
}

#imgcapasCienciaCiudadana {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/cienciaciudadana.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/cienciaciudadana.png) no-repeat center / contain;
}

#imgcapasFichasPRUFPI {
	background-color: #666666; /* defines the background color of the image */
	mask: url(../img/iconos/capasOtras.png) no-repeat center / contain;
	-webkit-mask: url(../img/iconos/capasOtras.png) no-repeat center / contain;
}

.icon {
	width: 24px;
	height: 24px;
	display: inline-table;
}

.icon-info {
	width: 20px;
	height: 20px;
	display: inline-table;
}

/*El numero de arboles sobre la capa de lArea Submunicipales*/
[class*="labelAreaSubmunicipales"] {
	-webkit-text-stroke: 0.5px white;
	color: black;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	pointer-events: none !important;
}

/*checkbox de leflet*/
.panel .leaflet-control-layers{
	box-shadow:none!important;
	display: contents;
}
input[type="radio"] {
	position: relative;
	top: 4px;
	/*right: 7px;*/
	height: 20px;
	width: 20px;
	background-color: white;
	cursor: pointer;
	display: inline-block;
	border-radius: 50%;
	-webkit-appearance: none;
	border: 2px solid #284696FF;
}
input[type="radio"]:after{
	content: '';
	display: block;
	height: 20px;
	position: relative;
	width: 20px;
	border-radius: 50%;
}

input[type="radio"]:checked:after{
	background-color: #284696FF;
	top: -2px;
	left: -2px;
}
input[type="radio"] + span{
	margin-left: 7px;
}
input[type="checkbox"]{
	position: relative;
	top: 4px;
	height: 20px;
	width: 20px;
	background-color: white;
	cursor: pointer;
	display: inline-block;
	-webkit-appearance: none;
	border: 2px solid #284696FF;
	border-radius: 6px;
}
input[type="checkbox"] + span{
	margin-left: 7px;
}

input[type="checkbox"]:after{
	content: '';
	display: block;
	height: 20px;
	position: relative;
	width: 20px;
}

input[type="checkbox"]:checked:after{
	background-color: #284696FF;
	top: -2px;
	left: -2px;
	border-radius: 6px;
}
#bp-info-section{
	max-height: calc(100vh - 220px);
	overflow: auto;
	/*white-space: nowrap;*/
	overflow-y: auto;
	overflow-x: hidden;
}
	
.ico-arrow-box {
	display: table-cell;
	vertical-align: middle;
	position: absolute;
	top: 39%;
	right: 10px;
}

.ico-arrow-box img{
	width: 19px;
	position: absolute;
	right: 10px;
	display: revert;
}

.ico-arrow-box-info {
	display: table-cell;
	vertical-align: middle;
	position: absolute;
	top: 39%;
	right: 10px;
}

.ico-arrow-box-info img{
	width: 14px;
	position: absolute;
	right: 13px;
	display: revert;
}
.contenido{
	background-color: white;
}
.decripcion-info-layers {
	background-image: -webkit-linear-gradient(270deg, #333333 60%, transparent 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	max-height: 115px;
	overflow: hidden;
	white-space: inherit;
	border-bottom: none;
}
.btn-descripcion-info {
	text-transform: uppercase;
	margin-top: 10px;
	color: #666666;
	background-color: #efefef;
	padding: 0.2em 2em 0.2em 2em;
	border-radius: 10px;
	border: none;
	outline: none;
	margin-bottom: 12px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 40%;
	font-size: 10pt;
}

#modalMoreInfo {
	right: 330px;
	width: 400px;
	background-color: white;
	box-shadow: -2px 1px 6px 0px rgb(117, 117, 117);
	/*max-height: calc(110vh - 435px);*/
}
.bp-modal-window {
	position: absolute;
	background-color: white;
	display: flex;
	flex-flow: column;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12pt;
	color: #666666;
	z-index: 99999;
	box-shadow: 1px 1px 7px 1px rgb(117, 117, 117);
	max-width: 100%;
	max-height: 100%;
}
.bp-modal-title {
	position: relative;
	height: 30px;
	flex: none;
	width: 100%;
	background-color: #666666;
}
.btn-modal-close {
	cursor: pointer;
}
.btn-modal-close {
	position: absolute;
	right: 15px;
	top: 5px;
	height: 20px;
	width: 20px;
}

.bp-modal-title {
	position: relative;
	height: 30px;
	flex: none;
	width: 100%;
	background-color: #666666;
}
.bp-modal-body {
	padding: 15px;
	overflow: auto;
}
.species-modal-name {
	font-weight: bold;
	margin-bottom: 12px;
}
.species-modal-scientific-name {
	font-style: italic;
	margin-bottom: 15px;
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 100px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	transform: translate(373px);
	bottom: 0px;
}

.sub-menu {
	display: none;
	position: absolute;
	bottom: 0;
	left: 101%;
	width: 400px;
	background-color: #f9f9f9;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.sub-menu a img{
	width: 15px;
	margin-left: 10px;
}
.sub-menu a img:hover {
	width: 17px;
}

.dropdown-content a {
	color: black;
	/*padding: 12px 16px;*/
	padding: 6px 12px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

/*Location*/
.located-animation {
	width: 17px;
	height: 17px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #2a93ee;
	animation: border-pulse 2s infinite;
}

.locate-button, .reload-button{
	cursor: pointer;
	width: 34px !important;
	margin-left: 10px !important;
	border: 2px solid rgba(0,0,0,0.2);
	background: white;
	background-clip: border-box;
	background-clip: border-box;
	padding: 4px;
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
}

.mouseposition {
	margin-left: 15px !important;
	background: white;
	padding: 1px 5px;
	border-radius: 4px;
	box-shadow: 1px 0px 3px 2px rgba(0, 0, 0, 0.31);
}

/*BUSCADOR*/
.auto-search-wrapper {
	position: relative;
	display: block;
	width: 100%;
}

.auto-search-wrapper input {
	font-size: 16px;
	width: 100%;
	box-shadow: none;
	box-sizing: border-box;
	padding-right: 25px;
}

.auto-search-wrapper input:focus {
	border: 1px solid #858585;
	outline: none;
}

.auto-search-wrapper input::-ms-clear {
	display: none;
}

.auto-search-wrapper ul {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: auto;
}

.auto-search-wrapper ul li {
	position: relative;
	/*cursor: pointer;*/
	cursor:default!important;
	margin: 0;
	padding: 10px;
	overflow: hidden;
}

.auto-search-wrapper ul li:not(:last-child) {
	border-top: none;
}

.auto-search-wrapper ul li[disabled] {
	pointer-events: none;
	opacity: 0.5;
	background: #ececec;
}

.auto-search-wrapper .auto-expanded {
	border: 1px solid #858585;
	outline: none;
}

.auto-search-wrapper.loupe:before {
	filter: invert(60%);
}

.auto-is-loading:after {
	content: "";
	box-sizing: border-box;
	position: absolute;
	top: 0px;
	bottom: 0;
	margin: auto;
	right: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #808080;
	border-left-color: #d9d9d9;
	border-top-color: #d9d9d9;
	animation: auto-spinner 0.6s linear infinite;
}

.auto-is-loading .auto-clear {
	display: none;
}

@keyframes auto-spinner {
	to {
	transform: rotate(1turn);
	}
}

li.loupe:before {
	top: 15px;
	bottom: auto;
}

.loupe input {
	padding: 12px 45px 12px 40px;
}

.loupe:before {
	position: absolute;
	content: "";
	width: 17px;
	height: 17px;
	top: 0;
	bottom: 0;
	left: 10px;
	margin: auto;
	background-image: var(--loupe-icon);
}

.auto-selected:before {
	opacity: 1;
}

.auto-clear {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	bottom: 0;
	right: -10px;
	margin: auto;
	width: 40px;
	height: auto;
	/*cursor: pointer;*/
	cursor:default!important;
	background-color: transparent;
	border: none;
}

.auto-clear:before {
	content: var(--close-button);
	line-height: 100%;
	height: 24px;
	width: 24px;
}

.auto-clear span {
	display: none;
}

.auto-results-wrapper {
	display: none;
	border: 1px solid #858585;
	border-top: none;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #fff;
}

.auto-results-wrapper ul > .loupe {
	padding-left: 40px;
}

.auto-results-wrapper.auto-is-active {
	display: block;
	position: absolute;
	width: 100%;
	z-index: 99999;
}

.auto-selected {
	background-color: #e6e6e6;
}

.auto-selected + li:before {
	border-top: none;
}

.auto-error {
	border: 1px solid #ff3838;
}

.auto-error::placeholder {
	color: #ff6666;
	opacity: 1;
}

.hidden {
	display: none;
}

.leaflet-search {
	width: 17px;
	height: 17px;
}

.leaflet-autocomplete {
	background: white;
	padding: 5px;
	width: 26px;
	height: 26px;
	display: flex;
	/*cursor: pointer!important;*/
	cursor:default!important;
	justify-content: center;
	align-items: center;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
	border-radius: 4px;
	transition: width 200ms ease-in;
}

.leaflet-autocomplete svg {
	position: absolute;
	width: 17px;
	left: 3px;
	color: white;

}
.leaflet-autocomplete svg path {
	fill: black;
}

.leaflet-autocomplete .auto-search-wrapper {
	display: none;
	padding-left: 5px;
}

.leaflet-autocomplete .loupe:before {
	left: 0;
	top: 4px;
	width: 15px;
	background-repeat: no-repeat;
}

.leaflet-autocomplete .auto-search-wrapper ul li {
	padding: 5px;
	border-top: 1px solid rgb(240, 240, 240);
	font-size: 14px;
}

.leaflet-autocomplete.active-autocomplete {
	width: 295px;
}

.leaflet-autocomplete.active-autocomplete .auto-results-wrapper.auto-is-active {
	margin-top: 9px;
	border-top: 1px solid #858585;
	border-radius: 0 0 5px 5px;
}

.leaflet-autocomplete.active-autocomplete .auto-search-wrapper {
	display: block;
}

.leaflet-touch .leaflet-autocomplete {
	padding: 15px;
}

.leaflet-touch .leaflet-autocomplete svg {
	width: 20px;
	left: 5px;
	top: 5px;
}

/* ===== PANEL INFORMATIVO FLOTANTE ===== */
.info-panel {
	position: fixed;
	right: 0px;
	width: calc(25% - 0px);
	height: calc(100vh - 0px);
	background: linear-gradient(135deg, #284696 0%, #3dbbd4 100%);
	border-radius: 0px;
	box-shadow: 
		0 25px 50px rgba(40, 70, 150, 0.4),
		0 15px 35px rgba(40, 70, 150, 0.3),
		0 5px 15px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	z-index: 1000;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(20px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	display: flex;
	flex-direction: column;
}

.info-panel.collapsed {
	width: 0px;
	height: 100vh;
	border-radius: 0px;
	overflow: visible;
	transform: translateX(100%);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 1;
}

.info-panel.collapsed .info-panel-content {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-panel.collapsed .info-panel-header h3 {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Barra fina cuando está colapsado */
.info-panel.collapsed::after {
	content: '';
	position: fixed;
	top: 0;
	right: 0;
	width: 10px;
	height: 100vh;
	background: linear-gradient(135deg, #284696 0%, #3dbbd4 100%);
	z-index: 1001;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
	animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 10px 0 0 10px;
	opacity: 1;
	visibility: visible;
	cursor: pointer;
	pointer-events: auto;
}

/* Botón de expansión cuando está colapsado */
.info-panel.collapsed .info-panel-toggle {
	position: fixed;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	font-size: 16px;
	z-index: 1002;
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid rgba(255, 255, 255, 1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	opacity: 1;
	visibility: visible;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: #284696;
	font-weight: bold;
}

.info-panel.collapsed .info-panel-toggle:hover {
	transform: translateY(-50%) scale(1.15);
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
	border-color: #3dbbd4;
	color: #3dbbd4;
}

/* Animaciones del panel */
@keyframes slideInRight {
	from {
		width: 0px;
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		width: 20px;
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideOutRight {
	from {
		width: 4px;
		opacity: 1;
	}
	to {
		width: 0px;
		opacity: 0;
	}
}

/* Animación del mapa cuando se expande/colapsa el panel */
#map-content {
	transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#bp-layers {
	transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
	backdrop-filter: blur(15px);
	border-bottom: 2px solid rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-panel-title-container {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
}

.info-panel-logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
	transition: transform 0.3s ease;
}

.info-panel-logo:hover {
	transform: scale(1.05);
}

.info-panel-title-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.info-panel-header h2 {
	color: white;
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
}

.info-panel-subtitle {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.info-panel-toggle {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
	border: 2px solid rgba(255, 255, 255, 0.4);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 0;
	font-weight: bold;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(15px);
	box-shadow: 
		0 4px 15px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
	position: relative;
}

.info-panel-toggle::before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-panel-toggle:not(.collapsed)::before {
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent white;
}

.info-panel-toggle.collapsed::before {
	border-width: 8px 12px 8px 0;
	border-color: transparent white transparent transparent;
}

.info-panel-toggle:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
	transform: scale(1.1) translateY(-2px);
	box-shadow: 
		0 6px 20px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.info-panel-content {
	padding: 20px;
	flex: 1;
	overflow-y: auto;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.info-panel.collapsed .info-panel-content {
	display: none;
}

/* ===== TARJETAS DE ESTADÍSTICAS ===== */
.info-panel-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 15px;
	margin-bottom: 20px;
	flex-shrink: 0;
	height: 200px;
}

.stat-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	position: relative;
	overflow: hidden;
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

.stat-card:hover::before {
	left: 100%;
}

.stat-card:hover {
	transform: translateY(-8px) scale(1.02);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
	box-shadow: 
		0 15px 40px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat-icon {
	font-size: 20px;
	display: block;
}

.stat-value {
	font-size: 22px;
	font-weight: bold;
	color: white;
	margin-bottom: 4px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
}

/* ===== GRÁFICOS ===== */
.info-panel-charts {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 20px;
	margin-bottom: 25px;
	flex: 1;
}

/* Gráfico de especies con leyenda a la derecha */
.species-chart-container {
	display: flex;
	gap: 15px;
	height: 100%;
	padding: 8px;
}

.species-chart-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.species-legend {
	flex: 0 0 130px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 8px;
}

.species-legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: white;
	padding: 2px 0;
}

.species-legend-color {
	width: 14px;
	height: 10px;
	border-radius: 2px;
	flex-shrink: 0;
}

.chart-container {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	padding: 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.chart-container canvas {
	max-width: 100%;
	height: auto;
}

/* ===== SISTEMA DE TABS ===== */
.info-panel-tabs {
	display: flex;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	overflow: hidden;
	flex-shrink: 0;
}

.info-panel-tab {
	flex: 1;
	padding: 12px 20px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	position: relative;
}

.info-panel-tab.active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
	color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-panel-tab:hover:not(.active) {
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.9);
}

.info-panel-tab-content {
	flex: 1;
	overflow-y: auto;
	display: none;
}

.info-panel-tab-content.active {
	display: flex;
	flex-direction: column;
	padding: 15px 5px 5px 5px;
}

/* ===== DETALLES DE LA CAPA ===== */
.info-panel-details {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	padding: 25px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	flex: 1;
	overflow-y: auto;
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.layer-info h4 {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.1);
	padding: 6px 10px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
	position: relative;
}

.layer-info h4::before {
	content: '📁';
	margin-right: 8px;
	font-size: 12px;
}

/* Título de la sección de capas */
#info-panel-details h4 {
	color: #3dbbd4;
	margin: 0 0 25px 0;
	font-size: 20px;
	font-weight: 800;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	text-align: center;
	padding: 20px 0;
	border-bottom: 3px solid #3dbbd4;
	background: linear-gradient(135deg, rgba(61, 187, 212, 0.15) 0%, rgba(40, 70, 150, 0.15) 100%);
	border-radius: 12px 12px 0 0;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

#info-panel-details h4::before {
	content: '🗺️';
	margin-right: 12px;
	font-size: 18px;
}

#layer-details {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.6;
}

.layer-info {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layer-summary {
	background: rgba(61, 187, 212, 0.1);
	border-radius: 8px;
	padding: 12px;
	margin: 10px 0 15px 0;
	border-left: 4px solid #3dbbd4;
}

.feature-block {
	background: rgba(40, 70, 150, 0.1);
	border-radius: 10px;
	padding: 15px;
	margin: 15px 0;
	border: 1px solid rgba(40, 70, 150, 0.2);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.feature-title {
	color: #284696;
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: rgba(40, 70, 150, 0.2);
	padding: 6px 10px;
	border-radius: 6px;
	text-align: center;
}

.feature-properties {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	padding: 10px;
}

.layer-detail-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	margin: 6px 0;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border-left: 3px solid rgba(61, 187, 212, 0.4);
	transition: all 0.3s ease;
}

.layer-detail-item:hover {
	background: rgba(255, 255, 255, 0.1);
	border-left-color: #3dbbd4;
	transform: translateX(3px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layer-detail-item:last-child {
	border-bottom: none;
}

.layer-detail-label {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 11px;
	flex: 1;
}

.layer-detail-value {
	font-weight: 500;
	color: white;
	text-align: right;
	word-break: break-word;
	flex: 1;
	background: rgba(40, 70, 150, 0.2);
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 13px;
	border: 1px solid rgba(40, 70, 150, 0.3);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.stat-card.animate {
	animation: fadeInUp 0.6s ease-out;
}

.stat-value.animate {
	animation: pulse 0.5s ease-in-out;
}

/* ===== SCROLLBAR PERSONALIZADO ===== */
.info-panel-content::-webkit-scrollbar {
	width: 6px;
}

.info-panel-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.info-panel-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
}

.info-panel-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.5);
}

/* ===== SCROLLBAR PERSONALIZADO PARA PROJECT-TAB ===== */
#project-tab::-webkit-scrollbar {
	width: 10px;
}

#project-tab::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	margin: 5px 0;
}

#project-tab::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #4A7AB2 0%, #3a6a92 100%);
	border-radius: 10px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

#project-tab::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #5a8ac2 0%, #4A7AB2 100%);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2), 0 0 8px rgba(74, 122, 178, 0.3);
	transform: scale(1.05);
}

/* Estilos para Firefox */
#project-tab {
	scrollbar-width: thin;
	scrollbar-color: #4A7AB2 rgba(255, 255, 255, 0.05);
}

/* ===== MARCADO DE CAPAS SELECCIONADAS ===== */
.layer-highlighted {
	stroke: #284696 !important;
	stroke-width: 4px !important;
	stroke-opacity: 1 !important;
	stroke-dasharray: none !important;
	filter: drop-shadow(0 0 8px rgba(40, 70, 150, 0.6)) !important;
}

.layer-highlighted-marker {
	background-color: #284696 !important;
	border: 3px solid #3dbbd4 !important;
	box-shadow: 0 0 15px rgba(40, 70, 150, 0.8) !important;
}

.layer-highlighted-polygon {
	stroke: #284696 !important;
	stroke-width: 4px !important;
	stroke-opacity: 1 !important;
	fill-opacity: 0.2 !important;
	fill: #284696 !important;
	filter: drop-shadow(0 0 10px rgba(40, 70, 150, 0.7)) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
	.stat-value {
		font-size: 18px;
		margin-bottom: 0px;
	}
	.stat-label {
		font-size: 9px;
	}
}

@media (max-width: 1200px) {
	.info-panel {
		width: calc(30% - 40px);
	}
	
	.info-panel-header h2 {
		font-size: 20px;
	}
	
	.info-panel-subtitle {
		font-size: 12px;
	}
	
	.info-panel-logo {
		width: 45px;
		height: 45px;
	}
	

}

@media (max-width: 768px) {
	.info-panel {
		width: calc(35% - 40px);
		height: calc(100vh - 40px);
	}
	
	.info-panel-header {
		padding: 20px;
	}
	
	.info-panel-header h2 {
		font-size: 18px;
	}
	
	.info-panel-subtitle {
		font-size: 11px;
	}
	
	.info-panel-logo {
		width: 40px;
		height: 40px;
	}
	
	.info-panel-title-container {
		gap: 12px;
	}
	
	#map-content {
		right: 35%;
	}
	
	#bp-layers {
		right: 35%;
	}
	
	.info-panel-stats {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.info-panel-charts {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.info-panel {
		width: calc(100% - 40px);
		right: 20px;
		height: 50vh;
		top: 50vh;
	}
	
	#map-content {
		right: 0;
		bottom: 50vh;
	}
	
	#bp-layers {
		right: 0;
		bottom: 50vh;
	}
}

/* ===== CHATBOT STYLES ===== */
#chatbot-container {
	position: fixed;
	bottom: 30px;
	right: 490px; /* Posición por defecto para no solaparse con el menú de capas */
	z-index: 1000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Botón flotante del chatbot */
.chatbot-toggle {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #2a924b, #1e6b3a);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(42, 146, 75, 0.4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.chatbot-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(42, 146, 75, 0.6);
}

.chatbot-toggle:active {
	transform: scale(0.95);
}

.chatbot-icon {
	z-index: 2;
	transition: transform 0.3s ease;
}

.chatbot-toggle:hover .chatbot-icon {
	transform: rotate(10deg);
}

/* Animación de pulso */
.chatbot-pulse {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	animation: chatbot-pulse 2s infinite;
}

@keyframes chatbot-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

/* Ventana del chatbot */
.chatbot-window {
	position: absolute;
	bottom: 80px;
	right: 0;
	width: 350px;
	height: 500px;
	background: white;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.3s ease;
}

.chatbot-window.show {
	transform: translateY(0);
	opacity: 1;
}

.chatbot-window.hidden {
	display: none;
}

/* Header del chatbot */
.chatbot-header {
	background: linear-gradient(135deg, #2a924b, #1e6b3a);
	color: white;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chatbot-header-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.chatbot-avatar {
	font-size: 24px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chatbot-title h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}

.chatbot-title p {
	margin: 0;
	font-size: 12px;
	opacity: 0.9;
}

.chatbot-close {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s ease;
	line-height: 1;
}

.chatbot-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.chatbot-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.chatbot-help {
	background: none;
	border: none;
	color: white;
	font-size: 17px;
	font-weight: normal;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s ease;
	line-height: 1;
}

.chatbot-help:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Sugerencias clickeables */
.suggestion-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 0;
	padding: 8px 12px;
	background: rgba(0, 123, 255, 0.05);
	border: 1px solid rgba(0, 123, 255, 0.2);
	border-radius: 8px;
	transition: all 0.2s ease;
	cursor: pointer;
}

.suggestion-item:hover {
	background: rgba(0, 123, 255, 0.1);
	border-color: rgba(0, 123, 255, 0.4);
	transform: translateX(4px);
}

.suggestion-text {
	flex: 1;
	color: #333;
	font-size: 14px;
	line-height: 1.4;
}

.suggestion-execute {
	background: #007bff;
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-left: 8px;
	flex-shrink: 0;
	color: white;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
}

.suggestion-execute:hover {
	background: #0056b3;
	transform: scale(1.1);
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Área de mensajes */
.chatbot-messages {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #f8f9fa;
}

.chatbot-message {
	max-width: 80%;
	padding: 10px 15px;
	border-radius: 18px;
	word-wrap: break-word;
	animation: message-appear 0.3s ease;
}

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

.bot-message {
	background: #e9ecef;
	color: #333;
	align-self: flex-start;
	border-bottom-left-radius: 5px;
}

.user-message {
	background: #2a924b;
	color: white;
	align-self: flex-end;
	border-bottom-right-radius: 5px;
}

.message-content {
	line-height: 1.4;
	font-size: 14px;
}

/* Área de entrada */
.chatbot-input-container {
	padding: 15px;
	background: white;
	border-top: 1px solid #e9ecef;
	display: flex;
	gap: 10px;
	align-items: center;
}

#chatbot-input {
	flex: 1;
	padding: 10px 15px;
	border: 2px solid #e9ecef;
	border-radius: 25px;
	outline: none;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

#chatbot-input:focus {
	border-color: #2a924b;
}

.chatbot-send {
	width: 40px;
	height: 40px;
	background: #2a924b;
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.chatbot-send:hover {
	background: #1e6b3a;
	transform: scale(1.05);
}

.chatbot-send:active {
	transform: scale(0.95);
}

.chatbot-reset {
	width: 35px;
	height: 35px;
	background: #6c757d;
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	margin-right: 5px;
}

.chatbot-reset:hover {
	background: #5a6268;
	transform: scale(1.05);
}

.chatbot-reset:active {
	transform: scale(0.95);
}

/* Indicador de escritura */
.typing-indicator {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px 15px;
	background: #e9ecef;
	border-radius: 18px;
	align-self: flex-start;
	max-width: 80px;
}

.typing-dot {
	width: 8px;
	height: 8px;
	background: #6c757d;
	border-radius: 50%;
	animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
	0%, 80%, 100% {
		transform: scale(0);
	}
	40% {
		transform: scale(1);
	}
}

/* Preguntas de ejemplo */
.example-questions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
	padding: 0 5px;
}

.example-question {
	background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
	border: 2px solid #2a924b;
	border-radius: 20px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 500;
	color: #2a924b;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(42, 146, 75, 0.1);
}

.example-question:hover {
	background: linear-gradient(135deg, #2a924b, #1e6b3a);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(42, 146, 75, 0.3);
}

.example-question:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(42, 146, 75, 0.2);
}

/* Animación de entrada para las preguntas */
.example-questions {
	animation: questions-appear 0.5s ease 0.5s both;
}

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

/* Ocultar preguntas cuando hay mensajes del usuario */
.example-questions.hidden {
	display: none;
}

/* Responsive */
@media (max-width: 768px) {
	.chatbot-window {
		width: 300px;
		height: 400px;
	}
	
	#chatbot-container {
		bottom: 10px;
		right: 10px;
	}
	
	.chatbot-toggle {
		width: 50px;
		height: 50px;
	}
	
	.example-question {
		font-size: 11px;
		padding: 6px 10px;
	}
}

/* Estilos personalizados para popups de Leaflet - Inventarios */
.leaflet-popup-content-wrapper {
	border-radius: 12px !important;
	padding: 0 !important;
	box-shadow: 0 8px 24px rgba(40, 70, 150, 0.15), 0 2px 8px rgba(40, 70, 150, 0.1) !important;
}

.leaflet-popup-content {
	margin: 0 !important;
	width: auto !important;
}

.leaflet-popup-tip {
	background: white !important;
	box-shadow: 0 2px 8px rgba(40, 70, 150, 0.1) !important;
}

.leaflet-popup-close-button {
	width: 28px !important;
	height: 28px !important;
	line-height: 28px !important;
	font-size: 20px !important;
	color: white !important;
	background: rgba(255, 255, 255, 0.2) !important;
	border-radius: 50% !important;
	top: 12px !important;
	right: 12px !important;
	transition: all 0.2s ease !important;
	z-index: 10 !important;
}

.leaflet-popup-close-button:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	transform: scale(1.1) !important;
}
.panel .layer-color-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	flex-shrink: 0;
}

.panel .leaflet-control-layers-list label {
	display: flex;
	align-items: center;
}

.panel .leaflet-control-layers label span:last-of-type {
	margin-left: 0;
}

/* Botón Plan de gestión del riesgo de inundaciones (PdGRRI) */
#btn-pdgrri {
	width: calc(100% - 15px);
	display: flex;
	padding: 8px 12px;
	justify-content: center;
	align-items: center;
	min-height: 48px;
	border-radius: 20px;
	border: 1px solid #0D6EFD;
	background: #8BB9FE;
	box-shadow: 0px 4px 4px 0px rgba(89, 89, 89, 0.25);
	margin: 12px 16px 16px 16px;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
	color: inherit;
	font-size: 12pt;
	box-sizing: border-box;
}
#btn-pdgrri span {
	display: block;
	min-width: 0;
	text-align: center;
	line-height: 1.35;
	width: 100%;
}
#btn-pdgrri:hover {
	opacity: 0.9;
}

/* Enlaces de descarga de PDFs (sección aparte, estilo discreto) */
.pdf-downloads {
	margin: 16px 0px 0;
	padding-top: 10px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pdf-download-link {
	display: block;
	padding: 4px 0;
	font-size: 11pt;
	color: #555;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.15s ease;
}
.pdf-download-link:hover {
	color: #284696;
	text-decoration: underline;
}
.pdf-download-link::before {
	content: "↓ ";
	font-size: 10pt;
	opacity: 0.7;
	margin-right: 4px;
}