/* Definición de variables de color con el azul #2413FC */
:root {
    --color-primary: #2413FC; /* ¡Nuevo Azul Fuerte para botones! */
    --color-secondary: #1C0FCD; /* Azul más oscuro (Hover) */
    --color-background: #ecf0f1; /* Fondo muy claro */
    --color-card-bg: #ffffff;
    --color-text-dark: #2c3e50;
    --color-text-light: #7f8c8d;
    --color-price: #e74c3c; /* Rojo para destacar el precio */
    --color-success: #2ecc71;
    --color-error-bg: #f8d7da; /* Fondo de error suave */
    --color-error-text: #721c24; /* Texto de error */
    --color-disclaimer-bg: #E3F2FD; /* Azul muy claro para el descargo */
    --color-disclaimer-text: #1976D2; /* Texto en azul primary para el descargo */
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--color-background);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
}

h1 {
    font-weight: 900; 
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 25px;
}

.disclaimer {
    background-color: var(--color-disclaimer-bg);
    color: var(--color-disclaimer-text); 
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9em;
    font-weight: 700;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--color-text-dark);
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 10px; 
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: var(--color-primary);
    outline: none;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 30px;
    background-color: var(--color-primary); 
    color: white;
    border: none;
    border-radius: 15px; 
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 10px rgba(36, 19, 252, 0.4); 
    font-family: 'Nunito', sans-serif; 
}

button:hover {
    background-color: var(--color-secondary);
}

button:disabled {
    background-color: var(--color-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.resultados {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.resultados h2 {
    font-weight: 900;
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-background);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 300px; 
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.embedded-map {
    width: 100%;
    height: 100%;
    display: block;
}

.tarifa-card {
    background-color: #f8f9fa; 
    padding: 15px;
    border-radius: 12px; 
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid; 
    /* Se remueve el display: flex para eliminar el ícono de carrito */
}

.tarifa-card h3 {
    margin: 0;
    color: var(--color-text-dark);
    font-weight: 900;
    font-size: 1.2em;
}

/* Se remueve .icon-wrapper y sus estilos */

.tarifa-card p {
    margin: 5px 0;
    color: var(--color-text-light);
}

.tarifa-card .price {
    font-size: 1.6em;
    font-weight: 900;
    color: var(--color-price);
}

.note {
    font-size: 0.75em;
    color: var(--color-text-light);
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    text-align: center;
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 0.8em;
    color: var(--color-text-light);
    border-top: 1px solid #eee;
}

.disclaimer[style*="background-color: #f8d7da"] {
    background-color: var(--color-error-bg) !important;
    color: var(--color-error-text) !important;
    border: 1px solid #f5c6cb;
    font-weight: 400 !important;
}

/* Estilos para el autocompletado de jQuery UI (si aún lo tienes) */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9em;
}

.ui-menu-item-wrapper {
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.ui-state-active {
    background-color: #f0f0ff !important; 
    border: none !important;
    color: var(--color-text-dark) !important;
}

@media (max-width: 500px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 20px;
        border-radius: 10px;
    }
    h1 {
        font-size: 1.8em;
    }
}


/* Estilos para el contenedor del logo */
.logo-container {
    text-align: center; 
    margin-bottom: 25px; 
    margin-top: 10px; 
}

.app-logo {
    max-width: 60px; /* Ajuste de tamaño del logo */
    height: auto; 
    display: block; 
    margin: 0 auto; 
    border-radius: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

/* Estilos para el contenedor del boton de ubicacion */
.location-button-container {
    text-align: center; 
    margin-top: 10px; 
    margin-bottom: 20px; 
}

#usarUbicacion {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background-color: #1C0FCD; 
    color: white; 
    cursor: pointer;
    font-size: 1em;
    display: inline-flex; 
    align-items: center;
    gap: 8px; 
    transition: background-color 0.3s ease;
}

#usarUbicacion:hover {
    background-color: #1C0FCD;
}

#usarUbicacion:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Nota: Debes mantener todos tus estilos anteriores para que el diseño completo funcione. */
/* Incluye los estilos para .container, input, button, .tarifa-card, etc. */