.div {
    background-size: 750px, 750px;
    background-image: url("../img/pjlimalogoexp.png");
    background-position: center center;
    background-repeat: no-repeat;
}

.hidden {
    opacity: 0;
}


#draw-canvas {
    border: 2px solid #3071a9;
    border-radius: 5px;
    cursor: crosshair;
}


.button:active {
    transform: scale(0.9);
}

.contenedor {
    width: 100%;
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instrucciones {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 18px 0;

}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -14px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #367ebd;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: #3071a9;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #3071a9;
}

input[type=range]:focus::-ms-fill-upper {
    background: #367ebd;
}

/* 1. Contenedor Principal */
.search-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Tipografía limpia */
}

/* 2. Caja de Búsqueda (Input) */
.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    /* Redondeamos un poco más para un look moderno */
    border-radius: 6px; 
    padding: 8px 15px;
    /* Sombra más suave y extendida */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); 
    border: 1px solid #e5e7eb; /* Borde sutil para definir la caja */
    position: relative;
    z-index: 11; /* Para que la sombra caiga sobre la lista */
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #374151; /* Un gris oscuro, menos agresivo que el negro puro */
    padding: 6px 0;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af; /* Iconos un poco más claros */
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: #4b5563;
}

#clearBtnexp {
    font-size: 22px;
    display: none;
}

/* 3. Lista de Sugerencias (Fondo Blanco) */
.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0; 
    background-color: #ffffff; /* CAmbio a Blanco puro */
    border-radius: 0 0 8px 8px; 
    position: absolute;
    width: 100%;
    max-height: 280px; 
    overflow-y: auto; 
    /* Sombra ligeramente más marcada para que resalte sobre el fondo blanco de la página */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 10;
    border: 1px solid #e5e7eb; /* Borde gris muy suave alrededor de la lista */
    border-top: none; /* Quitamos el borde de arriba para que se fusione con el buscador */
}

/* 4. Scrollbar adaptado al tema claro */
.suggestions-list::-webkit-scrollbar {
    width: 8px;
}
.suggestions-list::-webkit-scrollbar-track {
    background: #f9fafb; /* Gris muy, muy claro */
    border-radius: 0 0 8px 0;
}
.suggestions-list::-webkit-scrollbar-thumb {
    background: #d1d5db; /* Gris medio para el agarre */
    border-radius: 10px;
}
.suggestions-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* 5. Elementos de la lista (Texto oscuro) */
.suggestions-list li {
    padding: 12px 18px;
    color: #1f2937; /* Cambio a gris oscuro/casi negro para el texto principal */
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6; /* Línea separadora gris súper suave */
    transition: all 0.15s ease;
    line-height: 1.4;
}

.suggestions-list li:last-child {
    border-bottom: none;
}

/* 6. Estilos para el texto secundario (DNI) */
.suggestions-list li small {
    display: block;
    font-size: 12px;
    color: #6b7280; /* Gris medio para diferenciarlo del nombre */
    margin-top: 3px;
}

/* 7. Hover y Navegación por teclado (Efecto de selección claro) */
.suggestions-list li:hover, 
.suggestions-list li.active {
    background-color: #f3f4f6; /* Un fondo gris perlado al pasar el mouse */
    border-left: 4px solid #3b82f6; /* La misma línea azul a la izquierda */
    padding-left: 14px;
}

/* 8. Resaltado del texto buscado */
.highlightexp {
    font-weight: 700;
    color: #2563eb;  /* Azul un poco más fuerte para que se lea bien en fondo blanco */
}