﻿:root {
    --default-red-color: #9A3324;
    --default-red-color-with-opacity: #f77a77;
    --top-height: 60px;
    --top-element-padding: 10px;
    --page-padding: 20px 2vw;
    --search-button-height: 45px;
    --search-element-height: 55px;
    --parent-padding-top-bottom: 30px;
    --parent-padding-left-right: 2.5vw;
    --title-font-size: 26px;
    --title-sub-font-size: 18px;
    --title-font-color: #222221;
    --title-sub-font-color: #4a4f53;
    --vehicle-status-1-color: #00adbb;
    --vehicle-status-2-color: #45B083;
    --vehicle-status-3-color: #FF8000;
    --tab-font: normal normal calc(18px + 0.4vw)/ 36px Lato;
    --top-button-font: normal normal calc(12px + 0.4vw)/ 36px Lato;
    --common-gap-left-part: 40px;
}

.layoutheader-rf .admin-logo-area .logo {
    background-color: var(--default-red-color);
}

.tag-switch-panel {
    color: var(--default-red-color);
    border: 1px solid var(--default-red-color);
}

.glidego-custom-page.vehicle, .glidego-custom-page.driver {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font: normal normal normal 20px/27px Lato;
}




.rf-page-left-menu-body ul > li {
    margin: 10px 2px 10px 10px;
    white-space: nowrap;
}

    .rf-page-left-menu-body ul > li > a {
        color: #222221 !important;
    }

        .rf-page-left-menu-body ul > li > a.active {
            background-color: var(--default-red-color);
            padding: 10px;
            color: #fff !important;
        }

    .rf-page-left-menu-body ul > li::before {
        content: '';
        height: 40px;
        background: white;
        position: absolute;
        left: 1px;
        border-left: 5px solid var(--default-red-color);
        opacity: 0;
        transition: 0.5s all ease;
    }

    .rf-page-left-menu-body ul > li > a.active .rf-page-left-menu-body ul > li::before {
        opacity: 1;
    }

.drain-10 {
    background: #f9f9fc;
    width: 100%;
    height: 10px;
}

.drain-20 {
    background: #f9f9fc;
    width: 100%;
    height: 20px;
}

.drain {
    background: #f9f9fc;
    width: 100%;
    height: 40px;
    box-shadow: inset 0 2px 0px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    /* box-shadow: inset 0 2px 0px #ffffff50, inset 0 2px 0 0px rgba(0, 0, 0, 0.3); */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.drain-vertical {
    background: #f9f9fc;
    width: 20px;
    height: 100vh;
}

.glidego-custom-page .rf-filter-quickfilter {
    align-items: center;
}

    .glidego-custom-page .rf-filter-quickfilter > .rf-filter-quickfilter-input {
        padding: 12px 15px;
    }

/*.main-layout {
    min-height: calc(100vh - 20px) !important;
    height: calc(100vh - 20px);
}*/

/*buttonrf custom*/
.custom-buttomrf .icon {
    color: var(--default-red-color) !important;
}

.custom-buttomrf.add-new .icon {
    color: #fff !important;
}

.custom-buttomrf {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
}

    .custom-buttomrf.add-new {
        background-color: var(--default-red-color) !important;
        color: #fff !important;
    }
/*buttonrf custom*/

.tablerf-RideInfoView .custom-action-item {
    padding-left: 5px;
    color: #000;
}

.tablerf-RideInfoView td .driver-info, .tablerf-driver-details td .driver-info {
    display: flex;
    white-space: nowrap;
    gap: 5px;
    align-items: center;
}

    .tablerf-RideInfoView td .driver-info .driver-img, .tablerf-driver-details td .driver-info .driver-img {
        width: 35px;
        height: 35px;
        border: 1px solid #e8e8e8;
        border-radius: 100%;
    }

.tablerf-RideInfoView th:not(:last-child) {
    white-space: nowrap;
    position: relative;
    min-width: 65px;
}

.tablerf-RideInfoView th::after {
    position: absolute;
    right: 5px;
    width: 10px;
    top: 32%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.tablerf-RideInfoView td:nth-child(7), td:nth-child(8) {
    white-space: nowrap;
}

.tablerf-RideInfoView .start-point {
    width: 200px;
}

.tablerf-RideInfoView .destination {
    width: 200px;
}

.tablerf-RideInfoView .pickup-date {
    width: 105px;
}

.tablerf-RideInfoView .vehicle-code {
    width: 110px;
}


.tablerf-RideInfoView .truncated-text {
    width: 200px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: width 0.9s ease; /* Add a smooth transition */
}

    .tablerf-RideInfoView .truncated-text:hover {
        overflow: visible; /* Show all the text */
        white-space: normal; /* Allow text to wrap if it's still too long */
    }

.footercopyright-rf {
    font-size: 10px;
}


.glidego-container .custom-backbutton-buttomrf, .glidego-entry-page .custom-backbutton-buttomrf {
    position: absolute;
    left: 10px;
    border: none !important;
    background-color: transparent;
    color: #222221;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
}
.glidego-container .page-rf-header-actions > .button-rf:nth-child(1), .glidego-entry-page .page-rf-header-actions > .button-rf:nth-child(1) {
    position: absolute;
    left: 6px;
    background-color: transparent;
    color: var(--default-red-color);
}

.glidego-container .page-rf-header-icon, .glidego-entry-page .page-rf-header-icon {
    margin-left: 80px;
    flex: 0 0 1px !important;
    background-color: #ddd !important;
    height: 60px;
}

.glidego-container .page-rf-header.True, .glidego-entry-page .page-rf-header.True {
    padding: 0 !important;
    height: 60px !important;
    align-items: center;
}

.glidego-container .page-rf-header-title, .glidego-entry-page .page-rf-header-title {
    font-size: 16px;
}

.glidego-container .page-rf-header-subtitle, .glidego-entry-page .page-rf-header-subtitle {
    color: var(--default-red-color);
    font-size: 16px;
}

    .glidego-container .page-rf-header-subtitle i, .glidego-entry-page .page-rf-header-subtitle i {
        display: none;
    }

    .glidego-container .page-rf-header-subtitle::before, .glidego-entry-page .page-rf-header-subtitle::before {
        font-family: "Font Awesome 6 Free"; /* or "Font Awesome 5 Free", etc. */
        font-weight: 900; /* Required for solid icons in FA6/FA5 */
        content: "\f054"; /* Note: use \f054, not 'f054' */
        margin-right: 8px;
    }


.glidego-custom-settings {
    font-size: 22px;
    color: #919191;
    cursor: pointer;
    padding: 0 20px;
    margin-top:-2px;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 1000;
    /* Optional: semi-transparent background */
    /* background: rgba(0,0,0,0.3); */
}

.layoutbody-rf {
    border: none;
    padding: 0px 15px 0px 15px;
    border-radius: 0px 0px 0px 0px;
    margin: 0px 0px 60px 0px !important;
    background-color: Transparent;
    width: 100%;
    color: black;
    order: 1;
    flex: auto;
    position: relative;
}
.scroll-to-top {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 25px;
    bottom: 45px !important;
    border: 0;
    outline: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    z-index: 10;
    background-color: #366cf347;
    transition: all .3s ease-in-out;
    animation: scroll-to-top .8s ease-in-out;
}
.layoutfooter-rf{
    display:none;
}
.footer {
    background-color: #EEEFF0;
    color: #6c7293;
    padding: var(--whole-page-padding);
    position: absolute;
    /*width: 100%;*/
    /*bottom: 0;*/
    width: 100% !important;
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    /*z-index: 9999;*/
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #ffffffe0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /*margin-top: 20px;*/
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width:100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .footer-brand img {
        width: calc(120px + .8vw);
    }

.footer-text {
    font-weight: 500;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    text-align: left;
    gap: 150px;
}