﻿/* Buscar Direccion */

.form-search-direction{
    width: 500px;
    height: 48px !important;
    font-family: "Work-sans", sans-serif;
    font-size: 14px;
    border: 3px solid #E31F2E !important;
}

    .form-search-direction input:hover {
        box-shadow: none !important;
        border-color: #E31F2E !important;
        outline: none !important;
    }


.form-search-direction:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid #ccc; /* Puedes ajustar el color del borde */
}


.btn-search{
    background-color: #E31F2E !important;
    border-radius: 15px !important;
    color: white !important;
}

/* Modal Places Result */

.modal-dialog-resultPlaces {
    max-width: 850px; 
}

.resultplaces {
    width: 350px; 
    -webkit-box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    -moz-box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    cursor: pointer;
    border: 3px solid #E31F2E !important;
    border-radius: 15px !important
}

.modal-header-resultPlaces {
    display: flex !important;
    justify-content: center !important; /* Centra el título */
    align-items: center !important;
    position: relative !important;
    word-wrap: break-word !important;
}

    .modal-header-resultPlaces .close {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        border: none !important;
        background-color: transparent !important;
    }

.modal-title-resultPlaces {
    font-family: 'Oswald' !important;
    color: #202124;
    text-align: center;
    font-size: 20px !important;
    max-width: 100%;
}

/* Container Scroll */
.scroll-container-resultplaces {
    height: 450px;
    overflow-y: auto; /* Scroll solo en vertical */
    overflow-x: hidden; /* Evita el scroll horizontal */
    padding: 15px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 10px;
    background-color: #f8f9fa;
    width: 100%; /* Evita que se expanda más de lo debido */
    margin: 0 auto; /* Centra y evita márgenes innecesarios */
}


/* Forms Direccion */

.form_name_direction label {
    font-family: "Work-sans", sans-serif;
    font-weight: bold;
}

.form_name_direction input {
    color: #495057 !important;
}

.form_name_direction input, select {
    border: 1px solid #ccc !important; 
    outline: none !important; 
}

    .form_name_direction input:hover,
    .form_name_direction input:focus {
        box-shadow: none !important;
        outline: none !important;
    }

.form_description_direction label {
    font-family: "Work-sans", sans-serif;
    font-weight: bold;
}

.form_description_direction textarea {
    color: #495057 !important;
    resize: none;
}

.form_description_direction textarea, select {
    border: 1px solid #ccc !important;
    outline: none !important;
}

    .form_description_direction textarea:hover,
    .form_description_direction textarea:focus {
        box-shadow: none !important;
        outline: none !important;
    }


/* Botones Agregar Direccion - Volver */

.btn_agregar_direccion {
    width: 190px;
    height: 50px;
    font-family: "Oswald";
    font-weight: bold;
    font-size: 16px !important;
    background-color: #E31F2E;
    color: #fff;
    border-radius: 25px;
    border: none;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mapa */

.map-new-direction {
    -webkit-box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    -moz-box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
}

/* Boton Ajustar Ubicación*/
.btn_ajustar_ubicacion {
    width: 190px;
    height: 50px;
    font-family: "Oswald";
    font-weight: bold;
    font-size: 16px !important;
    background-color: #E31F2E;
    color: #fff;
    border-radius: 25px;
    border: none;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
}

.btn_ajustar_ubicacion:hover{
    color: white;
}

.form-nueva-direccion {
    background-color: white !important;
    box-shadow: 0px 2px 10px 4px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    box-shadow: 0px 2px 10px 4px rgba(0,0,0,0.23);
    padding-block: 30px;
    padding-inline: 30px;
    border-radius: 15px;
}


/* Media Query */

/* Media Query - Mobile Mini */
@media (max-width: 360px) {

    .form_buscar_direccion input {
        width: 250px !important;
        font-family: "Work-sans", sans-serif;
        border: 3px solid #E31F2E !important;
    }

    .btn_agregar_direccion {
        width: 150px;
        height: 50px;
        font-family: "Oswald";
        font-weight: bold;
        font-size: 15px !important;
    }

    .btn_volver {
        width: 150px;
        height: 50px;
        font-size: 15px !important;
    }
}

/* Media Query - Mobile */
@media (max-width: 440px) {

    .form-nueva-direccion {
        margin-top: 2rem !important;
    }

    .form_name_direction .input {
        width: 348px !important;
    }

    .form_description_direction .textarea {
        width: 348px !important;
    }

    .btn_ajustar_ubicacion {
        margin-top: -59rem;
    }

    .btn_agregar_direccion {
        width: 190px;
        height: 50px;
        font-family: "Oswald";
        font-weight: bold;
        font-size: 16px !important;
        background-color: #E31F2E;
        color: #fff;
        border-radius: 25px;
        border: none;
        text-decoration: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto !important;
    }
}

/* Media Query - Tablet */
@media (min-width: 767px) and (max-width: 884px) {

    .form-nueva-direccion {
        margin-top: 2rem !important;
    }

    .form_name_direction .input {
        width: 348px !important;
    }

    .form_description_direction .textarea {
        width: 348px !important;
    }

    .btn_ajustar_ubicacion {
        margin-top: -59rem;
    }
}

.svg-steps svg{
    width: 40px;
    height: 40px;
    background-color: #E31F2E;
    border-radius: 25px;
    padding: 7px;
    fill: #fff;
    margin-right: 1rem;
}