* {
    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    -webkit-text-size-adjust: none;
}

.custom-container {
    background-color: white;
    margin: 16px;
    padding: 8px;
}

.title-container {
    padding: 10px 24px;
}

#bu-dropdown {
    background: transparent;
    border: none;
    border-bottom: 1px solid #dddddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
}

input[type="text"],
#search-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #dddddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

#search-button {
    cursor: pointer;
    padding: 0 8px 8px 8px;
    border-bottom: 1px solid #dddddd;
}

.introjs-tooltip {
    border: 2px solid #1976D2 !important;
}

.introjs-nextbutton {
    background-color: #1976D2;
    color: white;
    text-shadow: none;
}

.introjs-nextbutton:hover {
    background-color: #1976D2;
    color: white;
    text-shadow: none;
}

.introjs-button:focus {
    background-color: #1976D2;
    color: white;
    text-shadow: none;
}

input[type="text"]:focus,
#search-input:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.nav-underline .nav-link {
    color: black;
    opacity: 0.5;
}

.nav-underline .nav-link:hover {
    border-bottom-color: #F44336;
}

.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    border-bottom-color: #F44336;
    font-weight: normal;
    opacity: 1;
}

.nav-pills .nav-link {
    border-radius: 16px;
    padding: 6px 12px;
    color: #F44336;
    margin: 8px 8px 8px 0;
    /* outline: #F44336 solid 1px; */
    box-shadow: 0 0 0 1px #F44336
}

.nav-pills .nav-link.active {
    background-color: #F44336;
    color: white;
}

#approveButton {
    margin: 8px 8px 8px 0;
}

table.dataTable tr.selected td.select-checkbox::after,
table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -26px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
    font-size: 1.5rem;
    font-weight: normal;
}

.inputs input {
    width: 40px;
    height: 45px;
    border: 1px solid grey;
}

span[id^='more'] {
    display: none;
}

#main-table .select-checkbox.column-primary {
    width: 24px;
}

.select-checkbox.column-primary:before {
    width: 1em !important;
    height: 1em !important;
}

#main-table td:not(.extend) {
    border-bottom: none;
}

#document-no {
    overflow-wrap: break-word;
    word-break: break-word;
}

#clear-otp {
    height: fit-content;
}

#notif-count {
    background-color: #F44336;
    border-radius: 30px;
    color: white;
    padding: 2px 6px;
}

thead th {
    vertical-align: top;
}

.column-need-review {
    padding-top: 6px !important;
}

.material-icons {
    font-size: 20px;
    vertical-align: text-bottom;
}

a[id^='showLessMore'] img {
    height: 20px;
}

.btn-main {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1976D2;
    --bs-btn-border-color: #1976D2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(0, 0, 0, 0.65);
    --bs-btn-disabled-border-color: rgba(0, 0, 0, 0.37);
}

.custom-check {
    width: 1.5em;
    height: 1.5em;
    margin-right: 4px;
}

.custom-label {
    line-height: 2.2em;
}

.check-green {
    border-color: #4DB254;
}

.check-green:checked {
    background-color: #4DB254;
    border-color: #4DB254;
}

.check-red {
    border-color: #FF5252;
}

.check-red:checked {
    background-color: #FF5252;
    border-color: #FF5252;
}

.form-check-input:focus {
    box-shadow: none;
}

.modal-button.btn-same-width {
    flex: 3 1 0 !important;
}

.select-wrapper {
    width: 100%;
    position: relative;
}

.select-value {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dad6d6;
    justify-content: space-between;
}

.select-option-wp {
    width: 100%;
    position: absolute;
    background-color: #fff;
    padding: 8px;
    z-index: 9;
    box-shadow: 0px 7px 20px rgba(0,0,0, 0.2);
    margin-top: 8px;
    height: auto;
    overflow: scroll;
}

.select-option {
    padding: 4px;
    cursor: pointer;

    &:hover {
        background-color: #f3f3f3;
    }
}

.bu-im-title {
    font-weight: 600; 
    color: black; 
    font-size: 18px;
}

@media screen and (max-width: 520px) {
    * {
        font-size: 0.9rem;
    }

    .bu-im-title {
        font-weight: 600; 
        color: black; 
        font-size: 12px;
    }

    #main-table {
        width: 100%;
    }

    .table-responsive {
        min-height: .01%;
        overflow-x: hidden;
    }

    #main-table td,
    #main-table th {
        padding: 8px 4px 4px 4px;
        font-size: 12px;
    }

    #main-table td span,
    #main-table td a,
    #main-table li {
        font-size: 12px;
    }

    .select-checkbox.column-primary:before {
        width: 1.25em !important;
        height: 1.25em !important;
    }

    .select-checkbox.column-primary:after {
        width: 1.25em !important;
        height: 1.25em !important;
    }

    table.dataTable tr.selected td.select-checkbox::after,
    table.dataTable tr th.select-checkbox.selected::after {
        content: "✔";
        margin-top: -22px;
        margin-left: -8px;
        text-align: center;
        text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
        font-size: 1.25rem;
        font-weight: normal;
    }

    .material-icons {
        font-size: 14px;
    }

    a[id^='showLessMore'] img {
        height: 15px;
    }

    .custom-container {
        margin: 0;
        padding: 12px;
    }

    .title-container {
        padding: 10px 12px;
    }

    button {
        font-size: 12px !important;
    }

    .custom-check {
        width: 2em;
        height: 2em;
        margin-right: 4px;
        margin-top: 0;
    }

    .modal-button {
        line-height: 2em;
    }
}

@media screen and (max-width: 767px) {
    .dataTables_info {
        text-align: right !important;
    }

    .dataTables_paginate.paging_simple {
        float: right !important;
    }

    .bu-im-title {
        font-weight: 600; 
        color: black; 
        font-size: 12px;
    }
}


@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */

    .modal-backdrop {
        z-index: -1;
    }
}