/* ------------------------------------- */
/* ESTILOS BASE Y RESET PARA MOVIL       */
/* ------------------------------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    max-width: 600px; /* Limita el ancho máximo para tabletas/escritorio */
    margin: 0 auto;
    padding: 15px;
}

h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.8em; /* Tamaño de fuente relativo */
}

/* ------------------------------------- */
/* ESTILOS DE FORMULARIO E INPUTS        */
/* ------------------------------------- */
.form-group {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

label {
    display: block; /* Ocupa todo el ancho para una mejor experiencia táctil */
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
    color: #555;
}

.full-width-input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box; /* Incluye padding y borde en el ancho total */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em; /* Inputs más grandes para los dedos */
}

/* ------------------------------------- */
/* ESTILOS DE BOTONES                    */
/* ------------------------------------- */
button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.calcular-btn {
    background-color: #ffc107; /* Amarillo taxi */
    color: #333;
    font-weight: bold;
}

.calcular-btn:hover {
    background-color: #e0a800;
}

.solicitar-btn {
    background-color: #28a745; /* Verde para acción principal */
    color: white;
    font-weight: bold;
}

.solicitar-btn:hover {
    background-color: #1e7e34;
}

/* ------------------------------------- */
/* MAPA Y PANTALLAS DE RESULTADOS        */
/* ------------------------------------- */
#map {
    height: 350px; /* Altura adecuada para móviles */
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.message-box, .result-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.message-box {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
}

.result-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.result-box h2 {
    color: #155724;
}

.costo-final {
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

/* ------------------------------------- */
/* PANTALLA DE SOLICITUD / LLAMADA       */
/* ------------------------------------- */
.call-screen {
    text-align: center;
    padding: 30px 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.phone-number {
    display: block;
    font-size: 2.2em; /* Número de teléfono grande y legible */
    font-weight: bold;
    color: #28a745;
    text-decoration: none; /* Quitar subrayado del enlace telefónico */
    margin: 15px 0;
}

.phone-number:hover {
    color: #1e7e34;
}

.nota {
    font-size: 0.9em;
    color: #6c757d;
}

/* ------------------------------------- */
/* MEDIA QUERIES (Ajustes finos para pantallas muy pequeñas) */
/* ------------------------------------- */
@media (max-width: 400px) {
    h1 {
        font-size: 1.5em;
    }

    .phone-number {
        font-size: 1.8em;
    }
}