/* CSS - Cascading Style Sheet */
/* Palette color codes */
/* Palette URL: http://paletton.com/#uid=13p0u0kex8W2uqu8af7lEqaulDE */

/* Feel free to copy&paste color codes to your application */
color-primary-0 {
	color: #4B0082;
	/* Índigo oscuro */
}

/* Color primario principal */
.color-primary-1 {
	color: #FFD700;
	/* Dorado */
}

.color-primary-2 {
	color: #7A5A9C;
	/* Índigo más claro */
}

.color-primary-3 {
	color: #2D6D82;
	/* Azul */
}

.color-primary-4 {
	color: #108FB9;
	/* Azul celeste */
}

/* Códigos de color RGBa */
.rgba-primary-0 {
	color: rgba(75, 0, 130, 1);
	/* Índigo */
}

.rgba-primary-1 {
	color: rgba(255, 215, 0, 1);
	/* Dorado */
}

.rgba-primary-2 {
	color: rgba(122, 90, 156, 1);
	/* Índigo más claro */
}

.rgba-primary-3 {
	color: rgba(45, 109, 130, 1);
	/* Azul */
}

.rgba-primary-4 {
	color: rgba(16, 143, 185, 1);
	/* Azul celeste */
}

/* Generated by Paletton.com Â© 2002-2014 */
/* http://paletton.com */




:root {
	--color-0: rgb(4, 2, 129);
	/* Color principal de fondo */
	--color-1: rgb(45, 109, 130, 1);
	/* Color dorado de acento */
	--color-2: rgba(122, 90, 156, 1);
	/* Color índigo claro para hover */
	--color-3: rgba(45, 109, 130, 1);
	/* Color de borde y iconos */
	--color-4: rgba(255, 255, 255, 1);
	/* Texto en blanco */

	--bg-color: var(--color-0);
	/* Fondo usando índigo */
	--bg-color-2: var(--color-1);
	/* Fondo secundario dorado */
	--bg-hover-color: var(--color-2);
	/* Color de hover índigo claro */

	--font-color: var(--color-4);
	/* Color del texto en blanco */
	--border-color: var(--color-3);
	/* Color del borde */

	--measurement-detail-node-bg-light: var(--color-1);
	--measurement-detail-node-bg-dark: var(--color-2);
	--measurement-detail-area-bg-color: #F0F0F0;
}

#potree_sidebar_container {
	position: absolute;
	z-index: 0;
	width: 350px;
	height: 100%;
	overflow-y: scroll;
	font-size: 85%;
	border-right: 1px solid var(--border-color);
	background-color: var(--bg-color);
	box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease-in-out;
	border-radius: 0;
}

#sidebar_root {
	color: var(--font-color);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1em;
	padding: 10px;
}

#sidebar_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

#sidebar_header #potree_version_number {
	color: var(--font-color);
	font-size: 0.9em;
}

#potree_languages {
	font-size: 0.9em;
	color: var(--font-color);
}

.potree_failpage {
	width: 100%;
	height: 100%;
	background-color: white;
	position: absolute;
	margin: 15px;
}

.potree_failpage a {
	color: initial !important;
	text-decoration: underline !important;
}

.potree_info_text {
	color: white;
	font-weight: bold;
	text-shadow: 1px 1px 1px black,
		1px -1px 1px black,
		-1px 1px 1px black,
		-1px -1px 1px black;
}

.potree_message {
	width: 500px;
	background-color: var(--bg-color);
	padding: 5px;
	margin: 5px;
	border-radius: 4px;
	color: var(--font-color);
	font-family: Arial;
	opacity: 0.8;
	border: 1px solid black;
	display: flex;
	overflow: auto;
}

.potree_message_error {
	background-color: red;
}

#potree_description {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 1000;
}

.potree_sidebar_brand {
	margin: 1px 20px;
	line-height: 2em;
	font-size: 100%;
	font-weight: bold;
	position: relative;
	display: flex;
	flex-direction: row;
}

#potree_sidebar_container a {
	color: #8Aa1c4;
}

.potree_menu_toggle {
	position: absolute;
	float: left;
	margin: 8px 8px;
	background: none;
	width: 2.5em;
	height: 2.5em;
	z-index: 100;
	cursor: pointer;
}

#potree_map_toggle {
	position: absolute;
	float: left;
	margin: 8px 8px;
	background: none;
	width: 2.5em;
	height: 2.5em;
	z-index: 100;
	top: calc(2.5em + 8px);
	cursor: pointer;
}

#potree_render_area {
	position: absolute;
	/*background: linear-gradient(-90deg, red, yellow);*/
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	overflow: hidden;
	z-index: 1;
	-webkit-transition: left .35s;
	transition: left .35s;
}

.potree-panel {
	border: 1px solid black;
	border-radius: 0.4em;
	padding: 0px;
	background-color: var(--bg-light-color);
}

.potree-panel-heading {
	background-color: var(--bg-dark-color);
}

a:hover,
a:visited,
a:link,
a:active {
	color: #ccccff;
	text-decoration: none;
}

.annotation {
	position: absolute;
	padding: 10px;
	opacity: 0.5;
	transform: translate(-50%, -30px);
	will-change: left, top;
}

.annotation-titlebar {
	color: white;
	background-color: black;
	border-radius: 1.5em;
	border: 1px solid rgba(255, 255, 255, 0.7);
	font-size: 1em;
	opacity: 1;
	margin: auto;
	display: table;
	padding: 1px 8px;
	cursor: pointer;
}

.annotation-expand {
	color: white;
	font-size: 0.6em;
	opacity: 1;
}

.annotation-action-icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	line-height: 1.5em;
	text-align: center;
	font-family: Arial;
	font-weight: bold;
	cursor: pointer;
}

.annotation-action-icon:hover {
	filter: drop-shadow(0px 0px 1px white);
	width: 24px;
	height: 24px;
	cursor: pointer;

}

.annotation-item {
	color: white;
	background-color: black;
	opacity: 0.5;
	border-radius: 1.5em;
	font-size: 1em;
	line-height: 1.5em;
	padding: 1px 8px 0px 8px;
	font-weight: bold;
	display: flex;
	cursor: default;
}

.annotation-item:hover {
	opacity: 1.0;
	box-shadow: 0 0 5px #ffffff;
}

.annotation-main {
	display: flex;
	flex-grow: 1;
}

.annotation-label {
	display: inline-block;
	height: 100%;
	flex-grow: 1;
	user-select: none;
	-moz-user-select: none;
	z-index: 100;
	vertical-align: middle;
	line-height: 1.5em;
	font-family: Arial;
	font-weight: bold;
	cursor: pointer;
	white-space: nowrap;
}

.annotation-description {
	position: relative;
	color: white;
	background-color: black;
	padding: 10px;
	margin: 5px 0px 0px 0px;
	border-radius: 4px;
	display: none;
	max-width: 500px;
	width: 500px;
}

.annotation-description-close {
	filter: invert(100%);
	float: right;
	opacity: 0.5;
	margin: 0px 0px 8px 8px;
}


.annotation-description-content {
	color: white;
}

.annotation-icon {
	width: 20px;
	height: 20px;
	filter: invert(100%);
	margin: 2px 2px;
	opacity: 0.5;
}


canvas {
	width: 100%;
	height: 100%
}

body {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.axis {
	font: 10px sans-serif;
	color: var(--font-color);
}

.axis path {
	fill: rgba(255, 255, 255, 0.5);
	stroke: var(--font-color);
	shape-rendering: crispEdges;
	opacity: 0.7;
}

.axis line {
	fill: rgba(255, 255, 255, 0.5);
	stroke: var(--font-color);
	shape-rendering: crispEdges;
	opacity: 0.1;
}

.tick text {
	font-size: 12px;
}

.scene_header {
	display: flex;
	cursor: pointer;
	padding: 2px;
}

.scene_content {
	padding: 5px 0px 5px 0px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.measurement_content {
	padding: 5px 15px 5px 10px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.propertypanel_content {
	padding: 5px 15px 5px 10px;
	/*background-color: rgba(0, 0, 0, 0.4);*/
}

.measurement_value_table {
	width: 100%;
}

.coordinates_table_container table td {
	width: 33%;
	text-align: center;
}

#scene_object_properties {
	margin: 0px;
}




.pv-panel-heading {
	padding: 4px !important;
	display: flex;
	flex-direction: row
}

.pv-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pv-menu-list>* {
	margin: 4px 20px;
}

.ui-slider {
	margin-top: 5px;
	margin-bottom: 10px;
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}


.ui-selectmenu-button.ui-button {
	width: 100% !important;
}

.pv-menu-list>li>.ui-slider {
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}

.pv-menu-list .ui-slider {
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black !important;
}

.ui-slider-handle {
	border: 1px solid black !important;
}

.ui-widget {
	box-sizing: border-box
}

.panel-body>li>.ui-slider {
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}

.panel-body>div>li>.ui-slider {
	background-color: var(--color-1) !important;
	background: none;
	border: 1px solid black;
}

.pv-select-label {
	margin: 1px;
	font-size: 90%;
	font-weight: 100;
}

.dropdown-content {
	position: relative;
	width: 100%;
}

.button-icon:hover {
	/*background-color:	#09181C;*/
	filter: drop-shadow(0px 0px 4px white);
}

.ui-widget-content {
	/*color: var(--font-color) !important;*/
}

.accordion>h3 {
	background-color: var(--bg-color-2) !important;
	background: #f6f6f6 50% 50% repeat-x;
	border: 1px solid black;
	color: var(--font-color-2);
	cursor: pointer;
	margin: 2px 0 0 0;
	padding: 4px 10px 4px 30px;
	box-shadow: 0px 3px 3px #111;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size: 1em;
}

.accordion>h3:hover {
	filter: brightness(125%);
}

.accordion-content {
	padding: 0px 0px !important;
	border: none !important;
}

.icon-bar {
	height: 4px !important;
	border: 1px solid black;
	background-color: white;
	border-radius: 2px;
}

.canvas {
	-webkit-transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
	transition: top .35s, left .35s, bottom .35s, right .35s, width .35s;
}

#profile_window {
	background-color: var(--bg-color);
}

#profile_titlebar {
	background-color: var(--bg-color-2);
	color: var(--font-color-2);
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
	font-size: 1em;
	font-weight: bold;
}

#profile_window_title {
	position: absolute;
	margin: 5px;
}

.profile-container-button {
	cursor: pointer;
}

.profile-button:hover {
	background-color: #0000CC;
}

.unselectable {
	user-select: none;
}

.selectable {
	user-select: text;
}

.divider {
	position: relative;
	text-align: center;
	margin: 20px 0;
	height: 1px;

}

.divider>span {
	position: relative;
	padding: 0 10px;
	background: var(--bg-color);
	color: var(--font-color);
	z-index: 1;
}

.divider>span:before,
.divider>span:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 9999px;
	height: 1px;
	background: var(--border-color);
}

.divider>span:before {
	right: 100%;
	margin-right: 10px;
}

.divider>span:after {
	left: 100%;
	margin-left: 10px;
}


.ol-dragbox {
	background-color: rgba(255, 255, 255, 0.4);
	border-color: rgba(100, 150, 0, 1);
	border: 1px solid red;
}

.text-icon {
	opacity: 0.5;
	height: 24px;
}

.text-icon:hover {
	opacity: 1.0;
}

.input-grid-cell {
	flex-grow: 1;
	margin: 0px 3px 0px 3px;
}

.input-grid-label {
	flex-grow: 1;
	margin: 0px 3px 0px 3px;
	text-align: center;
	font-weight: bold;
}

.input-grid-cell>input {
	width: 100%
}

.invalid_value {
	color: #e05e5e;
}

/** 
 * OVERRIDES
 */

.ui-spinner-input {
	color: black;
}

.jstree-themeicon-custom {
	background-size: 16px !important;
}

.jstree-default .jstree-clicked {
	/*background-color: #ffffff !important;*/
	background-color: #34494f !important;
}

.jstree-default .jstree-hovered {
	background-color: #34494f !important;
}

.jstree-anchor {
	width: 100% !important;
}

.ui-state-default {
	background: #a6a9aa !important;
	border: 1px solid black;
	color: black;
}

.ui-state-active {
	background: #c6c9ca !important;
	color: black !important;
}

.cesium-viewer .cesium-viewer-cesiumWidgetContainer {
	position: absolute;
	height: 100%;
	width: 100%;
}

.zs_widget {
	padding: 2px;
	height: 4em;
	user-select: none;
}

.zs_core {
	overflow: hidden;
	position: relative;
	height: 100%;
}

.zs_handle {
	position: absolute;
	top: 0px;
	bottom: 0px;
	border: 1px solid black;
	border-radius: 3px;
	background-color: rgb(166, 169, 170);
	width: 8px;
	user-select: none;
	width: 1.2em;
	height: 1.2em;
	top: calc(50% - 0.6em);
}

.zs_stretch {
	position: absolute;
	top: 0px;
	bottom: 0px;
	border: 1px solid black;
	border-radius: 3px;
	background-color: rgb(166, 169, 170);
	width: 8px;
	user-select: none;
	width: 1.2em;
	height: 1.2em;
	top: calc(50% - 0.6em);
	color: black;
	font-weight: bold;
	font-size: 1.2em;
	font-family: arial;
}

.zs_handle:hover {
	background-color: lightgreen;
}

#menu_toggle {
	display: none;
}

#potree_sidebar_container {
	display: none;
}

.potree_toolbar_label {
	overflow: visible;
	text-align: center;
	font-size: smaller;
	opacity: 0.9;
	color: rgb(255, 255, 255);
	/* Color dorado */
}

.potree_toolbar_separator {
	background: rgb(7, 7, 131, 1);
	/* Color índigo */
	padding: 0px;
	margin: 0 5px;
	width: 0.1px;
}

/* Ajustes para el Toolbar y elementos */
#potree_toolbar {
	position: absolute;
	z-index: 10000;
	left: 0px;
	top: 0px;
	width: 100%;
	background: rgba(7, 7, 131, 1);
	color: white;
	padding: 0.3em 0.8em;
	font-family: "system-ui";
	border-radius: 0em 0em 0.3em 0.3em;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: nowrap;
	transform-origin: top left;
}

.potree_toolbar_item {
	display: flex;
	align-items: center;
	margin: 5px;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	position: absolute;
	background-color: #7A5A9C;
	/* Fondo índigo más claro */
	min-width: 200px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	padding: 10px;
	display: none;
	color: white;
	/* Texto en blanco */
}

.dropdown:hover .dropdown-content {
	display: block;
}

.icon-button img {
	width: 20px;
	height: 20px;
}


.slider {
	width: 150px;
}

@media (max-width: 1200px) {
	#potree_toolbar {
		transform: scale(0.9);
	}
}

@media (max-width: 1000px) {
	#potree_toolbar {
		transform: scale(0.8);
	}
}

@media (max-width: 800px) {
	#potree_toolbar {
		transform: scale(0.7);
	}
}

@media (max-width: 600px) {
	#potree_toolbar {
		transform: scale(0.6);
	}
}

@media (max-width: 400px) {
	#potree_toolbar {
		transform: scale(0.5);
	}


	.potree_toolbar_item {
		justify-content: space-between;
		width: 100%;
	}

	.dropdown-content {
		position: relative;
		width: 100%;
	}
}

/* Nuevos estilos para los controles de ajustes agrupados */
.slider-group {
	margin-bottom: 5px;
}

.slider-group label {
	display: block;
	margin-bottom: 2px;
	color: white;
}


.zs_inside {
	position: absolute !important;
	width: 100%;
	border: 1px solid black;
	background-color: white;
	top: calc(50% - 0.326em);
	height: 0.652em;
	cursor: zoom-in;
}

.zs_outside {
	position: absolute !important;
	width: 100%;
	background-color: var(--color-1) !important;
	top: calc(50% - 0.326em);
	height: 0.652em;
	cursor: zoom-in;
}

.zs_visible_range_label {
	position: absolute;
	bottom: 0px;
	pointer-events: none;
}

.zs_visible_range_label_left {
	left: 0px;
}

.zs_visible_range_label_right {
	right: 0px;
}

.zs_chosen_range_label {
	position: absolute;
	pointer-events: none;
}

.potree_toolbar_item {
	justify-content: space-between;
	width: 100%;
}

#potree_sidebar_container {
	scrollbar-color: var(--color-1) var(--bg-color);
	scrollbar-width: thin;
}

::-webkit-scrollbar {
	width: 6px;
	background-color: var(--bg-color);
}

::-webkit-scrollbar-track {}

::-webkit-scrollbar-thumb {
	background-color: var(--color-1);
}

.propertypanel_content .heading {
	font-weight: bold;
	padding-top: 0.6em;
	padding-bottom: 0.1em;
}

#geotagForm {
    position: fixed;
    top: 0px;
    right: 0px;
    width: min(360px, 100vw);
    height: auto;
    max-height: 100vh;
    background: #1a237e;
    color: white;
    padding: 15px;
    border-radius: 0; /* Quita cualquier redondeo en la esquina superior */
    box-shadow: -5px 0 10px rgba(0,0,0,0.3);
    transform: translateX(0); /* Asegura que no tenga desplazamiento */
    transition: transform 0.3s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#geotagForm h3 {
	margin-top: 0;
	font-size: 18px;
	margin-bottom: 5px;
	color: white;
}

.form-group {
	margin-bottom: 5px;
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: bold;
	margin-bottom: 5px;
	color: white;
}

.form-group input {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #333;
	color: white;
}

.form-actions {
	text-align: right;
	margin-top: 10px;
}

.form-actions button {
	padding: 8px 12px;
	border: none;
	border-radius: 4px;
	background-color: #007BFF;
	color: white;
	cursor: pointer;
}

.form-actions button:hover {
	background-color: #0056b3;
}

.potree_toolbar_item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.button-group {
	display: flex;
	gap: 10px;
}

.vertical-separator {
	width: 2px;
	height: 25px;
	background-color: white;
	margin: 0 10px;
}

.icon-button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.dropdown-left {
	margin-right: 10px;
}

.dropdown-select {
	background-color: #002060;
	color: white;
	border: 1px solid white;
	border-radius: 4px;
	padding: 5px;
	font-size: 14px;
	cursor: pointer;
}

.dropdown-menu {
	position: relative;
	margin-left: 10px;
}

.dropdown-menu .icon-button {
	display: flex;
	align-items: center;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	/* El cuadro comienza justo debajo del botón */
	right: 0;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	padding: 10px;
	z-index: 10;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	min-width: 200px;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.dropdown-menu:hover .dropdown-content,
.dropdown-content:hover {
	display: block;
	opacity: 1;
}

.dropdown-content {
	pointer-events: auto;
	/* Permitir interacción con el contenido */
}

.dropdown-menu {
	position: relative;
}

.dropdown-content:hover {
	transition-delay: 0.2s;
	/* Permitir suficiente tiempo antes de desaparecer */
}

.slider-group {
	margin-top: 10px;
}

.slider {
	width: 100%;
}

#potree_toolbar {
	height: 40px;
	max-height: 40px;
}

body {
	background-color: #002060;
	/* Fondo consistente con la interfaz derecha */
	color: white;
}
#geotagForm {
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 1000;
	background: rgba(7, 7, 131, 1);
	border: 1px solid white;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(7, 7, 131, 1);
	max-width: 300px;
	color: white;
}

#geotagForm h3 {
	margin-top: 0;
	font-size: 18px;
	margin-bottom: 10px;
	color: white;
}

.form-group {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: bold;
	margin-bottom: 5px;
	color: white;
}

.form-group input {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #333;
	color: white;
}

.form-actions {
	text-align: right;
	margin-top: 10px;
}

.form-actions button {
	padding: 8px 12px;
	border: none;
	border-radius: 4px;
	background-color: #007BFF;
	color: white;
	cursor: pointer;
}

.form-actions button:hover {
	background-color: #0056b3;
}

.potree_toolbar_item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.button-group {
	display: flex;
	gap: 10px;
}

.vertical-separator {
	width: 2px;
	height: 25px;
	background-color: white;
	margin: 0 10px;
}

.icon-button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.dropdown-left {
	margin-right: 10px;
}

.dropdown-select {
	background-color: #002060;
	color: white;
	border: 1px solid white;
	border-radius: 4px;
	padding: 5px;
	font-size: 14px;
	cursor: pointer;
}

.dropdown-menu {
	position: relative;
	margin-left: 10px;
}

.dropdown-menu .icon-button {
	display: flex;
	align-items: center;
}

.dropdown-content {
display: none;
position: absolute;
top: 100%; /* El cuadro comienza justo debajo del botón */
right: 0;
background-color: var(--bg-color);
border: 1px solid var(--border-color);
padding: 10px;
z-index: 10;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
min-width: 200px;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}

.dropdown-menu:hover .dropdown-content,
.dropdown-content:hover {
display: block;
opacity: 1;
}

.dropdown-content {
pointer-events: auto; /* Permitir interacción con el contenido */
}
.dropdown-menu {
position: relative;
}
.dropdown-content:hover {
transition-delay: 0.2s; /* Permitir suficiente tiempo antes de desaparecer */
}

.slider-group {
	margin-top: 10px;
}

.slider {
	width: 100%;
}

#potree_toolbar {
	height: 40px;
	max-height: 40px;
}

body {
	background-color: #002060; /* Fondo consistente con la interfaz derecha */
	color: white;
}

.form-select {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    outline: none;
    appearance: none; /* Elimina el estilo por defecto del navegador */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

/* Agrega una pequeña flecha al dropdown */
.form-select {
    background-image: linear-gradient(45deg, transparent 50%, white 50%),
                      linear-gradient(135deg, white 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 15px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px; /* Asegura espacio para la flecha */
}

/* Opciones dentro del dropdown */
.form-select option {
    background: whitesmoke;  /* Fondo oscuro */
    color: black;
    padding: 5px;
    font-size: 14px;
}

/* Corrige en Firefox */
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 white;
}

/* 🔹 Estilos base para todos los botones */
button {
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* 🔹 Botón de Guardar */
.save-button {
    background: #26418f;
    color: white;
    width: 48%;
}

.save-button:hover {
    background: #3657c1;
}

/* 🔹 Botón de Borrar */
.delete-button {
    background: #b71c1c;
    color: white;
    width: 48%;
}

.delete-button:hover {
    background: #e53935;
}

/* 🔹 Botón de Atrás */
.back-button {
    background: transparent;
    color: white;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 🔹 Botón de Cerrar (X) */
.close-button {
    background: transparent;
    color: white;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.2);
}
.save-button {
    background: #26418f;
    color: white;
    width: 48%;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.save-button.loading {
    background: #1b2e6a;
    cursor: not-allowed;
}

/* 🔹 Animación de carga (spinner) */
.loader {
    width: 16px;
    height: 16px;
    border: 3px solid white;
    border-radius: 50%;
    border-top: 3px solid transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 🔹 Contenedor superior más compacto */
.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* Reducido */
    padding-bottom: 5px; /* Separación mínima */
}

/* 🔹 Botón de cerrar y atrás más pequeños */
.control-button {
    background: transparent;
    color: white;
    border: none;
    font-size: 12px; /* Reducido */
    cursor: pointer;
    padding: 4px; /* Reducido */
    border-radius: 50%;
    transition: background 0.2s;
    width: 24px; /* Más compacto */
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 🔹 Alinear Geotag y PK en una línea */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* 🔹 Estilo del título */
.title-text {
    font-size: 14px; /* Más pequeño */
    font-weight: bold;
}

/* 🔹 Estilo del PK */
.pk-box {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 35, 126, 0.95); /* Azul oscuro con 85% de opacidad */
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 9999;
    width: 280px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.custom-alert-text {
    font-size: 15px;
    margin-bottom: 12px;
}

.custom-alert-button {
    background: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.custom-alert-button:hover {
    background: rgba(255, 255, 255, 0.2);
}
#btnNavegacionFP,
#btnNavegacionOrbita {
  background: none;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* Estilo cuando tienen la clase `active` */
#btnNavegacionFP.active,
#btnNavegacionOrbita.active {
  background-color: #1976d2;
  color: #fff;
  border-color: #135ba1;
}
.btn-navegacion {
	position: relative;           /* para posicionar el pseudo-elemento */
	padding: 8px 12px;
	background: #eee;
	border: 1px solid #ccc;
	cursor: pointer;
  }
  
/* 2) Un única definición de icon-button */
.icon-button {
	position: relative;         /* para que ::after se posicione respecto a él */
	display: inline-flex;       /* mantenemos flex para centrar el <img> */
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
  }
  
  /* 3) Creamos el tooltip con ::after, posicionado debajo */
  .icon-button[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	top: 100%;                  /* justo debajo del botón */
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: rgba(0,0,0,0.75);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	font-size: 12px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
	z-index: 10001;             /* encima de todo */
  }
  
  /* 4) Al hacer hover, lo mostramos */
  .icon-button[data-tooltip]:hover::after {
	opacity: 1;
  }