﻿.driver {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: var(--vehicle-padding);
    font: normal normal normal 20px/27px Lato;
}

    .driver .driver-details table tbody td {
        white-space: nowrap;
    }

.modal-rf-body {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.modal-rf-body img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
}


.driver-individual {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .driver-individual .left, .driver-individual .right {
        display: flex;
        background-color: #fff;
        /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    }

    .driver-individual .left {
        flex: 1 0 280px;
        flex-direction: column;
        padding: 100px 4vw 0;
    }

        .driver-individual .left .top {
            /*padding: 0 25px;*/
        }

        .driver-individual .left img {
            width: 150px;
            height: 150px;
            border-radius: 100%;
            background-color: #f7f7f7;
        }



        .driver-individual .left .middle {
            margin: 20px 0 var(--common-gap-left-part);
        }

        .driver-individual div.left > *, .driver-individual .left .top > * {
            display: flex;
            flex-direction: column;
        }

.left .middle .name {
    font-size: 24px;
    color: #192733;
    font-weight: 700;
}

.left .middle .empid {
    font-size: 18px;
    color: #4a4f53;
    opacity: 70%;
}

.left .bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .left .bottom > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 20px;
    }

        .left .bottom > div span.icon {
            width: 22px;
            height: 22px;
            border-radius: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .left .bottom > div span.icon i {
                font-size: 10px;
            }

        .left .bottom > div > div {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .left .bottom > div:nth-child(1) span.icon {
            background-color: #45B083;
            color: #EFFFEC;
        }

        .left .bottom > div:nth-child(2) span.icon {
            background-color: #AE90C3;
            color: #EFFFEC;
        }

        .left .bottom > div:nth-child(3) span.icon {
            background-color: #00ADBB;
            color: #EFFFEC;
        }

        .left .bottom > div:nth-child(4) span.icon {
            background-color: #DA291C;
            color: #FFECF3;
        }

        .left .bottom > div > div > .title {
            font-size: 18px;
            color: var(--title-font-color);
            font-weight: 600;
        }

        .left .bottom > div > .details {
            font-size: 16px;
            color: var(--title-font-color);
            opacity: 80%;
        }

.driver-individual .right {
    flex: auto;
    padding-top: 50px;
    /* padding: 50px 2vw; */
}

    .driver-individual .right .rf-tab {
        box-shadow: none;
        width: 100%;
        background-color: transparent;
    }

        .driver-individual .right .rf-tab .rf-tab-headers, .driver-individual .right .personal-details, .driver-individual .right .app-credentials, .driver-individual .right .job-details {
            margin-left: 2vw;
            margin-right: 2vw;
            font-size:20px;
            font-weight:500;
        }
.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    .job-details .job-details-left {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        flex: 0 1 840px;
        padding: 20px 2vw;
    }

        .job-details .job-details-left .job-details-left-top {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            padding: 0 0 0 1vw;
        }

            .job-details .job-details-left .job-details-left-top .search, .job-details .job-details-left .job-details-left-top .search-filter {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
            }

        .job-details .job-details-left .search .datepicker-rf {
            background: #F4F6F9 0% 0% no-repeat padding-box;
            box-shadow: 0px 3px 6px #00000029;
            border-radius: 8px;
            width: 315px;
            height: 55px;
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        .job-details .job-details-left .search [icon-input-rf] > [i-input-rf] {
            text-align: center;
        }

        .job-details .job-details-left .search .datepicker-rf i {
            display: none;
        }
        
        .job-details .job-details-left .job-details-left-top .search-filter .option-rf {
            border: 2px solid transparent;
            font-size: 20px;
            font-weight: 600;
            background-color: #fff;
            min-height: 45px;
            align-items: center;
            justify-content: center;
            display: flex;
            cursor: pointer;
        }

        .job-details .job-details-left .job-details-left-top .search-filter .radio-rf > div {
            width: 110px;
            border: 1px solid #00000029;
            border-radius: 5px 5px 5px 5px;
        }

        .job-details .job-details-left .job-details-left-top .search-filter .radio-rf .option-rf-checkarea {
            display: none;
        }

        .job-details .job-details-left .job-details-left-top .search-filter .radio-rf [templated]:checked ~ .radio-rf-label .option-rf[enable-bg] {
            box-shadow: none;
            border: 1px solid #da291c;
            background-color: var(--default-red-color);
            color: #fff;
        }

        .job-details .job-details-left .job-details-left-bottom {
            margin-top: 40px;
            margin-bottom: 40px;
            margin-left: 3vw;
            align-items: start;
            display: grid;
            grid-gap: 40px;
            grid-template-columns: repeat(auto-fit, 200px);
            justify-content: center;
        }

            .job-details .job-details-left .job-details-left-bottom > div {
                color: var(--title-font-color);
                width: 240px;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

                .job-details .job-details-left .job-details-left-bottom > div > span {
                    font-size: 22px;
                    font-weight: 600;
                    opacity: 0.75;
                }

                .job-details .job-details-left .job-details-left-bottom > div > div {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }

                    .job-details .job-details-left .job-details-left-bottom > div > div span:nth-child(2) {
                        font-size: 18px;
                        opacity: 0.60;
                        font-weight: 500;
                    }

                    .job-details .job-details-left .job-details-left-bottom > div > div i {
                        font-size: 16px;
                    }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(1) > div i {
                    color: #00ADBB;
                }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(2) > div i {
                    color: #45B083;
                }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(3) > div i {
                    color: #DA291C;
                }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(4) > div i {
                    color: #AE90C3;
                }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(5) > div i {
                    color: #00DDDD;
                }

                .job-details .job-details-left .job-details-left-bottom > div:nth-child(6) > div i {
                    color: #FF8000;
                }

.job-details-right {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .job-details-right > .status {
        width: 220px;
        height: 110px;
        background-color: #F4F6F9;
        border: 1px solid #00000029;
        color: var(--title-font-color);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 6px;
        justify-content: center;
    }

        .job-details-right > .status > div {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .job-details-right > .status.working-slot > div {
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            gap:0;
        }
            .job-details-right > .status.working-slot > div > div {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .job-details-right > .status span.icon {
                width: 22px;
                height: 22px;
                border-radius: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #45B083;
                color: #EFFFEC;
                font-size: 10px;
            }

            .job-details-right > .status > div > span.title {
                font-size: 20px;
                font-weight: 600;
            }

        .job-details-right > .status > div:not(:first-child), .job-details-right > .status.working-slot > div > div:not(:first-child) {
            font-size: 16px;
            font-weight: 500;
            color: #666;
        }

                .job-details .display-none-year, .job-details .display-none-month, .job-details .display-none-date-range {
                    display: none !important;
                }



.driver-summary {
    /* align-items: start;
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fit, 400px);
        justify-content: space-between; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /*height: 100vh;*/
    /*border: 1px solid #000;*/
}

.leave-summary, .bonus-salary {
    flex: 1; /* Makes both divs equal in width */
    display: flex;
    flex-direction:column;
    background: #ffffff;
    padding: 40px;
    border-radius: 2px;
    width: 49%;
    gap: 20px;
    box-shadow: 0 4px 2px -3px 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);
}


    .leave-summary .sick-leave, .leave-summary .casul-leave {
        height: 200px;
        width: 100%;
    }

    .leave-summary .sick-leave {
        border: 2px solid #EFFFEC;
    }

    .leave-summary .casul-leave {
        border: 2px solid #ECFEFF;
    }

        .leave-summary .sick-leave .header, .leave-summary .casul-leave .header {
            height: 75px;
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-left: 2vw;
        }

            .leave-summary .sick-leave .header > span:nth-child(1), .leave-summary .casul-leave .header > span:nth-child(1) {
                font-size: 24px;
                font-weight: 600;
            }

            .leave-summary .sick-leave .header > span:nth-child(2), .leave-summary .casul-leave .header > span:nth-child(2) {
                font-size: 20px;
                font-weight: 500;
            }

    .leave-summary .sick-leave .header {
        background-color: #EFFFEC;
    }

    .leave-summary .casul-leave .header {
        background-color: #ECFEFF;
    }

    .leave-summary .body {
        display: flex;
        padding: 0 5vw;
        align-items: center;
        justify-content: space-between;
        height: 125px;
    }

        .leave-summary .body div {
            display: flex;
            flex-direction: column;
        }

            .leave-summary .body div:nth-child(1) {
                padding-right: 2vw;
                margin-right: 1vw;
                border-right: 1px solid #ccc;
            }

.bonus-salary-bottom {
    display: flex;
    flex-direction: column;
}

    .bonus-salary-bottom > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .bonus-salary-bottom > div > div {
            position: relative;
            display: flex;
            flex-direction: column;
            /*height: 85px;*/
        }

    .bonus-salary-bottom .overtime-field-trip-wrapper {
        display: flex;
        gap: 20px;
        margin-top: 30px;
    }

        .bonus-salary-bottom .overtime-field-trip-wrapper > div {
            height: 300px;
            min-width: 45%;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
            padding: 30px 1vw;
            box-shadow: 0 4px 2px -3px 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);
        }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div {
                display: flex;
                flex-direction: column;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > span {
                display: flex;
                align-items: flex-end;
                gap: 10px;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div:nth-child(1) span:nth-child(1) {
                color: var(--title-font-color);
                font-size: 24px;
                font-weight: 600;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div:nth-child(1) span:nth-child(2),
            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div:nth-child(2) span {
                color: var(--title-font-color);
                font-size: 18px;
                font-weight: 500;
                opacity: 0.9;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div:nth-child(2) div span:nth-child(1) {
                color: var(--default-red-color);
                font-size: 28px;
                font-weight: 600;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > div:nth-child(2) div span:nth-child(2) {
                color: var(--default-red-color);
                font-size: 20px;
                font-weight: 600;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div span:nth-child(1) {
                color: var(--title-font-color);
                font-size: 24px;
                font-weight: 600;
            }

            .bonus-salary-bottom .overtime-field-trip-wrapper > div > span > span {
                color: var(--title-font-color);
            }

                .bonus-salary-bottom .overtime-field-trip-wrapper > div > span > span:nth-child(1) {
                    font-size: 20px;
                    font-weight: 600;
                }

                .bonus-salary-bottom .overtime-field-trip-wrapper > div > span > span:nth-child(2) {
                    font-size: 16px;
                }