/* New modal style */
:root {
    --modal-body-spacing: 100px;
}

.custom-modal .modal-dialog {
    width: 80%;
    max-width: 1200px;
}

.custom-modal__header, .custom-modal__body {
    padding-left: var(--modal-body-spacing);
    padding-right: var(--modal-body-spacing);
}

.custom-modal__title {
    font-size: 56px;
    font-weight: 800;
    color: white;
}

.custom-modal__content {
    background-color: #10AF13;
    /* padding-left: 100px;
    padding-right: 100px; */
}

.custom-modal__body {
}

.custom-modal__close {
    border: none;
    background-color: transparent;
    color: white;
}

.custom-modal__close-ic {
    width: 24px;
}


.custom-modal__whatsapp {
    width: 99px;
}


.branch-item {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.branch-item:nth-child(n+2) {
    padding-top: 40px;
}

.branch-item:last-child {
    border: 0;
}

.branch-item__info {
    font-family: "Poppins", sans-serif;
    flex-grow: 1;
    color: #ffff;
}

.branch-item__title {
    font-size: 24px;
    font-weight: 700;
}

.branch-item__number {
    margin-bottom: 4px;
    font-size: 32px;
    font-weight: 500;
}

.branch-item__address {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.branch-item__maps {
    text-decoration: none;
    display: flex;
    gap: 8px;

}

.branch-item__maps-title {
    font-size: 18px;
    font-weight: 500;
    color: #FFDD2C;
    transition-duration: 0.3s;
}

.branch-item__maps-title:hover  {
color: #d3b41a;
}


/* Custom scroll modal */
/* position to right */
.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 150px); /* Adjust as needed */
    overflow-y: auto;
    /* padding-right: 20px; Space for scrollbar */
}


/* .modal-dialog-scrollable .modal-content {
    overflow: visible;
} */

.modal-dialog-scrollable::-webkit-scrollbar {
    width: 12px;
}

.modal-dialog-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-dialog-scrollable::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-dialog-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* End  position to right */

/* Custom size scrollbar */
.modal-body::-webkit-scrollbar {
    width: 5px; 
    height: 5px; 
}
 
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px; 
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555; /* Warna thumb saat dihover */
}
/* Custom size scrollbar */

/* End Custom scroll modal */

@media screen and (max-width: 1399px) {
    .custom-modal__title {
        font-size: 46px;
    }

    /* .custom-modal__content {
        padding-left: 50px;
        padding-right: 50px;
    } */

    .custom-modal__whatsapp {
        width: 70px;
    }
}

@media screen and (max-width: 1199px) {
    /* .custom-modal__content {
        padding-left: 30px;
        padding-right: 30px;
    } */

    .custom-modal .modal-dialog {
        max-width: 800px;
    }

    .branch-item__title {
        font-size: 20px;
    }

    .branch-item__number {
        font-size: 28px;
    }

    .custom-modal__whatsapp {
        width: 50px;
    }

}

@media screen and (max-width: 991px) {

    :root {
        --modal-body-spacing: 50px;
    }

    .custom-modal__title {
        font-size: 36px;
    }

    .branch-item__number {
        font-size: 24px;
    }

    .branch-item__address {
        font-size: 16px;
    }

    .branch-item__maps-title {
        font-size: 14px;
    }

}

@media screen and (max-width: 767px) {

    :root {
        --modal-body-spacing: 25px;
    }

    /* .custom-modal__content {
        padding-left: 20px;
        padding-right: 20px;
    } */

    .custom-modal .modal-dialog {
        width: 90%;
    }

}

@media screen and (max-width: 575px) {}

@media screen and (max-width: 425px) {
    .custom-modal__close-ic {
        width: 15px;
    }

    .custom-modal__title {
        font-size: 32px;
    }

    /* .custom-modal__content {
        padding-left: 10px;
        padding-right: 10px;
    } */

    .branch-item__title {
        font-size: 16px;
    }

    .branch-item__number {
        font-size: 18px;
    }

    .branch-item__address {
        font-size: 13px;
    }

    .branch-item__maps-title {
        font-size: 13px;
    }
}