﻿* {
    box-sizing: border-box;
}

.seccion_finalizar_compra {
    margin-top: 2rem;
    margin-bottom: 5rem;
    font-size: 13px !important;
}

/* Titulo Finalizar Compra */

.title-finalizarCompra{
    font-size: 24px !important;
    font-family: Oswald;
    font-weight: bold;
}

#titulo_finalizar_compra svg {
    width: 44px;
    height: 44px;
    margin-left: 1rem;
}

.form-control, form-select {
    border: solid #E31F2E;
}

/* 1- Dirección pedido */

#form_direccion_pedido {
    font-family: "Work-Sans", sans-serif;
    font-size: 13px;
}

#direccion_pedido{
    font-family: Oswald;
    font-size: 20px !important;
    font-weight: bold;
}

#direccion_pedido svg {
    width: 40px;
    height: 40px;
    background-color: #E31F2E;
    border-radius: 25px;
    padding: 7px;
    fill: #fff;
    margin-right: 1rem;
}

#btn_cambiar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    width: 150px;
    margin-left: auto;
    font-family: "Oswald";
    color: #E31F2E;
    font-size: 20px;
    text-decoration: none !important;
    border: 5px solid #fff;
    border-radius: 25px;
}

#select_tiempo_restaurante {
    border: solid #ced4da;
    margin-left: auto;
}

    #select_tiempo_restaurante:hover {
        border-color: #ced4da !important;
    }

/* 2- Información Personal */

#form_informacion_personal {
    font-family: "Work-Sans", sans-serif;
    font-size: 13px;
}

#informacion_personal{
    font-family: 'Oswald';
    font-size: 20px !important;
    font-weight: bold;
}

#informacion_personal {
    margin-top: 3rem;
}

    #informacion_personal svg {
        width: 40px;
        height: 40px;
        background-color: #E31F2E;
        border-radius: 25px;
        padding: 7px;
        fill: #fff;
        margin-right: 1rem;
    }


/* 3- Metodo Pago */
#titulo_metodo_pago svg {
    width: 40px;
    height: 40px;
    background-color: #E31F2E;
    border-radius: 25px;
    padding: 7px;
    fill: #fff;
    margin-right: 1rem;
}

#form_metodo_pago {
    font-size: 13px;
    margin-left: 7rem;
}

#titulo_metodo_pago{
    font-family: 'Oswald';
    font-size: 20px !important;
    font-weight: bold;
}

.select_tarjetacredito {
    width: 466px !important;
    background-color: transparent !important;
}

.form-check-label {
    font-family: "Work-sans", sans serif !important;
    font-size: 13px !important;
}

/* Inputs Forms*/
input:hover,
input:focus {
    box-shadow: none !important;
    border-color: #ced4da !important;
    outline: none !important;
}

select:hover,
select:focus {
    box-shadow: none !important;
    border-color: #ced4da !important;
    outline: none !important;
}

.form-control {
    border: 2px solid #ced4da !important;
}

form-select {
    border: 2px solid #ced4da !important;
}

/* Botón Pagar*/
.btn_pagar {
    height: 43px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    font-size: 17px;
    color: #fff;
    background-color: #E31F2E;
    border-radius: 15px;
    border: none;
}


/* Modal Agregar Tarjeta */

.modal-header-addcard {
    display: flex;
    justify-content: space-between; /* Espacio entre el título y el botón de cierre */
    align-items: center;
    position: relative;
    word-wrap: break-word; /* Permite que las palabras largas se dividan */
}

    .modal-header-addcard .close {
        position: absolute;
        right: 15px;
        border: none !important;
        background-color: transparent;
    }

.modal-title-addcard h4 {
    font-family: 'Oswald' !important;
    color: #202124;
    text-align: center;
    font-size: 20px !important;
    max-width: 100%;
}

.modal-body-addcard {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-body-addcard input {
    height: 28px !important;
    font-family: 'work-sans', sans-serif !important;
    font-size: 13px !important;
    
}

.selectKFC {
    height: 32px !important;
    font-family: 'work-sans', sans-serif !important;
    font-size: 13px !important;
    color: rgba( 116, 99, 99, 1) !important;
}

input, select {
    border: 1px solid #ccc !important; /* Asegura que el borde se mantenga uniforme */
    outline: none !important; /* Evita cambios en el borde al hacer clic */
}

    input, select:hover, input, select:focus {
        border: 1px solid #ccc !important; /* Mantiene el mismo estilo en hover y focus */
        box-shadow: none !important; /* Elimina sombras si hay */
        background: transparent !important; /* Asegura que no haya cambios en el fondo */
    }


.btn_cancelcard {
    font-family: 'Oswald' !important;
    color: white !important;
    background-color: #c5b2b3 !important;
    border-radius: 15px;
    border: none;
}

.btn_addcard {
    font-family: 'Oswald' !important;
    color: white !important;
    background-color: #E31F2E !important;
    border-radius: 15px;
    border: none;
}

/* Modal CVV Security */

.modal-header-cvv {
    display: flex;
    justify-content: space-between; /* Espacio entre el título y el botón de cierre */
    align-items: center;
    position: relative;
    word-wrap: break-word; /* Permite que las palabras largas se dividan */
}

    .modal-header-cvv .close {
        position: absolute;
        right: 15px;
        border: none !important;
        background-color: transparent;
    }

.modal-title-cvv h4 {
    font-family: 'Oswald' !important;
    color: #202124;
    text-align: center;
    font-size: 20px !important;
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.btn_cancel_pay {
    font-family: 'Oswald' !important;
    color: white !important;
    background-color: #c5b2b3 !important;
    border-radius: 15px;
    border: none;
}

.btn_confirm-pay {
    font-family: 'Oswald' !important;
    color: white !important;
    background-color: #E31F2E !important;
    border-radius: 15px;
    border: none;
}

/* Input Selectize */
.selectize-input {
    border: 1px solid #ced4da !important;
    font-family: 13px !important;
}

.selectize-control.single .selectize-input, .selectize-control.single .selectize-input input {
    font-size: 16px !important;
    color: #202124 !important;
}
}

.selectize-dropdown .active {
    background-color: white !important;
    border-bottom-left-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.selectize-dropdown {
    font-family: 'work-sans', sans-serif !important;
    font-size: 16px !important;
    color: #202124 !important;
    background-color: #E31F2E;
}

.selectize-dropdown-content button {
    text-transform: uppercase;
    font-family: "Oswald" !important;
    background-color: #E31F2E !important;
    color: white !important;
    border-radius: 25px !important;
}

.sesion-form{
    font-family: 'work-sans', sans-serif !important;
}

    .sesion-form input:hover {
        border-top-color: #ced4da !important;
    }

    .sesion-form input:focus {
        border-top-color: #ced4da !important;
    }


/* Títulos a Pagar */
#iva_pedido, #envio_pedido, #puntos_pedido {
    font-family: 'Oswald' !important;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 0;
}

.Subtotal-pago {
    font-family: 'Oswald' !important;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 0;
}

#total_pedido {
    font-family: "Oswald";
    font-weight: bold;
    color: #E31F2E;
    font-size: 20px;
}

/* Montos a Pagar */

#monto_subtotal, #monto_iva, #monto_envio {
    font-family: "Work-sans", sans-serif;
    font-size: 16px;
}

#monto_total {
    font-family: "Work-sans", sans-serif;
    font-size: 18px;
    text-decoration: underline #E31F2E;
    margin-top: 5px;
}

/* Media Query */

/*Media Query - Mobile */

@media (max-width: 440px) {
    .col-sm-6 {
        margin-bottom: 1px !important;
    }

    #form_direccion_pedido {
        font-family: "Work-Sans", sans-serif;
        font-size: 14px;
    }

    #btn_cambiar {
        height: 55px;
        width: 130px;
        font-size: 20px;
    }

    #select_tiempo_restaurante {
        border: solid #ced4da;
        width: 200px !important;
    }

    #form_metodo_pago {
        margin-left: 0 !important;
    }

    .select_tarjetacredito {
        width: 365px !important;
        background-color: transparent !important;
    }

    #titulo_metodo_pago {
        margin-top: 2rem;
        margin-left: 0 !important;
    }

    .btn_pagar {
        margin-top: 3rem !important;
    }

    #Subtotal_pedido, #iva_pedido {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/*Media Query - Tablet */
@media (min-width: 441px) and (max-width: 884px) {
    .col-md-6 {
        margin-bottom: 1px !important;
    }

    #form_metodo_pago {
        margin-left: 0 !important;
    }

    #titulo_metodo_pago {
        margin-top: 3rem;
        margin-left: 0 !important;
    }

    .btn_pagar {
        margin-top: 3rem !important;
    }
}


/* ------------------------------------------------------------------*/
.custom-birthday-selects {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    width: 73%;
    color: #ced4da !important;
}

    .custom-birthday-selects:hover {
        color: #ced4da !important;
    }

.custom-birthday-selects select {
    flex: none;
    width: 32%;
    padding: 0.5rem !important;
    margin: 0;
    border: 2px solid black;
    background-color: transparent;
}

.gender-btn {
    color: white;
    font-weight: normal;
}

@media (max-width: 768px) {
    .custom-birthday-selects {
        flex-direction: row; 
        width: 100%; 
    }

        .custom-birthday-selects select {
            width: 32%; 
        }
}


@media (min-width: 769px) and (max-width: 1023px) {
    .custom-birthday-selects {
        flex-direction: row; 
        justify-content: flex-start; 
        width: 100%; 
    }

        .custom-birthday-selects select {
            width: 32%; 
        }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .custom-birthday-selects {
        display: flex !important; 
        flex-wrap: wrap !important; 
        gap: 15px !important; 
        width: 100% !important; 
        justify-content: flex-start !important; 
        box-sizing: border-box !important; 
    }

        .custom-birthday-selects select {
            width: calc(33% - 10px) !important; 
            max-width: 160px !important; 
            min-width: 120px !important; 
            padding: 0.5rem !important; 
            margin: 0 !important; 
            box-sizing: border-box !important;
        }
}


@media (min-width: 1201px) and (max-width: 1399px) {
    .custom-birthday-selects {
        display: flex !important; 
        flex-wrap: wrap !important; 
        gap: 15px !important; 
        width: 100% !important; 
        justify-content: flex-start !important;
        box-sizing: border-box !important; 
    }

        .custom-birthday-selects select {
            width: calc(29% - 10px) !important; 
            max-width: 160px !important; 
            min-width: 120px !important; 
            padding: 0.5rem !important; 
            margin: 0 !important; 
            box-sizing: border-box !important; 
        }
}

@media (min-width: 1400px) and (max-width: 1500px) {
    .custom-birthday-selects {
        display: flex !important; 
        flex-wrap: wrap !important; 
        gap: 15px !important; 
        width: 100% !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important; 
    }

        .custom-birthday-selects select {
            width: calc(25% - 10px) !important; 
            max-width: 160px !important; 
            min-width: 120px !important; 
            padding: 0.5rem !important; 
            margin: 0 !important; 
            box-sizing: border-box !important; 
        }
}

/* ---------------------------------------------------------------*/
/* Estilo base para los botones */
.custom-gender-buttons {
    display: flex;
    justify-content: flex-start; 
    gap: 0; 
    width: 73%; 
}

    .custom-gender-buttons input[type="button"] {
        flex: none; 
        width: 33%; 
        padding: 0.5rem; 
        margin: 0; 
        border: 2px solid black;
        background-color: transparent; 
    }

@media (max-width: 768px) {
    .custom-gender-buttons {
        flex-direction: row; 
        width: 100%; 
    }

        .custom-gender-buttons input[type="button"] {
            width: 33%; 
        }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .custom-gender-buttons {
        flex-direction: row; 
        justify-content: flex-start; 
        width: 100%; 
    }

        .custom-gender-buttons input[type="button"] {
            width: 33%;
        }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .custom-gender-buttons {
        width: 100% !important; 
        justify-content: space-between !important; 
      
    }

        .custom-gender-buttons input[type="button"] {
            flex: 1 !important; 
            max-width: 150px !important; 
        }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .custom-gender-buttons {
        width: 87% !important; 
        justify-content: space-between !important; 
        gap: 0 !important; 
    }

        .custom-gender-buttons input[type="button"] {
            flex: 1 !important; 
            max-width: 180px !important; 
        }
}

@media (min-width: 1400px) and (max-width: 2000px) {
    .custom-gender-buttons {
        width: 73% !important; 
        justify-content: space-between !important; 
        gap: 0 !important; 
    }

        .custom-gender-buttons input[type="button"] {
            flex: 1 !important; 
            max-width: 180px !important; 
        }
}





.password-input-container {
    display: flex;
    align-items: center;
    position: relative;
}

#toggle-password-visibility {
    position: absolute;
    display: block;
    bottom: .5rem;
    right: 1rem;
    user-select: none;
    cursor: pointer;
}
@media (min-width: 1200px) {
    #toggle-password-visibility {
        left: 27rem; 
        right: auto; 
    }
}

.custom-left-align {
    display: flex;
    align-items: center; 
    justify-content: flex-start; 
    width: 100%;
}

    .custom-left-align h2 {
        margin-right: 20px; 
    }

.title-image {
    max-width: 80px; 
    height: auto;
}
