body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('panal.png');
    background-color: #fcfbf4; /* Se mantiene igual, es un buen tono base */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #4a3828; /* NUEVO: Marrón cálido oscuro en lugar de verde oliva */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.main-container {
    max-width: 900px;
    width: 100%;
    /* NUEVO: Un tono crema un poco más cálido para el fondo */
    background: rgba(253, 250, 242, 0.96); 
    padding: 30px;
    border-radius: 15px;
    /* NUEVO: Sombra marrón cálida en lugar de verdosa */
    box-shadow: 0 4px 20px rgba(74, 56, 40, 0.25); 
    /* NUEVO: Borde beige cálido */
    border: 1px solid #d6cfbd; 
}

header {
    text-align: center;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 5px;
}

h1 {
    /* NUEVO: Un dorado marrón rico, como miel oscura */
    color: #8a5f1c; 
    font-size: 2.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(255, 235, 180, 0.5); /* Un ligero brillo */
}

h3 {
    /* NUEVO: Tono marrón medio, más suave */
    color: #91775a; 
    font-weight: normal;
}

.control-panel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* NUEVO: Un fondo beige más cálido, tipo cera */
    background-color: #f8f2e0; 
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    /* NUEVO: Borde a juego */
    border: 1px solid #e0d6c0; 
}

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

label {
    margin-bottom: 8px;
    font-weight: bold;
    /* NUEVO: Usamos el color de texto principal */
    color: #4a3828; 
}

select {
    padding: 10px;
    border-radius: 5px;
    /* NUEVO: Borde más cálido */
    border: 1px solid #c7c0a8; 
    font-size: 16px;
    min-width: 180px;
    background-color: #ffffff;
    color: #333;
}

select:focus {
    outline: none;
    border-color: #e0a12b; /* Acento dorado al hacer foco */
}

button {
    /* NUEVO: Color ámbar intenso, más parecido a la miel que el amarillo anterior */
    background-color: #e0a12b; 
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    font-weight: bold;
    margin-top: 15px;
    /* NUEVO: Sombra más cálida */
    text-shadow: 0 1px 2px rgba(78, 51, 0, 0.3);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button:hover {
    /* NUEVO: Un tono ámbar más oscuro y rico al pasar el mouse */
    background-color: #c98d1f; 
    transform: translateY(-1px);
}

.result-box {
    /* NUEVO: Cambio total del verde a un esquema dorado/miel */
    background-color: #fff7e0; /* Fondo amarillo pálido */
    border-left: 5px solid #ffc107; /* Borde dorado brillante */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #5c4500; /* Texto marrón dorado */
}

.hidden {
    display: none;
}

.map-container {
    position: relative;
    width: 100%;
    /* NUEVO: Borde marrón oscuro a juego con el texto */
    border: 3px solid #4a3828; 
    border-radius: 8px;
    overflow: hidden;
    background-color: #ddd;
    display: inline-block;
}

#mapaImagen {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    /* Opcional: un filtro sepia muy ligero para que el mapa se integre mejor si es muy azulado */
    /* filter: sepia(10%); */
}

#miCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}











