* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    padding: 15px;
	margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

input[type="text"], select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="text"]:focus, select:focus {
    border-color: #007bff;
}

.card-result {
    margin-top: 20px;
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
}

.field-info {
    margin-bottom: 10px;
    font-size: 1rem;
}

.field-info span {
   font-weight: normal;
}

.image-container {
    text-align: center;
    margin-top: 15px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 6px;
    border: 1px solid #ddd;
    display: none;
	
	display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.no-image {
    display: none;
    color: #888;
    font-style: italic;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    h2 {
        font-size: 1.2rem;
    }
}

.top-logo-container {
    display: flex;
    justify-content: center;
    width: 100%; /* Asegura que ocupe todo el ancho de la pantalla */
    box-sizing: border-box;
    padding-top: 20px;
}

.top-logo {
    max-width: 150px;
    width: 100%; /* Se adapta bien en pantallas pequeñas */
    height: auto;
}

.zoomable-image {
    max-width: 150px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoomable-image.zoomed {
    transform: scale(2.5); /* Ajusta este valor para hacerla más o menos grande */
    z-index: 1000;
    position: relative;
}

/* styles.css */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px 20px 20px;
    font-family: sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
}

.footer-section p, .footer-section li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 0.8rem;
    color: #888;
}

/* Adaptabilidad para celulares */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section h3 {
        border-bottom: none;
    }
}

/* styles.css */
.minimal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
}

/* Estilo para el ícono de las tres barras (hamburguesa) */
.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* Estilo básico del menú lateral o desplegable */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px; /* Oculto fuera de la pantalla a la izquierda */
    width: 250px;
    height: 100%;
    background-color: #f9f9f9;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    padding-top: 60px;
    z-index: 100;
}

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

.side-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.side-menu li a:hover {
    background-color: #eee;
}

/* Clase para abrir el menú (se activará con JavaScript) */
.side-menu.active {
    left: 0;
}





}

.developer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.developer-credit a:hover {
    color: #fff; /* Se ilumina levemente al pasar el mouse */
    text-decoration: underline;
}

/* En caso de pantallas pequeñas, se apilan centrados */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}


/* styles.css */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.select-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Suaviza el scroll en iOS */
}

#ddlResultados {
    min-width: 100%; /* Asegura que ocupe al menos el ancho, pero pueda crecer */
    width: auto;     /* Permite que se expanda si el texto es muy largo */
}



/* Contenedor que agrupa el input y el botón */
.search-container {
    position: relative;
    display: inline-block; /* O width: 100% si quieres que ocupe todo el ancho */
    width: 100%;
}

/* Ajustamos el input para que deje espacio a la derecha para la X */
#txtPorPalabra {
    width: 100%;
    padding-right: 35px; /* Espacio para que el texto no quede debajo de la X */
    box-sizing: border-box;
    /* Aquí puedes mantener tus estilos de padding vertical, bordes, etc. */
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
}

/* Estilo y posición del botón X */
.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    padding: 0 5px;
    display: none; /* Oculto por defecto cuando el input está vacío */
    line-height: 1;
}

/* Color al pasar el mouse por encima de la X */
.clear-btn:hover {
    color: #333;
}


.maps-float {
    position: fixed;
    bottom: 95px; /* 25px (del de abajo) + 60px (su alto) + 10px de separación */
    right: 25px;  /* Misma distancia a la derecha para que estén alineados */
    background-color: #DB4437;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.maps-float:hover {
    background-color: #c53929;
    transform: scale(1.05);
}