* {
    margin: 0;
}

.tooltip-title-close {
    position: absolute;
    right: 0;
    cursor: pointer;
}

.tooltip-hr {
    height: 1.84px;
    width: 373px;
    background-color: #3a3a3a;
    margin: auto;
    margin-bottom: 44px;
}

.tooltip-table {
    width: 100%;
    overflow-x: scroll;
    max-height: 300px;
}

    .tooltip-table::-webkit-scrollbar {
        width: 3px;
        height: 10px;
    }

    /* Track */
    .tooltip-table::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .tooltip-table::-webkit-scrollbar-thumb {
        background: #888;
    }

        /* Handle on hover */
        .tooltip-table::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.result-tooltip-mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.tooltip-title {
    font-size: 38px;
    font-weight: 600;
    display: block;
    position: relative;
}

    .tooltip-title p {
        margin-bottom: 33px !important;
        color: #1a1a1a;
    }

.tooltip-header {
    position: relative;
    display: none;
}

    .tooltip-header img {
        right: 43px;
        position: absolute;
        cursor: pointer;
    }

    .tooltip-header p {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 20px !important;
    }

.tooltip-header {
    border-bottom: 2px solid #EB0A1E;
    margin: 0 -40px;
}

    .tooltip-header span {
        position: absolute;
        right: 25px;
    }

        .tooltip-header span i {
            font-size: 30px;
        }

th {
    background: #000;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

tr {
    height: 65px;
}

.result-tooltip {
    position: fixed;
    top: 50%;
    left: 0;
    background: #fff;
    padding: 23px 37px 55px 36px;
    /* height: 100%; */
    z-index: 10000;
    width: 90%;
    /* overflow: scroll; */
    transform: translateY(-50%);
    display: none;
    /* display: block; */
    margin-left: 5%;
}

.result-tooltip {
    /* height: 40%; */
    /* overflow: scroll; */
    overflow: hidden;
}

table, th, td {
    border: 1px solid #cccccc;
    border-collapse: collapse;
}

td {
    text-align: center;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
    height: 69px;
}

th.table-tooltip-agent {
    width: 258px;
}

th.table-tooltip-km {
    width: 169px;
}

th.table-tooltip-distance {
    width: 228px;
}

th.table-tooltip-price {
    width: 126px;
}


th.table-tooltip-service {
    width: 236px;
}

th.table-tooltip-date {
    width: 144px;
}

th.table-tooltip-customer {
    width: 186px;
}

th.table-tooltip-id {
    width: 114px;
}

table {
    width: max-content;
}

    table.table-tooltip {
        /* height: 20%; */
        /* overflow: scroll; */
    }

.result-tooltip-content {
    z-index: 100000;
}

.tooltip-header {
    margin-bottom: 17px;
}

#result-tooltip[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .result-tooltip {
        height: 40%;
    }

    .result-tooltip {
        padding-top: 19px;
        padding-right: 17px;
    }

    .tooltip-title {
        display: none;
    }

    .tooltip-header {
        display: block;
        margin-bottom: 17px;
    }

    th {
        font-size: 12px;
    }

    td {
        font-size: 12px;
        height: 59px;
    }

    tr {
        height: 55px;
    }

    th.table-tooltip-agent {
        width: 190px;
    }

    th.table-tooltip-km {
        width: 110px;
    }

    th.table-tooltip-distance {
        width: 180px;
    }

    th.table-tooltip-price {
        width: 90px;
    }


    th.table-tooltip-service {
        width: 180px;
    }

    th.table-tooltip-date {
        width: 110px;
    }

    th.table-tooltip-customer {
        width: 130px;
    }

    th.table-tooltip-id {
        width: 90px;
    }
}

@media (max-width: 415px) {
    th {
        font-size: 8px;
    }

    td {
        font-size: 8px;
        height: 52px;
    }

    tr {
        height: 40px;
    }

    th.table-tooltip-agent {
        width: 126px;
    }

    th.table-tooltip-km {
        width: 79px;
    }

    th.table-tooltip-distance {
        width: 126px;
    }

    th.table-tooltip-price {
        width: 61px;
    }


    th.table-tooltip-service {
        width: 112px;
    }

    th.table-tooltip-date {
        width: 82px;
    }

    th.table-tooltip-customer {
        width: 85px;
    }

    th.table-tooltip-id {
        width: 63px;
    }
}
