body {
    font-family: 'Roboto', sans-serif;
}

.BtnAlertas {
    padding: 8px 12px;
    /* Ajustar tamaño del botón (más pequeño) */
    border: none;
    border-radius: 10px;
    /* Menos redondeado */
    background-color: #ff5a0e;
    /* Fondo blanco para los botones */
    color: white;
    /* Texto en color del fondo del modal */
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    /* Hacer que ambos botones ocupen el mismo espacio */
    margin: 0 5px;
    /* Margen entre botones */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Sombra suave */
    font-weight: bold;
    /* Negrita para el texto del botón */
}

.BtnAlertas:hover {
    background-color: #ff5a0e;
    /* Color de fondo más claro al pasar el mouse */
    color: white;
    /* Texto en color del fondo del modal al pasar el mouse */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ModalAlertConfir {
    display: flex;
    /* Usar flexbox */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    /* Centrar horizontalmente */
    align-items: center;
    /* Centrar verticalmente */
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.modal-content-Confir {
    background-color: #91623b;
    /* Color de fondo del modal */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
    max-width: 300px;
    width: 90%;
    /* Adaptativo */
    text-align: center;
    /* Centrar texto */
    color: white;
}

.modal-icon {
    display: block;
    margin: 0 auto 20px;
    max-width: 80px;
}

.button-container {
    display: flex;
    /* Usar flexbox para alinear botones */
    justify-content: space-between;
    /* Espacio entre botones */
    margin-top: 40px;
    /* Margen superior para separar de la parte superior */
}

.MesajeDesc {
    color: white;
    /* Texto en blanco para el párrafo */
}


.button-container1 {
    justify-content: space-between;
    /* Espacio entre botones */
    margin-top: 40px;
    /* Margen superior para separar de la parte superior */
}

/* Estilos para el modal */
.modalSpinner {
    font-family: 'Roboto', sans-serif;
    display: none;
    /* Oculto por defecto */
    position: fixed;
    /* Fijo al viewport */
    z-index: 100000;
    /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%;
    /* Ancho completo */
    height: 100%;
    /* Alto completo */
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente */
    display: flex;
    /* Para centrar el contenido */
    justify-content: center;
    /* Centrar contenido horizontalmente */
    align-items: center;
    /* Centrar contenido verticalmente */
}

/* Contenido del modal */
.modal-content-Spinner {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 90%;
    /* Ancho responsive */
    max-width: 400px;
    /* Máximo ancho */
    color: white;
}

/* Estilos para la imagen del loader */
.loaderImage {
    width: 50px;
    /* Ajusta según tus necesidades */
    height: auto;
    /* Mantiene la proporción */
    margin-bottom: 15px;
    /* Espacio entre la imagen y el texto */
    animation: spin 2s linear infinite;
    /* Aplicar animación de rotación */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.loading-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 900;
    /* Grueso */
    color: white;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
    text-align: center;
    margin-top: 20px;
}

/* Animación suave tipo latido */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/*ESTILOS MENU*/

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

nav {
    background: #6f6e77;
    height: 70px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.enlace {
    position: absolute;
    padding: 0 50px;
    height: 70px;
    display: flex;
    align-items: center;
    /* centra verticalmente */
    text-decoration: none;
}

.TituloHeader {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: none;
    user-select: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.logo {
    height: 80px;
    margin-left: -2em;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 75px;
    margin: 0 5px;
}

nav ul li a {
    color: #fff;
    font-size: 16px;
    padding: 7px 13px;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none;
}

.checkbtn {
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}


@media (max-width: 952px) {
    .enlace {
        padding-left: 20px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    ul {
        z-index: 10000;
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 70px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    li a:hover,
    li a.active {
        background: none;
        color: red;
    }

    #check:checked~ul {
        left: 0;
    }
}

/* ESTILOS PIE DE PAGINA */

footer {
    background-color: #6f6e77;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 -6px 10px rgba(0, 0, 0, 0.6);
}

.footer-logo img {
    max-width: 90px;
    height: auto;
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.payment-methods i,
.payment-methods img {
    font-size: 2rem;
    width: 48px;
    height: auto;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 500px;
    margin: 0 auto 0.5rem auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.footer-text a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 480px) {

    .payment-methods i,
    .payment-methods img {
        font-size: 1.5rem;
        width: 36px;
    }

    .footer-text {
        font-size: 0.8rem;
    }
}

/* Fondo que cubre toda la pantalla */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* fondo negro semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200000;
    font-family: 'Roboto', sans-serif;
}

/* Contenedor centrado */
.spinner-wrapper {
    text-align: center;
}

/* Estilo del spinner */
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.spinner div {
    width: 20px;
    height: 20px;
    background-color: #ff5a0e;
    border-radius: 50%;
    margin: 0 6px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.0);
        opacity: 1;
    }
}

/* Texto */
.loading-text {
    color: #ff5a0e;
    font-size: 1em;
    font-weight: 600;
}

.autocomplete-results {
    display: none;
    border: 1px solid #ccc;
    position: absolute;
    background: white;
    z-index: 10000;
}

.autocomplete-item {
    padding: 5px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.spinner-overlayPosgre {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}

.spinner-wrapperPosgre {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    font-family: 'Roboto', sans-serif;
}

.progress-bar-containerPosgre {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.progress-bar-fillPosgre {
    height: 100%;
    background-color: #ff6600;
    width: 0%;
    transition: width 0.5s ease-in-out;
    animation: progressGlowPosgre 1.5s infinite ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.loading-textPosgre {
    font-size: 18px;
    color: #ff6600;
    animation: textPulsePosgre 1.5s infinite ease-in-out;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
}

/* Animación de brillo para la barra */
@keyframes progressGlowPosgre {
    0% {
        box-shadow: 0 0 5px #ff6600;
    }

    50% {
        box-shadow: 0 0 15px #ff6600;
    }

    100% {
        box-shadow: 0 0 5px #ff6600;
    }
}

/* Animación de pulso para el texto */
@keyframes textPulsePosgre {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}