html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    background-image: url("../img/fondo.jpg");
    background-size: auto;
    background-position: top left;
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 700px; /* Igual que el dashboard */
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}


footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    width: 100%;
}



.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff; /* Azul */
    padding: 10px;
    color: white;
    text-align: center;
}

/* Logo */
.logo {
    width: 48px; /* Ajusta el tamaño del logo */
    height: auto;
    margin-right: 15px;
}
@keyframes neon {
    0% { filter: drop-shadow(0 0 10px red); }
    25% { filter: drop-shadow(0 0 10px rgb(171, 15, 202)); }
    50% { filter: drop-shadow(0 0 10px green); }
    75% { filter: drop-shadow(0 0 10px yellow); }
    100% { filter: drop-shadow(0 0 10px red); }
}

.logo {
    animation: neon 5s infinite linear;
}



/* Texto del encabezado */
.header-text {
    text-align: center;
}

.header-text h1 {
    font-size: 44px;
    margin: 0;
}

.header-text p {
    font-size: 24px;
    margin: 0;
}

h1, h2, h3 {
    margin: 10px 0;
}


.btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.btn {
    flex-grow: 1;
    padding: 10px;
    margin: 5px;
    text-align: center;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Hover genérico solo para el botón azul (por defecto) */
.btn:hover:not(.red):not(.orange):not(.green) {
    background: #0056b3; /* Azul más oscuro */
    transform: scale(1.05);
}

.btn.red {
    background: #dc3545;
    color: white;
}

.btn.red:hover {
    background: #bb2d3b; /* Tono más oscuro */
    transform: scale(1.05); /* Pequeño efecto de aumento */
}

/* Botón Naranja (Limpiar) */
.btn.orange {
    background-color: #ff9800; /* Naranja */
    color: white;
}

.btn.orange:hover {
    background-color: #e68900; /* Tono más oscuro */
    transform: scale(1.05); /* Pequeño efecto de crecimiento */
}

/* Botón Verde (Generar QR) */
.btn.green {
    background: #28a745;
    color: white;
}

.btn.green:hover {
    background: #218838; /* Verde más oscuro */
    transform: scale(1.05);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container label {
    font-weight: bold;
}

.form-container input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.terminal-card {
    background: #fff;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.terminal-card a {
    display: inline-block;
    margin-top: 5px;
    text-decoration: none;
    color: #007BFF;
}

.terminal-card .eliminar {
    color: red;
    font-weight: bold;
}




/*#map {
    width: 100% !important;
    height: 500px !important;
    display: block !important;
    background-color: lightgray; 
}*/

/* Ajuste para mapsfree.php - Mapa de pantalla completa en PC */
.maps-page {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#map {
    flex-grow: 1; /* Hace que el mapa ocupe todo el espacio restante */
    height: 100%;
    width: 100%;
    min-height: 100vh;
    background-color: lightgray; /* Solo para depuración */
}

/* Estilos exclusivos para mapsfree.php */
.map-header {
    background-color: #007BFF;
    color: white;
    padding: 5px 0;
    text-align: center;
}

/* Panel de información (trayectoria, usuario, key) */
.map-header .info-panel {
    background: white;
    color: black;
    padding: 8px; /* Reducir padding interno */
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 5px auto; /* Reducir margen exterior */
    max-width: 350px; /* Hacerlo más compacto */
    font-size: 14px; /* Reducir tamaño de texto */
}

/* Panel de controles */
.map-header .controls-panel {
    background: #f8f9fa;
    color: black;
    padding: 8px; /* Menos padding */
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px; /* Menos espacio entre elementos */
    max-width: 350px; /* Hacerlo más compacto */
    margin: 5px auto;
}

/* Ajustar los labels y reducir tamaño de fuente */
.map-header .controls-panel label {
    font-weight: bold;
    font-size: 13px; /* Reducir texto */
    color: black;
}

/* Ajustar los inputs y selects para ocupar menos espacio */
.map-header .controls-panel select,
.map-header .controls-panel input {
    width: 100%;
    padding: 6px; /* Reducir altura */
    font-size: 13px; /* Reducir fuente */
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    color: black;
}

/* Destacar el Key */
.key-highlight {
    font-weight: bold;
    font-size: 14px;
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: inline-block;
}

/* Botón de copiar solo con el icono */
.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #007bff;
    font-size: 16px;
    margin-left: 5px;
    padding: 3px;
}

.copy-btn:hover {
    color: #0056b3;
    transform: scale(1.1);
    transition: 0.2s ease-in-out;
}

.logo {
    width: 150px; /* Ajusta según necesites */
    height: auto;
}



/* Ajuste para móviles */
@media (max-width: 768px) {
   
    #controls-panel {
        width: 90%;
        left: 5%;
        transform: none;
    }
}

