/* Estilos para el popup de información */
.popup-info-container {
	font-family: Arial, sans-serif;
	font-size: 12px;
	max-height: 35vh;
	max-width: 350px;
	min-width: 250px;
	overflow: auto;
	padding: 8px;
}

.popup-info-title {
	margin: 0 0 10px 0;
	color: #333;
	font-weight: bold;
	font-size: 14px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.popup-title-text {
	flex: 1;
}

.popup-table-icon {
	cursor: pointer;
	font-size: 16px;
	color: #5f6163;
	margin-left: 10px;
	transition: color 0.2s ease;
}

.popup-table-icon:hover {
	color: #333;
	transform: scale(1.1);
}

.popup-info-item {
	margin: 5px 0;
	padding: 2px 0;
	border-bottom: 1px solid #f0f0f0;
}

.popup-info-item:last-child {
	border-bottom: none;
}

.popup-info-label {
	font-weight: bold;
	color: #555;
	display: inline-block;
	min-width: 150px;
}

.popup-info-value {
	color: #333;
	word-wrap: break-word;
}

/* Estilos para popups personalizados con z-index alto */
.custom-popup {
	z-index: 1000 !important;
}

.custom-popup .leaflet-popup-content-wrapper {
	z-index: 1000 !important;
}

.custom-popup .leaflet-popup-tip {
	z-index: 1000 !important;
}

.leaflet-control-fecha {
	background: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: bold;
	box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  }
  
  .warning {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgb(255, 243, 205);
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 1000;
}

.warning.show {
    opacity: 1;
    transform: translateY(0);
}

.error {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgb(248, 215, 218);
    color: rgb(132, 32, 41);
    padding: 12px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 1000;
}

.error.show {
    opacity: 1;
    transform: translateY(0);
}
.success {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgb(209, 231, 221);
    color: rgb(15, 81, 50);
    padding: 12px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 1000;
}

.success.show {
    opacity: 1;
    transform: translateY(0);
}

.info {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgb(207, 244, 232);
    color: rgb(5, 81, 86);
    padding: 12px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 1000;
}

.info.show {
    opacity: 1;
    transform: translateY(0);
}