/* cm3 */

.list_banks {
    width: 100%;
    height: 100%;
    margin-top: 0px;
    border-radius: 0px;
    background-color: #fff;
    overflow: auto;
    display: none; /* Shown when needed */
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}

/* Where the back arrow / "header_banks" is injected */
.header_title {
    width: 100%;
}

.list_banks_head {
    width: 92%;
    display: flex;
    align-items: center;
    /* margin-top: 30px; */
    flex-direction: column;
}

.list_banks_body {
    display: flex;
    flex-direction: column; /* vertical stacking */
    justify-content: flex-start;
    align-items: center;
    width: 85%;
    margin-bottom: 25px;
}

/* Each subcontainer (final3, others) will be stacked. */
.list_banks_body_subcontainer {
    width: 100%;
    margin-top: 30px;
    justify-content: center;
    flex-direction: row;
    /* padding-right: 10px; */
    /* gap: 20px; */
    overflow-y: auto;
}

/* The subcontainer title bars (#0093D5 background, white text) */
.list_bank_body_title {
    background-color: #0093D5;
    color: white;
    padding: 10px;
    font-size: 18px;
    /* font-weight: bold; */
    text-align: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px; /* space between icon & text */
    /* margin-bottom: 15px; */
    cursor: pointer; /* so user sees it's clickable */
    border-radius: 10px 10px 0 0;
}

.list_banks_body_subcontainer.others > .list_bank_body_title {
    background-color: #6EBDE7;
    margin-bottom: 16px;
    border-radius: 8px;
    height: 35px;
    justify-content: center;
}

/* Container that wraps <details> items. 
   We toggle show/hide by JS .slideToggle() */
.list_bank_body_items {
    width: 100%;
    /* padding-bottom: 20px; */
    /* If you want, you can add a default 'max-height' or something. */
}

/* Example styling for the check icon in the title */
.list_bank_body_title .title_check_icon {
    width: 20px;
    height: 20px;
    fill: white; /* same color as text for contrast */
}

/* The .final3_items or .others_items are inside .list_bank_body_items, 
   so they can share the same layout rules. */
.list_banks_body_subcontainer > .list_bank_body_items > div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Provide a small vertical spacing between each <details> item */
.list_banks_body_subcontainer > .list_bank_body_items > div > details {
    border-radius: 0 0 10px 10px; /* Only bottom corners */
    padding: 10px;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    overflow-y: scroll;
    overflow-y: visible;
    margin-bottom: 10px; /* vertical space */
    margin-top: 0px;
}

.list_banks_body_subcontainer > .list_bank_body_items > div > details > summary {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* gap: 10px; */
    font-size: 18px;
    margin-top: 10px;
}

.list_banks_body_subcontainer > .list_bank_body_items > div > details > summary > svg {
    cursor: pointer;
    margin-right: 20px;
}

/* The "logo" or pic in the summary (background image) */
.pic_cont {
    height: 60px;
    width: 45%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* "Elegir" button container at the bottom of details */
.list_banks_btn_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-top: 12px;
}
.list_banks_btn_container > input {
    border-radius: 50px;
    border: none;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    padding: 15px;
}

/* Responsive for smaller screens */
@media (max-width:940px){
    .list_banks_body_subcontainer {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
    }
    .list_banks_body_subcontainer > .list_bank_body_items > div > details[open] > summary {
        width: auto;
        height: auto;
    }
}

/* Force consistent font size inside details content */
.details div div {
    font-size: 17px !important;
}
.details div div div {
    font-size: 17px !important;
}

/* Example styling for the SweetAlert text, if you use it */
body .swal2-popup .swal2-content .swal2-custom-title-style {
    display: block;
    margin: 0 auto;
    padding: 0;
    max-width: 97%;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word; 

    color: #5E6062 !important;  
    font-family: 'Arial', sans-serif !important;
    font-size: 14px !important;
    text-decoration: underline !important;  
    font-weight: bold !important; 
}


 