/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor principal */
.contenedor {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin-top: 100px;     /* Margen superior */
    margin-bottom: 50px;  /* Margen inferior */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Encabezado */
.encabezado {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #007bff; /* Línea decorativa */
    padding-bottom: 15px; /* Espaciado inferior */
}

.encabezado h1 {
    margin: 0;
    padding: 0;
    color: #007bff;
    font-size: 24px; /* Tamaño de fuente más grande */
}

/* Formulario */
.formulario {
    width: 100%;
}

.campo {
    margin-bottom: 20px;
}

.campo-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="number"],
select,
button {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s ease; /* Transición suave para el borde */
}

input[type="number"]:focus,
select:focus,
button:focus {
    outline: none;
    border-color: #007bff; /* Borde resaltado al enfocar */
}

button {
    background-color: #FF9800;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #FFA726;
}

/* Opciones */
.opciones {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.opcion {
    padding: 12px 20px;
    margin-right: 10px;
    border-radius: 5px;
    border: 2px solid #ccc;
    background-color: #D9EDBF;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.opcion.seleccionado {
    background-color: #FF9800;
    border-color: #FF9800;
    color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Detalles del total */
#detallesTotal {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
}

/* Precios por litro */
.precios-litro {
    margin-top: 30px;
}

.precios-litro h2 {
    color: #007bff;
    margin-bottom: 15px;
}

.recuadro-precios {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    padding: 15px;
}

.precios-litro ul {
    list-style-type: none;
    padding: 0;
}

.precios-litro ul li {
    margin-bottom: 10px;
    font-size: 16px;
}
