body {
    background-color: #F0F0F0; /* Un gris claro */
    color: #000; /* Texto negro para contraste */
    size: 100%;
    width: auto;
    height: auto;
    font-family: "Helvetica Neue",Helvetica,sans-serif;
}

main {
    margin: 4px 0 0px 0;
    background-color: #F0F0F0; /* Fondo claro */
    min-height: 90%;
    padding-bottom: 100px;
}

.hidden {
    display: none;
}

.hidden-when-not-authenticated {
    display: none;
}


/* Shopping Cart Section - Start */
.shopping-cart {
    padding-bottom: 10px;
    overflow:hidden;
    transition: max-height 5s ease-in-out;
}

.shopping-cart.hide {
    max-height: 0;
    pointer-events: none;
}

.shopping-cart .content {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
    background-color: #F0F0F0; /* Fondo claro */
}

.shopping-cart .block-heading {
    padding-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.shopping-cart .block-heading p {
    text-align: center;
    max-width: 600px;
    margin: auto;
    color: black; /* Texto oscuro */
}

.shopping-cart .block-heading h1,
.shopping-cart .block-heading h2,
.shopping-cart .block-heading h3 {
    margin-bottom: 1.2rem;
    color: black; /* Texto oscuro */
}

.shopping-cart .items {
    margin: auto;
}

.shopping-cart .items .product {
    margin-bottom: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.shopping-cart .items .product .info {
    padding-top: 0px;
    text-align: left;
}

.shopping-cart .items .product .info .product-details .product-detail {
    padding-top: 40px;
    padding-left: 40px;
}

.shopping-cart .items .product .info .product-details h5 {
    color: black; /* Texto oscuro */
    font-size: 19px;
}

.shopping-cart .items .product .info .product-details .product-info {
    font-size: 15px;
    margin-top: 15px;
}

.shopping-cart .items .product .info .product-details label {
    width: 50px;
    color: black; /* Texto oscuro */
    font-size: 19px;
}

.shopping-cart .items .product .info .product-details input {
    width: 80px;
}

.shopping-cart .items .product .info .price {
    margin-top: 15px;
    font-weight: bold;
    font-size: 22px;
}

.shopping-cart .summary {
    border-top: 2px solid grey;
    background-color: #F0F0F0; /* Fondo claro */
    height: 100%;
    padding: 30px;
}

.shopping-cart .summary h3 {
    text-align: center;
    font-size: 1.3em;
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 20px;
}

.shopping-cart .summary .summary-item:not(:last-of-type) {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.shopping-cart .summary .text {
    font-size: 1em;
    font-weight: 400;
}

.shopping-cart .summary .price {
    font-size: 1em;
    float: right;
}

.shopping-cart .summary button {
    margin-top: 20px;
    background-color: #007bff; /* Botón azul para contraste */
    color: white;
}

@media (min-width: 768px) {
    .shopping-cart .items .product .info .product-details .product-detail {
        padding-top: 40px;
        padding-left: 40px;
    }

    .shopping-cart .items .product .info .price {
        font-weight: 500;
        font-size: 22px;
        top: 17px;
    }

    .shopping-cart .items .product .info .quantity {
        text-align: center;
    }

    .shopping-cart .items .product .info .quantity .quantity-input {
        padding: 4px 10px;
        text-align: center;
    }
}

/* Payment Section - Start */
.container__payment {
    display: none;
}

.payment-form {
    padding-bottom: 10px;
    margin-right: 15px;
    margin-left: 15px;
    font-family: "Helvetica Neue",Helvetica,sans-serif;
    background-color: #F0F0F0; /* Fondo claro */
    color: #000; /* Texto oscuro para contraste */
}

.payment-form .content {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
    background-color: #F0F0F0; /* Fondo claro */
}

.payment-form .block-heading {
    padding-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.payment-form .block-heading p {
    text-align: center;
    max-width: 420px;
    margin: auto;
    color: black; /* Texto oscuro */
}

.payment-form .block-heading h1,
.payment-form .block-heading h2,
.payment-form .block-heading h3 {
    margin-bottom: 1.2rem;
    color: black; /* Texto oscuro */
}

.payment-form .form-payment {
    border-top: 2px solid grey;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
    background-color: #F0F0F0; /* Fondo claro */
    padding: 0;
    max-width: 600px;
    margin: auto;
}

.payment-form .title {
    font-size: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.8em;
    font-weight: 400;
    padding-bottom: 8px;
}

.payment-form .products {
    background-color: #F0F0F0; /* Fondo claro */
    padding: 25px;
}

.payment-form .products .item {
    margin-bottom: 1em;
}

.payment-form .products .item-name {
    font-weight: 500;
    font-size: 0.9em;
}

.payment-form .products .item-description {
    font-size: 0.8em;
    opacity: 0.6;
}

.payment-form .products .item p {
    margin-bottom: 0.2em;
}

.payment-form .products .price {
    float: right;
    font-weight: 500;
    font-size: 0.9em;
}

.payment-form .products .total {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-top: 19px;
    font-weight: 500;
    line-height: 1;
}

.payment-form .payment-details {
    padding: 25px 25px 15px;
    height: 100%;
}

.payment-form .payment-details label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    color: grey; /* Texto oscuro para contraste */
    text-transform: uppercase;
}

.payment-form .payment-details button {
    margin-top: 0.6em;
    padding: 12px 0;
    font-weight: 500;
    background-color: #007bff; /* Botón azul para contraste */
    margin-bottom: 10px;
}

.payment-form a, .payment-form a:not([href]) {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #007bff; /* Enlace azul para contraste */
    cursor: pointer;
}

.payment-form a:not([href]):hover {
    color: #0056b3; /* Enlace azul oscuro al pasar el mouse */
    cursor: pointer;
}

#loading-message {
    display: none;
    text-align: center;
    font-weight: 700;
}

footer {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    flex-direction: column; /* Alinear elementos en columna */
    text-align: center; /* Asegurar que el texto también esté centrado */
    padding: 20px; /* Añadir algo de espacio alrededor del contenido */
}

#qr_logo2 {
    width: 50px;
    margin: 0;
}

footer p a {
    color: #007bff; /* Enlace azul para contraste */
    text-decoration: none;
}

footer p a:hover {
    color: #0056b3; /* Enlace azul oscuro al pasar el mouse */
    text-decoration: none;
}

@media (min-width: 576px) {
    .payment-form .title {
        font-size: 1.2em;
    }

    .payment-form .products {
        padding: 40px;
    }

    .payment-form .products .item-name {
        font-size: 1em;
    }

    .payment-form .products .price {
        font-size: 1em;
    }

    .payment-form .payment-details {
        padding: 40px 40px 30px;
    }

    .payment-form .payment-details button {
        margin-top: 1em;
        margin-bottom: 15px;
    }

    .footer_logo {
        margin-right: 20px;
        margin: 20 20 20 20;
        width: 20%;
        text-align: left;
        position: absolute;
    }

    .footer_text {
        margin: 0 0 0 65%;
        width: 200px;
        text-align: center;
        position: absolute;
    }

    footer p {
        padding: 1px;
        font-size: 13px;
        color: black; /* Texto oscuro */
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 5% 1% 15% 1%;
        height: 55px;
    }

    footer p {
        padding: 1px;
        font-size: 11px;
        margin-bottom: 0;
    }
    .footer_text {
        margin: 0 0 0 45%;
        width: 180px;
        position: absolute;
    }

    .footer_logo {
        margin: 0 0 0 0;
        position: left;
    }
}

/* Payment Result Section - Start */
.container__result {
    display: none;
}

#fail-response, #success-response {
    display: none;
}

/* Loading Spinner */

#loader-container {
    padding: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #000; /* Borde negro para contraste */
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.product-detail {
    background-color: #FFFFFF; /* Fondo claro */
    color: #000; /* Texto oscuro */
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Sombra para profundidad */
}

.product-detail label {
    color: #000; /* Asegurarse de que las etiquetas también sean oscuras */
}

.form-control {
    background-color: #DDD;
    color: #000;
    border: 1px solid #CCC;
}

.navbar-custom {
    background-color: #F0F0F0; /* Fondo claro */
    justify-content: center; /* Centra el botón del menú en pantallas pequeñas */
}

.navbar-toggler {
    border-color: rgba(0,0,0,.1); /* Opcional: cambia el color del borde del botón si es necesario */
}


/* Estilo básico para el formulario */
#loginForm {
    background-color: #F0F0F0; /* Color de fondo claro */
    padding: 20px; /* Añade un poco de padding para que no quede pegado a los bordes */
    color: #000000; /* Cambia el color del texto a negro para mejor contraste */
}

/* Alinea el formulario a la izquierda en dispositivos grandes */
@media (min-width: 992px) { /* Este es el breakpoint para dispositivos grandes en Bootstrap 4 */
    #loginForm {
        max-width: 50%; /* Limita el ancho máximo del formulario */
        margin-left: 0; /* Alinea el formulario a la izquierda */
    }
}

/* Estilo adicional para mejorar la visibilidad de los inputs y el botón */
.form-control {
    background-color: #EEEEEE; /* Fondo más claro para los inputs */
    border: 1px solid #DDDDDD; /* Borde sutil para los inputs */
    color: #000000; /* Texto negro para mejor contraste */
}

.btn-primary {
    background-color: #007bff; /* Mantén el color del botón primario */
    border-color: #0056b3; /* Y su borde */
}

.container__cart {
    padding: 20px;
}

.block-heading {
    text-align: center;
    margin-bottom: 40px;
}

.card {
    background-color: #FFFFFF; /* Fondo claro */
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control {
    width: 100%;
    max-width: 250px; /* Limita el ancho máximo */
}

/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .form-control {
        max-width: 200px;
    }
}
.tarifa-options {
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    gap: 10px; /* Añade un pequeño espacio entre las opciones de radio */
}

/* Mantenimiento de los estilos existentes */
.card {
    background-color: #FFFFFF; /* Fondo claro */
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin: 0 10px 20px 10px;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-control[type="number"] {
    text-align: center; /* Centra el texto dentro del input */
    max-width: 8em; /* Establece el ancho máximo para aproximadamente 8 caracteres */
    margin: auto; /* Centra el input horizontalmente si su contenedor permite flexibilidad en el ancho */
}

@media (max-width: 991px) {
    .navbar {
        position: relative; /* Puedes usar fixed si quieres que el navbar sea fijo al hacer scroll */
        z-index: 1030;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%; /* Esta propiedad es crucial para alinear el despliegue justo debajo del navbar */
        width: 100%; /* Asegura que ocupe todo el ancho */
        background: white; /* Esto hace que el menú sea legible sobre cualquier fondo */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Mejora la visibilidad del menú como una capa separada */
    }
}

.navbar-nav .nav-link {
    margin-left: 20px; /* Ajusta este valor según necesites */
}

.custom-card {
    border: 3px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
   /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);*/
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background-color: #fff;
    margin-bottom: 1rem;
}
.custom-checkbox {
    width: 20px;
    height: 20px;
}

.small-text {
    font-size: 0.875rem; /* Tamaño de texto más pequeño */
}

/* Justify text to the left */
.card-body div {
    text-align: left;
}

/* Divider style */
.card-body hr {
    border-top: 3px solid #dee2e6;
    width: 40px;
    margin: 10px auto;
}
