html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* WebKit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent color */
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3); /* Slightly more opaque when hovered */
    }

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* For Edge and IE */
body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.custom-dropdown {
    width: 90%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00a79d;
    border-radius: 15px !important;
    color: black;
}

.custom-input {
    width: 90%;
    padding: 8px;
    border: 1px solid #00a79d;
    border-radius: 25px !important;
    color: black;
}

.custom-input-label {
    position: relative;
    margin-top: -10px;
    top: 10px;
    left: 10px;
    background-color: white;
    padding: 0 5px;
    color: #00a79d;
}

.custom-input-password {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #00a79d;
    border-radius: 15px !important;
    color: black;
}
#map {
    background-color: rgb(229, 227, 223);
    border-radius: 25px;
}


.wanatu-green {
    color: #00a79d !important;
}
.gm-style > div {
    border: none !important;
    border-color:none!important;
    border-radius: 25px !important;
}
.green-button {
    background-color: #00a79d;
    color: white;
    border: none;
    border-radius: 2em !important;
    padding: 7px 5px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
}

    .green-button:hover {
        color: white;
        text-decoration: none;
    }

.red-button {
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 2em !important;
    padding: 7px 5px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

    .red-button:hover {
        color: white;
        text-decoration: none;
    }

.black-button {
    background-color: black;
    color: white;
    border: none;
    border-radius: 2em !important;
    padding: 7px 5px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
}

    .black-button:hover {
        color: white;
        text-decoration: none;
    }

.back-button {
    background-color: transparent;
    color: #00a79d;
    border: none;
    cursor: pointer;
    width: 60px;
    text-align: center;
    text-decoration: none !important;
}

    .back-button:hover {
        color: #00a79d;
        text-decoration: none;
    }

.input-container {
    position: relative;
    width: 90%;
}

.profile-picture {
    width: 50px;
    height: 50px;
    margin-top: 30px;
    border-radius: 50% !important;
    object-fit: cover;
}

.img-profile {
    width: 80px;
    height: 80px;
    border-radius: 50% !important;
    object-fit: cover;
}

.toggle-password {
    position: absolute;
    top: 20px;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
}

    .toggle-password i {
        color: #00a79d;
        font-size: 20px;
    }

.profile-upload-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-left: 30px;
    position: relative;
    left: 15px;
}

.profile-upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: grey;
}

.camera-icon-container {
    background-color: grey;
    border-radius: 50% !important;
    padding: 20px;
    margin-bottom: 10px;
}

    .camera-icon-container i {
        padding-top: 5px;
        font-size: 24px;
        color: white;
    }

#selectedFileName {
    margin-top: 10px;
}

.driver-details-label {
    color: grey;
    margin-right: 5px;
}

.approval-status {
    color: #f5ec2d;
}

.operator-name {
    color: black;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

.sidebar {
    width: 216px;
    height: 100%;
    background-color: #00a79d;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.logo {
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

    .menu li {
        text-align: start;
        padding-left: 23%;
    }

        .menu li a {
            display: block;
            padding: 15px 0;
            text-decoration: none;
            color: white;
        }

            .menu li a:hover {
                color: #f5ec2d;
                text-decoration: underline;
            }

/*    .menu .selected .title {
        color: #f5ec2d;
    }*/

.action-icon:hover {
    outline: none;
    text-decoration: none;
}

.main-list {
    padding: 0 5px 0 5px;
    border-radius: 10%;
    /*    max-width: 97%;*/
}

.main-border {
    border-radius: 1em !important;
}

.table.dataTable, table.dataTable th, table.dataTable td {
    background-color: white;
    text-align: left !important; /*Center align looks stupid*/
}

    .table.dataTable.order-column tbody tr > .sorting_1,
    table.dataTable.order-column tbody tr > .sorting_2,
    table.dataTable.order-column tbody tr > .sorting_3,
    table.dataTable.display tbody tr > .sorting_1,
    table.dataTable.display tbody tr > .sorting_2,
    table.dataTable.display tbody tr > .sorting_3 {
        background-color: white !important;
    }

    .table.dataTable.row-border tbody th,
    table.dataTable.row-border tbody td,
    table.dataTable.display tbody th,
    table.dataTable.display tbody td {
        text-align: center;
    }

.dataTables_wrapper .dataTables_length {
    display: none;
}

.dataTables_wrapper .dataTables_filter {
    float: left !important;
}

    .dataTables_wrapper .dataTables_filter .label {
        display: none;
    }

.dataTables_wrapper .dataTables_info {
    display: none;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #aaa;
    border-radius: 2em !important;
    padding: 5px;
    background-color: transparent;
    margin-left: 3px;
}

.trip-stats {
    color: black;
    background-color: white;
    border-radius: 50% !important;
    padding-top: 6px;
    height: 30px;
    width: 30px;
}

.modal-content {
    border-radius: 1em !important;
}

.custom-modal-header {
    color: #00a79d;
    text-align: center;
    margin-top: 10px;
}

.custom-modal-body {
    color: black;
    text-align: center;
}

.custom-modal-footer {
    text-align: center;
    margin-bottom: 30px;
}

.custom-modal-exit {
    cursor: pointer;
    text-align: end;
    font-size: 16px;
    font-weight: bold;
}

.status-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
}

.status-online {
    background-color: lightgreen;
}

.status-offline {
    background-color: red;
}

.status-busy {
    background-color: #ea9815;
}

.status-blocked {
    background-color: white;
    border: 1px solid black;
    position: relative;
}

    .status-blocked::before {
        content: "X";
        font-size: 10px;
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.toast-success {
    height: 85px;
    min-width: 150px;
    font-size: 16px;
}

.toast-error {
    height: 85px;
    min-width: 150px;
    font-size: 14px;
}

.font-title {
    font-size: 14px;
}

.form-wrapper {
/*    max-width: 2000px;*/
    margin: auto;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.payment-label {
    position: relative;
    margin-top: 15px;
    margin-bottom: 16px;
    width: 100%;
}


/*jcs*/ /**/

.custom-input {
    margin-bottom: 10px;
    padding-left: 20px;
}

@media (max-width: 768px) {
}


/*#usersTable_wrapper{
    max-width:100%;
    overflow-x: scroll;
}
*/

table {
    margin: 0 !important;
    width: 100% !important;
}

.sidebar {
    z-index: 999;
}

.navbar-toggler {
    position: absolute !important;
    z-index: 99999999 !important;
    top: 0px;
    left: 0px;
    z-index: 99999999 !important;
    color: #fff;
    background-color: #00a79d !important;
    border-color: #00a79d !important;
    border-bottom-right-radius: 12px !important;
}

.black-btn {
    display: none;
    position: relative;
    margin-bottom: -10px;
    cursor: pointer;
    z-index: 9;
    height: 17px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.black-button {
    display: inline-block;
    height: 32px;
}

.green-button {
    display: inline-block;
    height: 32px;
}

.red-button {
    display: inline-block;
    height: 32px;
}

.dtr-details {
    width: 100% !important;
}


.user-info {
    padding-left: 20%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* Adjust this based on your specific needs */
}


    /* Tooltip on hover */
    .user-info[title]:hover:after {
        content: attr(title);
        position: absolute !important;
        left: 180px;
        white-space: nowrap;
        z-index: 20;
        background-color: #f9f9f9;
        border: 1px solid #00a79d;
        padding: 5px;
        color: #00a79d;
    }

.active > a > span {
    color: #f5ec2d !important;
}

.hover-fix-tooltip {
    text-overflow: ellipsis !important;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: unset !important;
}


/*trulymobile*/

@media (max-width: 477px) {
    .Gps-text {
        position: relative;
        background-color: #00a59b;
        color: white;
        z-index: 9 !important;
        top: 1px;
        height: 50px;
        width: 100%!important;
        border-top-left-radius: 25px !important;
        border-top-right-radius: 25px !important;
    }
    .custom-col-width-d-card-top {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    .bottom-b {
        width: 100%;
    }
        .bottom-b > .card {
            min-height: 110px !important;
        }
            .bottom-b > .card > .card-body > .circle {
                position: absolute;
                bottom: 25px;
            }
}



    @media (max-width: 765px) {

        .prof-icon {
            width: 50px !important;
            max-width: 50px !important;
            position: relative;
            left: -40% !important;
        }

        .black-btn {
            display: none;
            position: relative;
            margin-bottom: -10px;
            cursor: pointer;
            z-index: 9;
            height: 17px;
            padding-top: 1px;
            padding-bottom: 1px;
        }

        label .tiaan-badly-formatted-table-header {
            font-size: 8px !important;
            padding-left: 2px !important;
            padding-right: 2px !important;
            max-width: 11.11% !important;
        }
    }

    @media (max-width: 900px) {
        .prof-icon {
            width: 50px !important;
            max-width: 50px !important;
            position: relative;
            left: -20% !important;
        }

        #panicModal > .modal-dialog > .modal-content {
            background-color: #ea6a00;
            color: white !important;
            text-align: center;
            font-weight: 700;
            font-size: 25px !important;
            height: 460px;
            min-width: 100% !important;
        }

        #panicModal {
            padding-right: 0px !important;
        }
    }

    .action-icon {
        width: fit-content !important;
        height: auto !important;
    }

    /*.actions-col {
    display: flex !important;
    justify-content: center;
    min-height: 60px;
}*/

    @media (max-width: 1230px) {
    }

    @media (min-width: 1200px) {
    }

    @media (min-width: 1600px) {
    }

    @media (min-width: 2000px) {
        .user-info {
            padding-left: 30%;
        }
    }

    @media (min-width: 2500px) {
        .user-info {
            padding-left: 35%;
        }
    }

    @media (min-width: 3000px) {
        .user-info {
            padding-left: 40%;
        }
    }

    .user-info {
        margin-bottom: 0px !important;
    }

    .dataTables_filter {
        margin-bottom: 20px;
    }

    .dataTables_paginate {
        margin-top: 10px;
        margin-bottom: 30px;
    }

    thead {
        font-weight: 600;
        font-size: 15px;
    }

    tbody {
        font-weight: 600;
        font-size: 13px;
        color: #afafaf;
    }


    table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th.dtr-control:before {
        top: 50%;
        left: 5px;
        height: 1em;
        width: 1em;
        margin-top: -9px;
        display: block;
        position: absolute;
        color: white;
        border: 0.15em solid white;
        border-radius: 1em;
        box-shadow: 0 0 0.2em #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: 'Courier New', Courier, monospace;
        line-height: 1em;
        content: '+';
        background-color: #00a79d;
    }

    .black-button {
        color: white;
        text-decoration: none;
    }

    .red-button {
        color: white;
        text-decoration: none;
    }

    .green-button {
        color: white;
        text-decoration: none;
    }

    .black-btn {
        text-align: end;
        width: fit-content;
        float: inline-end;
    }


    @media (min-width: 1200px) {
        #panicModal > .modal-dialog > .modal-content {
            background-color: #ea6a00;
            color: white !important;
            text-align: center;
            font-weight: 700;
            font-size: 25px !important;
            height: 460px;
            min-width: 1000px !important;
            left: -250px
        }
        /* No max width required, Bootstrap calculates this for bigger screens */
        /*    .main-list {
        max-width: 1438px;
    }*/

        .dataTables_filter input[type="search"].search-icon {
            min-width: 250px;
        }
    }
    /* No max width required, Bootstrap calculates this for bigger screens */
    /*@media (min-width: 1400px) {
    .main-list {
        max-width: 1438px;
    }
}*/
    /* No max width required, Bootstrap calculates this for bigger screens */
    /*@media (min-width: 1800px) {
    .main-list {
        max-width: 1438px;
    }
}*/

    .action-icon {
        text-decoration: none !important;
    }

        .action-icon > img {
            position: relative;
            min-width: 35px !important;
            max-width: 35px !important;
        }

    .dataTables_filter > label {
        content: none !important;
    }

    .dataTables_filter input[type="search"] {
        padding-left: 30px; /* Make space for the icon */
        width: 100%; /* Optional: Full width */
    }


    tr.odd {
        border-top: 2px solid grey !important; /* Change the border color for odd rows */
    }

    tr.even {
        border: 2px solid blue !important; /* Change the border color for even rows */
    }

    table.dataTable thead th, table.dataTable thead td {
        padding: 10px 18px;
        border-bottom: 2px solid #e0e2e5;
    }

    tbody, td, tfoot, th, thead, tr {
        border-color: grey;
    }

    table.dataTable.no-footer {
        border-bottom: 2px solid #e0e2e5;
    }

    tr.odd {
        border-top: 2px solid #e0e2e5;
        border-bottom: 2px solid #e0e2e5;
    }

    tr.even {
        border-top: 2px solid #e0e2e5;
        border-bottom: 2px solid #e0e2e5;
    }

    #usersTable_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
    }

    #customPageInfo {
        text-align: center;
        margin-top: 5px; /* Adjust margin to align with your design */
    }

    .paginate_button > i {
        cursor: default;
        padding: 3px;
        color: #00a79d !important;
        border: 1px solid transparent;
        background: transparent;
        box-shadow: none;
        font-size: 12px;
    }

    .dataTables_paginate > span {
        font-size: 15px !important;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: start;
        outline: none !important;
        box-shadow: none !important;
    }

    .dataTables_paginate {
        width: fit-content !important;
        float: inline-end !important;
        position: relative;
        right: 10px;
    }

    .dataTables_filter input[type="search"].search-icon {
        position: relative;
        padding-left: 30px; /* Adjust padding to make space for the icon */
    }

    .dataTables_filter::before {
        content: "\f002"; /* FontAwesome Unicode for hourglass-start */
        font-family: "Font Awesome 6 Free"; /* Adjust based on FontAwesome version */
        position: relative;
        left: 19px;
        top: 1px;
        font-size: 15px;
        z-index: 999999999;
        transform: translateY(-50%);
        color: darkgrey !important; /* Change color as needed */
        font-weight: 900; /* Ensure this matches the font weight for solid icons */
    }


    #Email {
        border: 2px solid #00a79d;
    }

    .custom-input-password {
        border: 2px solid #00a79d;
        border-radius: 25px !important;
    }

    .login-title {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .tiaan-please-stop-making-tables-with-divs {
        min-height: 50px !important;
    }

    .user-view-edit-btn {
        position: relative;
        top: -20px;
        width: auto !important;
        height: 40px !important;
    }

    .user-view-edit-btn {
        position: relative;
        top: -25% !important;
    }

    #panicModal > .modal-dialog > .modal-content {
        background-color: #ea6a00;
        color: white !important;
        text-align: center;
        font-weight: 700;
        font-size: 25px !important;
        width: 50vw;
        height: 460px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

        #panicModal > .modal-dialog > .modal-content > .modal-body {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

            #panicModal > .modal-dialog > .modal-content > .modal-body > h1 {
                font-size: 40px !important;
                margin: 10px 0;
            }

    #viewButton {
        background-color: white;
        color: #ea6a00;
        border-radius: 50px !important;
        padding: 15px;
        padding-left: 50px;
        padding-right: 50px;
        margin-top: 30px;
        font-size: 25px;
        font-weight: 900;
    }

    table.dataTable thead th.sorting,
    table.dataTable thead th.sorting_asc,
    table.dataTable thead th.sorting_desc {
        padding-right: 30px !important;
        background-repeat: no-repeat !important;
        background-image: none !important; /* Hides the original icons */
        background-position: right center !important;
    }

    table.dataTable thead th {
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        align-items: center;
        position: relative !important;
    }

        table.dataTable thead th::after {
            content: '' !important;
            display: inline-block !important;
            width: 16px !important;
            height: 16px !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            position: relative;
            left: 23px;
            margin-left: -22px;
        }


        table.dataTable thead th.sorting::after {
            background-image: url('https://cdn.datatables.net/1.10.22/images/sort_both.png');
        }

        table.dataTable thead th.sorting_asc::after {
            background-image: url('https://cdn.datatables.net/1.10.22/images/sort_asc.png');
        }

        table.dataTable thead th.sorting_desc::after {
            background-image: url('https://cdn.datatables.net/1.10.22/images/sort_desc.png');
        }


    input:focus-visible {
        outline: none;
        border: 2px solid #00bdb2;
        box-shadow: none;
    }

    .form-control:focus {
        outline: none;
        border: 1px solid #00bdb2;
        box-shadow: none;
        border-color: #00bdb2; /* Don't make !Important for form validation color switches */
    }

    .input-validation-error {
        border: 2px solid red !important;
    }

        .input-validation-error:focus {
            border: 2px solid red !important;
        }

        .input-validation-error:focus-visible {
            border: 2px solid red !important;
        }

    .dataTables_filter {
        margin-bottom: 20px;
        margin-top: 0.5em;
    }

        .dataTables_filter > label {
            position: relative;
            left: -13px;
        }


    thead > tr > th:first-child {
        padding: 10px;
        text-align: left !important;
        vertical-align: middle;
    }

    tbody > tr > td:first-child {
        padding: 10px;
        text-align: left !important;
        vertical-align: middle;
    }

    .btn-action {
        margin-right: 0px !important;
    }

        .btn-action > i {
            padding-right: 0px !important;
        }

    .dtr-details {
        width: 100% !important;
        text-align: center;
    }


    .black-btn {
        margin-top: 0.5em;
    }

    .notification-title {
        font-size: 17px !important;
        font-weight: 600;
        margin-bottom: 20px;
    }

    /* Responsive for Larger screens, no max width required*/
    /*.portlet.light {
    max-width: 1550px;
}*/

    /*.pagination-row {
    max-width: 1550px !important;
}*/

    .dataTables_wrapper table {
        table-layout: auto;
    }

    .dataTable th:last-child,
    .dataTable td:last-child {
        white-space: nowrap !important;
        width: 1% !Important;
    }

    #TripHistoryTable th:last-child, #TripHistoryTable td:last-child {
        white-space: nowrap !important;
        width: 1% !Important;
        max-width: 100px !Important;
    }

    #activeTripsTable th:last-child, #activeTripsTable td:last-child {
        white-space: nowrap !important;
        width: 1% !Important;
        max-width: 100px !Important;
    }

    #shiftsTable th:last-child, #shiftsTable td:last-child {
        white-space: nowrap !important;
        width: 1% !Important;
        max-width: 100px !Important;
    }

    .black-button {
        position: relative;
    }

    #TripHistoryTable_wrapper > .black-btn {
        position: relative !important;
        right: 10px !important;
    }

    #activeTripsTable_wrapper > .black-btn {
        position: relative !important;
        right: 10px !important;
    }

    #vehiclesTable_wrapper > .black-btn {
        position: relative !important;
        right: 28px !important;
    }

    #shiftsTable_wrapper > .black-btn {
        position: relative !important;
        right: 10px !important;
    }

    #usersTable_wrapper > .black-btn {
        position: relative !important;
        right: 10px !important;
    }

    #driversTable_wrapper > .black-btn {
        position: relative !important;
        right: 10px !important;
    }
    /* Styles for screens 400px and above */
    @media (min-width: 400px) {
        /* Your styles for 1200px and above */
        #TripHistoryTable_wrapper > .black-btn {
            right: 10px !important;
        }

        /* Your styles for 400px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 8px;
        }

        .dataTable th:first-child, .dataTable td:first-child {
            white-space: nowrap !important;
            width: 1% !Important;
            max-width: 132px !Important;
        }

        .dataTable th:last-child, .dataTable td:last-child {
            white-space: nowrap;
            width: 1%;
            max-width: 132px;
        }
    }

    /* Styles for screens 800px and above */
    @media (min-width: 800px) {
        /* Your styles for 800px and above */

    }

    /* Styles for screens 1200px and above */
    @media (min-width: 1200px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 10px;
        }
    }

    @media (min-width: 1300px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    @media (min-width: 1400px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }


    @media (min-width: 1500px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    /* Styles for screens 1600px and above */
    @media (min-width: 1600px) {
        /* Your styles for 1600px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }


    /* Styles for screens 1600px and above */
    @media (min-width: 1800px) {
        /* Your styles for 1600px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    /* Styles for screens 2000px and above */
    @media (min-width: 2000px) {
        #membershipsTable_wrapper > .black-btn {
            right: 30px;
        }
        /* Your styles for 2000px and above */
    }

    #areasTable_wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .main-list > .col-md-12 {
        padding-right: 10px;
        padding-left: 10px;
    }
    /* Large (lg) */
    @media (min-width: 992px) {
        .timing-topper-lbl, .col-3.col-form-label.wanatu-green {
            text-align: right;
        }
    }


    .smaller-input {
        text-align: center !important;
    }


    /* Styles for screens 400px and above */
    @media (min-width: 400px) {
        /* Your styles for 400px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 8px;
        }

        .dataTable th:last-child, .dataTable td:last-child {
            white-space: nowrap;
            width: 1%;
            max-width: 132px;
        }

        .dataTable th:first-child, .dataTable td:first-child {
            white-space: nowrap !important;
            width: 1% !Important;
            max-width: 132px !Important;
        }
    }

    @media (max-width: 1200px) {


        .pagination-row {
            max-width: 1100px;
            margin: auto;
        }
        /* Your styles for xl screens and up */
        #payment_form > .row .col-xl-4 {
            max-width: 450px;
        }

        .smaller-input {
            min-width: 74px !important;
            max-width: 115px !important;
            text-align: center !important;
        }
    }

    /* Styles for screens 800px and above */
    @media (min-width: 800px) {
        /* Your styles for 800px and above */

    }

    .block-drivers {
        height: 85px !important;
        margin-left: 6px !important;
        max-width: 22% !important;
    }
    /* Styles for screens 1200px and above */
    @media (min-width: 1200px) {

        .block-drivers {
            max-width: 170px !important;
        }

        .profile-picture {
            position: relative;
            right: -4% !important;
        }
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 10px;
        }

        #payment_form > .row > .col-lg-8 {
            position: relative;
            left: -60px;
        }

        .payments-label-right-side {
            width: 45%
        }

        .payments-label-left-side {
            width: 55%
        }
    }

    @media (min-width: 1300px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    @media (min-width: 1400px) {

        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }


    @media (min-width: 1500px) {
        /* Your styles for 1200px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    /* Styles for screens 1600px and above */
    @media (min-width: 1600px) {
        /* Your styles for 1600px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }


    /* Styles for screens 1600px and above */
    @media (min-width: 1800px) {
        /* Your styles for 1600px and above */
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }
    }

    /* Styles for screens 2000px and above */
    @media (min-width: 2000px) {
        #membershipsTable_wrapper > .black-btn {
            right: 18px;
        }


        /* Your styles for 2000px and above */
    }

    .unit-label {
        position: relative !important;
        top: -40px !important;
        left: 10px !important;
    }

    .unit-label-rand {
        position: relative !important;
        top: -40px !important;
        left: 11px !important;
        font-size: 15px !Important;
    }

    .custom-input {
        margin-bottom: 10px;
        padding-left: 10px;
    }



    #payment_form > .row > .col-xl-4 > .row {
        height: 40px;
    }


    #payment_form > .row > .col-xl-4 > .row {
        height: 40px;
    }


    .lbl-lower {
        position: relative;
        top: 50px;
    }

    .tempus-dominus-widget.dark {
        background-color: #00a79d;
        color: #e3e3e3;
        border-radius: 77px !important;
        overflow: hidden !important;
        padding: 31px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .tempus-dominus-widget {
        border-radius: 4px;
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 8px 8px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
        display: none;
        list-style: none;
        padding: 4px;
        width: 19rem;
        z-index: 9999;
    }

        .tempus-dominus-widget.dark button {
            background-color: #3d3d3d;
            border-color: #000000;
            color: #fff;
        }

        .tempus-dominus-widget .date-container-days div:not(.no-highlight), .tempus-dominus-widget .date-container-decades div:not(.no-highlight), .tempus-dominus-widget .date-container-months div:not(.no-highlight), .tempus-dominus-widget .date-container-years div:not(.no-highlight), .tempus-dominus-widget .time-container-clock div:not(.no-highlight), .tempus-dominus-widget .time-container-hour div:not(.no-highlight), .tempus-dominus-widget .time-container-minute div:not(.no-highlight), .tempus-dominus-widget .time-container-second div:not(.no-highlight) {
            align-items: center;
            border-radius: 999px;
            box-sizing: border-box;
            display: flex;
            height: 90%;
            border-radius: 55px !important;
            justify-content: center;
            padding: 20px;
            width: 90%;
        }

    .clock-style {
        position: relative;
        top: 9px;
        left: -27px;
        height: 12px;
        margin-bottom: -20px;
        background: white;
    }

    .timing-topper-lbl {
        position: relative;
        top: 9px;
        width: 30%;
        left: -4px;
        margin-right: -6%;
    }


    .lbl-Time {
        z-index: 5;
    }

    .tempus-dominus-widget.dark .date-container-days .dow {
        color: white;
    }
    /* Hide scrollbars by default */
    .add-scroll {
        overflow: hidden !important;
    }

        /* Show scrollbars when the content overflows */
        .add-scroll.scrollable {
            overflow: auto !important;
        }

        /* Optionally, customize scrollbar appearance for different browsers */
        .add-scroll::-webkit-scrollbar {
            width: 0; /* Remove scrollbar space */
            background: transparent; /* Optional: just make scrollbar invisible */
        }

        .add-scroll.scrollable::-webkit-scrollbar {
            width: 12px; /* Width of the scrollbar */
            background: #f1f1f1; /* Background of the scrollbar track */
        }

        .add-scroll.scrollable::-webkit-scrollbar-thumb {
            background: #888; /* Scrollbar color */
        }

            .add-scroll.scrollable::-webkit-scrollbar-thumb:hover {
                background: #555; /* Scrollbar color on hover */
            }

    .payments-label-left-side {
        position: relative;
        top: 2px;
    }

    @media (min-width: 992px) {
        .page-content-wrapper .page-content {
            margin-left: 216px;
            margin-top: 0px;
            min-height: 600px;
            padding: 15px 0 0 0;
        }
    }

    .responsive-delete-button {
    }

    @media (max-width: 1199px) {
        .responsive-delete-button {
        }
    }



    #selectedDriversContainer > div > label {
        padding-top: 10px;
    }


    #driverIdsInput {
        top: 20px;
    }
    /* Large (lg) */

    .clock-style > .fa {
        color: #00a79d;
    }

    .search-icon:focus-visible {
        outline: none;
        border: 1px solid #00a79d !important;
        box-shadow: none;
    }

    .minute, .hour {
        font-weight: 700;
        font-size: 16px;
    }

    .separator {
        font-weight: 700 !important;
        font-size: 20px !important;
    }

    .input-validation-error {
        border: 2px solid red !important;
    }

    .field-validation-error {
        display: none;
    }

    .tempus-dominus-widget .date-container-days div:not(.no-highlight), .tempus-dominus-widget .date-container-decades div:not(.no-highlight), .tempus-dominus-widget .date-container-months div:not(.no-highlight), .tempus-dominus-widget .date-container-years div:not(.no-highlight), .tempus-dominus-widget .time-container-clock div:not(.no-highlight), .tempus-dominus-widget .time-container-hour div:not(.no-highlight), .tempus-dominus-widget .time-container-minute div:not(.no-highlight), .tempus-dominus-widget .time-container-second div:not(.no-highlight) {
        align-items: center;
        border-radius: 999px;
        box-sizing: border-box;
        display: flex;
        height: 90%;
        border-radius: 55px !important;
        justify-content: center;
        padding: 20px;
        width: 90%;
        font-size: 16px;
        font-weight: 700;
    }

    .tempus-dominus-widget.dark .date-container-days .dow {
        color: white;
        font-size: 16px;
    }

    .picker-switch {
        color: white;
        font-size: 16px;
    }

    .tempus-dominus-widget.dark .date-container-days div:not(.no-highlight).active, .tempus-dominus-widget.dark .date-container-decades div:not(.no-highlight).active, .tempus-dominus-widget.dark .date-container-months div:not(.no-highlight).active, .tempus-dominus-widget.dark .date-container-years div:not(.no-highlight).active, .tempus-dominus-widget.dark .time-container-clock div:not(.no-highlight).active, .tempus-dominus-widget.dark .time-container-hour div:not(.no-highlight).active, .tempus-dominus-widget.dark .time-container-minute div:not(.no-highlight).active, .tempus-dominus-widget.dark .time-container-second div:not(.no-highlight).active {
        background-color: #61bdb8;
        color: #fff;
        text-shadow: 0 -1px 0 hsla(36, 10%, 90%, .25);
    }

    .tempus-dominus-widget.dark .date-container-days div:not(.no-highlight):hover, .tempus-dominus-widget.dark .date-container-decades div:not(.no-highlight):hover, .tempus-dominus-widget.dark .date-container-months div:not(.no-highlight):hover, .tempus-dominus-widget.dark .date-container-years div:not(.no-highlight):hover, .tempus-dominus-widget.dark .time-container-clock div:not(.no-highlight):hover, .tempus-dominus-widget.dark .time-container-hour div:not(.no-highlight):hover, .tempus-dominus-widget.dark .time-container-minute div:not(.no-highlight):hover, .tempus-dominus-widget.dark .time-container-second div:not(.no-highlight):hover {
        background-color: #61bdb8;
    }

    .tempus-dominus-widget .calendar-header {
        display: grid;
        font-weight: 700;
        grid-template-areas: "a a a";
        margin-bottom: 10px;
        margin-top: 20px;
    }

    /* Responsive for Larger screens, no max width required*/
    /*.portlet.light {
    max-width: 1438px;
}*/

    table.dataTable > tbody > tr.child span.dtr-title {
        display: inline-block;
        min-width: auto;
        font-weight: bold;
        text-align: right;
        margin-right: 5px;
    }

    #toast-container > div {
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        margin: 0 0 6px;
        padding: 15px 15px 15px 50px;
        width: 300px;
        height: auto;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background-position: 15px center;
        background-repeat: no-repeat;
        -moz-box-shadow: 0 0 12px #999;
        -webkit-box-shadow: 0 0 12px #999;
        box-shadow: 0 0 12px #999;
        color: #FFF;
        opacity: .8;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
        filter: alpha(opacity = 80);
    }

    .border-red {
        border: 2px solid red;
    }

    .border-green {
        border: 2px solid green;
    }

    #addShiftButton {
        margin-bottom: 10px !important;
        position: relative;
        top: 18px !important;
        left: -9px !important;
        top: 18px
    }

    @media (max-width: 992px) {
        .page-content-wrapper .page-content {
            margin-left: 0px !important;
            margin-top: 0px;
            min-height: 600px;
            padding: 15px 0 0 0;
        }

        .star-td {
            width: 28%;
            white-space: nowrap;
        }

        .block-drivers {
            margin-left: 6px !important;
            max-width: 22% !important;
        }

            .block-drivers > label {
                font-size: 12px !important;
            }

        #payment_form > .row .col-xl-4 {
            max-width: 450px;
        }

        #addShiftButton {
            margin-bottom: 10px !important;
            position: relative;
            top: 18px !important;
            left: -9px !important;
            top: 18px
        }

        .smaller-input {
            min-width: 74px !important;
            max-width: 115px !important;
            text-align: center !important;
        }
    }

    @media (max-width: 768px) {


        .star-td > img {
            width: 18px !important;
        }

        .d-stats {
            position: relative;
            bottom: 10px;
        }

        .profile-picture {
            position: relative;
            right: 8% !important;
        }

        .dataTable th:last-child, .dataTable td:last-child {
            white-space: nowrap;
            width: 1%;
            max-width: 132px;
        }

        .dataTable th:first-child, .dataTable td:first-child {
            white-space: nowrap !important;
            width: auto !Important;
            max-width: 154px !Important;
        }

        #selectedDriversContainer img {
            margin-top: 0px !important;
        }

        #addAreaButton {
            border: none;
            background-color: white;
            position: absolute;
            left: 45% !important;
            margin-bottom: 19px !important;
        }

        #addShiftButton {
            margin-bottom: 10px !important;
            position: relative;
            top: 8px !important;
            left: -9px !important;
        }
    }

    #selectedDriversLabel {
        position: relative;
        left: 26px;
    }

    .back-button > label {
        position: relative;
        left: 24px;
    }



    .the-top-right {
    }

    .status-dot {
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50% !important;
        top: -5px;
        left: 25px;
        background: linear-gradient(145deg, #00ff00, #00cc00);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    hr:not([size]) {
    height: 0 !important; /* Removes the annoying line duplication when adding a driver */
    }
.btn-close:focus {
    outline: none !important;
    box-shadow: none !important;
}

/*Testing alignment issue for th*/
.table.table-bordered thead > tr > th {
    border-bottom: 0;
    text-align: left !important;
    padding-left: 10px !important;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 10px 10px !important;
}

.green-title {
    color: #00a79d !important;
}
.custom-dropdown:focus {
    outline: none !important;
}
.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #00bdb2; 
}

.form-control.is-valid {
    border-color: #00bdb2 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300bdb2' viewBox='0 0 16 16'%3E%3Cpath d='M16 2L6 12 2 8l1.5-1.5L6 9l8.5-8.5L16 2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus {
    border-color: #00bdb2 !important; 
    box-shadow: none; 
}
.spinner-border {
    border-width: 0.2em !important;
    border-style: solid !important;
    border-radius: 50% !important;
    color: #00a79d !important;
    animation: spinner-border 0.75s linear infinite;
}

/* Custom Tippy.js theme to match Bootstrap tooltip style (wanatu) */
html body .tippy-box[data-theme~='wanatu'] {
    background-color: #333 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: normal !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}
html body .tippy-box[data-theme~='wanatu'] .tippy-arrow {
    color: #333 !important;
}