.modal-detail-odp {
    position: fixed;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 15; /* Pastikan modal berada di atas konten lain */
    background-color: white;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    z-index: 15;
}

.modal-detail-bg {
    display: none;
    width: 100%;
    height: 100vh;
    background-color: #00000090;
    z-index: 1;
    top: 0;
    left: 0;
    position: fixed;
}

.modal-detail-odp-content {
    display: flex;
    flex-direction: column;
    width: 480px;
    z-index: 6;
    position: relative;
    bottom: 0;
    /* background-color: red; */
    align-items: flex-end;
    gap: 8px;
    padding: 16px;
}

.modal-detail-odp-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    cursor: pointer;
}

.modal-detail-odp-main {
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    width: 100%;
    gap: 4px;
    padding: 0px 20px 8px 20px;
}

.modal-detail-odp-label {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
}

.modal-detail-odp-point {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-detail-odp-quota {
    display: flex;
    padding: 24px 20px;
    width: 100%;
    background-color: #fafafa;
    flex-direction: column;
    gap: 4px;
    border-radius: 16px;
    border: 1px solid #f5f5f5;
}

.modal-detail-odp-quota-label {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.modal-detail-line-base {
    height: 8px;
    width: 100%;
    background-color: white;
    border-radius: 100px;
    position: relative;
}

.modal-detail-line-code {
    height: 100%;
    border-radius: 100px;
    display: block;
}

.modal-detail-odp-cta {
    display: flex;
    padding: 16px 0;
    width: 100%;
}

#map {
    height: 420px;
    width: 360px;
}

@media only screen and (max-width: 580px) {
    .modal-detail-odp {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        z-index: 4;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        overflow: auto;
        z-index: 15;
    }

    .modal-detail-bg {
        display: none;
    }

    .modal-detail-odp-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        z-index: 6;
        position: fixed;
        bottom: 0;
        /* background-color: red; */
        align-items: flex-end;
        gap: 16px;
        padding: 0;
    }

    .modal-detail-odp-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        border-radius: 100%;
        margin-right: 20px;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    }

    .modal-detail-odp-main {
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 100%;
        gap: 0px;
        border-radius: 16px 16px 0 0;
        padding: 24px 20px 8px 20px;
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    }

    .modal-detail-odp-label {
        display: flex;
        flex-direction: column;
        padding: 16px 0;
        gap: 8px;
    }

    .modal-detail-odp-point {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .modal-detail-odp-quota {
        display: flex;
        padding: 16px 20px;
        width: 100%;
        background-color: #fafafa;
        flex-direction: column;
        gap: 4px;
        border-radius: 16px;
        border: 1px solid #f5f5f5;
    }

    .modal-detail-odp-quota-label {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    .modal-detail-line-base {
        height: 8px;
        width: 100%;
        background-color: white;
        border-radius: 100px;
        position: relative;
    }

    .modal-detail-line-code {
        height: 100%;
        border-radius: 100px;
        display: block;
    }

    .modal-detail-odp-cta {
        display: flex;
        padding: 16px 0;
        width: 100%;
    }

    #map {
        width: 100%;
        height: 60vh;
        z-index: 5;
    }
}
