body{
background:#f5f6fa;
font-family:Inter;
}
.page-id-24970 .vc_column_container {
     margin-bottom: 0px; 
}
html body .page-id-24970 .theme-main, .page-id-24970 .theme-page-content .theme-main.theme-gutenberg-block>* {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
} 
.page-id-24970 .theme-main, .page-id-24970 .theme-page-content .theme-main.theme-gutenberg-block>* {
    width: 100%;
}
.page-id-24970 .theme-page .theme-page-content {
    min-height: 200px;
    padding-top: 0px !important; 
    padding-bottom: 0px !important; 
    margin: 0px 0px 0px 0px;
    background: #f3f4f6;
}
.panel-title{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}
#chbsChatApp {
    display: flex;
    height: 600px;
    font-family: Arial;
}

/* LEFT PANEL */
.chat-sidebar {
    width: 300px;
    border-right: 1px solid #ddd;
    padding: 15px;
    background: #fafafa;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-count {
    background: red;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.chat-tabs button {
    margin-right: 5px;
    padding: 5px 10px;
    border: none;
    background: #eee;
    cursor: pointer;
}

.chat-tabs .active {
    background: #ddd;
}

.broadcast-box {
    background: #f7e4b5;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    cursor: pointer;
}

/* DRIVER LIST */
.chat-driver-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.driver-item:hover {
    background: #f0f0f0;
}

.chat-badge {
    float: right;
    background: red;
    color: #fff;
    padding: 3px 7px;
    border-radius: 50%;
}

/* RIGHT PANEL */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TOP */
.chat-top {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

/* CHAT BODY */
#chatBox {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #fff;
}

/* MESSAGES */
.msg {
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 60%;
}

.sent {
    background: #f4b942;
    margin-left: auto;
}

.received {
    background: #eee;
}

/* INPUT */
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
}
.ticks {
    font-size: 12px;
    margin-left: 5px;
    color: #999;
}

.ticks.seen {
    color: #4fc3f7; /* blue double tick */
}

.meta {
    text-align: right;
    font-size: 11px;
}

.chat-input button {
    margin-left: 5px;
    padding: 10px 15px;
    cursor: pointer;
}
 .ride-meta-item {
    flex: 1 1 120px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 120px;
}
.msg-row {
    display: flex;
    margin-bottom: 10px;
}

.msg-row.sent {
    justify-content: flex-end;
}

.msg-row.received {
    justify-content: flex-start;
}

.msg-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f1f1f1;
    position: relative;
}

.msg-row.sent .msg-bubble {
    background: #f4b942;
}

.msg-text {
    font-size: 14px;
}

.msg-meta {
    font-size: 11px;
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    color: #666;
}

.ticks {
    font-size: 12px;
    color: #999;
}

.ticks.seen {
    color: #4fc3f7;
}

.chat-img {
    display: block;
    margin-top: 5px;
    max-width: 150px;
    border-radius: 8px;
}
.chat-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.chat-row.me {
    justify-content: flex-end;
}

.chat-row.other {
    justify-content: flex-start;
}

/* avatar */
.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.avatar.me {
    margin-left: 10px;
    margin-right: 0;
    background: #f4b942;
}

/* content */
.chat-content {
    max-width: 70%;
}

/* top line */
.chat-top {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
    display: flex;
    gap: 10px;
}

/* bubble */
.bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.bubble.other {
    background: #f1f1f1;
}

.bubble.me {
    background: #f4b942;
}

/* meta */
.meta {
    font-size: 11px;
    color: #4fc3f7;
    margin-top: 4px;
    text-align: right;
}

/* read text */
.read {
    color: #4fc3f7;
}

/* image */
.chat-img {
    display: block;
    margin-top: 5px;
    max-width: 150px;
    border-radius: 8px;
}
.avatar::after {
    content: '';
    width: 8px;
    height: 8px;
    background: green;
    border-radius: 50%;
    position: absolute;
}
.ride-meta-item .label {
    display: block;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight:500;
}

.ride-meta-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.dispatch-tabs button.active, .dispatch-tabs button:hover, .dispatch-bid-tabs button.active, .dispatch-bid-tabs button:hover{
    background: #f4c557;
}
.badge.Active{
    background: green;
    color: white;
}
.badge.Refunded{
    background: #e4e71f;
    color: black;
}
.badge.Cancelled{
    background: burlywood;
    color: black;
}
.badge.Pending, .badge.Awaiting{
    background: #a5d0ff;
    color:#000;
}
.UNPAID, .Missed{
    color: red;
    background: #e7e1e1;
    border: 1px solid;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    font-weight: 600;
}
.PAID{
    color: #40a427;
    background: #ffffff;
    border: 1px solid;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    font-weight: 600;
}
.attrChecks{
    display: flex !important;
    width: 100% !important;
    flex-direction: row-reverse !important;
    border: 1px solid #ddd !important;
    align-items: center !important;
}
.attrChecks input{
    width: 60%!important;
    margin: 7px !important;
}
.dispatch-feed{
    padding:10px;
}
.toolbar-actions .btn-primary, .btn-trash{
    width: auto;
    padding: 7.5px 14px !important;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-left: 8px;
}

.btn-trash{
    background: red !important;
    color: white;
    border: navajowhite;
    border-radius: 5px;
    float: right;
    cursor:pointer;
}

.dispatch-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.Unpaid{font-size: 12px;
    color: #dc2626;
    border: 1px solid;
    padding: 2px;
    border-radius: 5px;
    background: #ff00004f;}

.dot{
    width:8px;
    height:8px;
    border-radius:50%;
}

/* COLORS */
.dot.blue{background:#3b82f6;}
.dot.green{background:#22c55e;}
.dot.orange{background:#f97316;}
.dot.red{background:#ef4444;}
.dot.gray{background:#6b7280;}

.name{
    font-weight:600;
    font-size:13px;
    color:#303030;
}

.route{
    font-size:12px;
    color:#6b7280;
    font-weight:400;
}

.dispatch-right{
    text-align:right;
}
.dispatch-right{
width:35%;
height:600px;
background:#f9fafb;
border-radius:10px;
}

.time{
    font-size:12px;
    font-weight:600;
}

.status{
    font-size:11px;
    color:#6b7280;
}

/* optional colors */
.status.completed{color:#22c55e;}
.status.pending{color:#f97316;}
.status.assigned{color:#3b82f6;}
.status.missed{color:#ef4444;}
.schedule-toolbar{
    display: flex;
    justify-content: space-between;
}
.schedule-filters{
    display: flex;
}
.schedule-filters select{
    width: 190px;
    margin-right: 5px;
}
.job-status.Missed,.status.missed{
    background:#fee2e2;
    color:#dc2626;
}
#driverSearch{
    width: 350px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.operator-layout{
display:flex;
min-height:100vh;
}
.tab-title{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.unassigned{
    border:1px solid orange;
    background:#ffedd4;
    color:orange;
    padding:3px 5px;
    border-radius:5px;
    font-size:12px;
    font-weight:500;
}

 .refresh-icon {
            color: #facc15; /* yellow */
            transition: transform 0.3s ease;
        }
        
        /* Rotate on hover */
        .dn-refresh:hover .refresh-icon {
            transform: rotate(360deg);
        }
        
        /* Pulse animation for new notifications */
        .refresh-icon.new {
            animation: pulse-refresh 1s infinite;
        }
        
        @keyframes pulse-refresh {
            0% { transform: scale(1); }
            50% { transform: scale(1.3); }
            100% { transform: scale(1); }
        }
/* SIDEBAR */

.operator-sidebar{
width:240px;
background:#0f1b2d;
color:#fff;
padding:0px 0;
}

.op-logo{
font-size:20px;
font-weight:600;
padding:0 25px 25px;
}

.op-menu{
list-style:none;
padding:0;
margin:0;
}

.op-menu li{
    padding:8px 25px;
    cursor:pointer;
    color:#b7c0d1;
    display:flex;
    margin:4px 10px;
}
.op-menu .admin-menu{
    font-size: 15px;
    font-weight: 400;
    margin-left: 8px;
}

.op-menu li:hover,
.op-menu li.active{
    background:#f0c24b;
    color:#000;
    border-radius:8px;
    margin:4px 10px;
    padding:8px 25px;

}

/* MAIN */

.operator-main{
flex:1;
padding:0px;
}

#operator-content{
padding:25px;
}

/* HEADER */

.operator-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-top: 2px solid #ddd;
    padding: 21px;
    border-bottom: 1px solid #ddd
    white-space:nowrap;
}

.admin-avatar{
    position: relative;
    width: 31px;
    height: 31px;
}

.driver-profile-page .admin-avatar{
    position: relative;
    width: 90px;
    height: 90px;
}
.header-right p, .right b{
    color:#303030 !important;
    font-size:14px !important;
    font-weight:500;
}
.header-right small, .right small{
    color:#7b7676 !important;
    font-size:12px !important;
    font-weight:400;
}
.profile-header .right{
    margin-right:180px;
}
.profile-header .right b {
    color: #303030 !important;
    font-size: 22px !important;
    font-weight: 700;
}
.driver-profile-page .display-name{
    font-size: 26px;
    font-weight: 600;
    color: #000;
}

.admin-avatar img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.operator-header h2{
    margin:0;
    font-size:20px;
    font-weight:600;
}

.header-right{
display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-direction: row;
}

.display-name{
    font-size: 12px;
    font-weight: 600;
}

.header-right input{
padding:8px 12px;
border-radius:6px;
border:1px solid #ddd;
}

.profile{
width:36px;
height:36px;
border-radius:50%;
}
.overview-cards{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:25px; 
}
.Assigned{
    background: #f4c557;
    color:#000;
}
.driver-row{
        width: 100%;
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.driverListModal input{
    width:20px !important;
}

.overview-card{
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    justify-content: space-between;
}
#dispatchBookingList .dispatch-card{
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border: 1px solid green;
    border-right: 4px solid green;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}
#dispatchBookingList{
        display: block;
    max-height: 800px;
    overflow: auto
}
.overview-card p{
    padding: 0;
    font-size: 13px;
    text-align: right;
    font-weight: 500;
}
.overview-card h2{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: right;
}
.overview-chart p{
    padding: 0;
    font-size: 13px;
    text-align: left;
    font-weight: 500;
    margin-bottom:12px;
}
.overview-chart h2{
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}


.stats-icon{
font-size: 28px;
    background: #8d898933;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.green{background:#e8f9ef;}
.green-clr{color:#199c4f;}

.blue{color:#1a66d2;}
.orange{color:#f3851f;}
.purple{color:#7529d1;}

.green-clrr{color:#199c4f;}
.blue-clr{color:#1a66d2;}
.orange-clr{color:#f3851f;}
.purple-clr{color:#7529d1;}

.overview-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
}

.overview-chart,
.dispatch-feed{
background:#fff;
padding:25px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.dispatch-feed ul{
list-style:none;
padding:0;
margin:0;
}

.dispatch-feed li{
margin-bottom:20px;
}

.dot{
width:8px;
height:8px;
display:inline-block;
border-radius:50%;
margin-right:8px;
}

.dot.blue{background:#3b82f6;}
.dot.orange{background:#f97316;}
.dot.green{background:#22c55e;}

/* Wrapper */
.overview-wrapper{
    width:100%;
}

/* ========================
STATS CARDS
======================== */

.overview-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:25px;
}

.overview-card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    display:flex;
    align-items:center;
    gap:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.overview-card h2{
    font-size:22px;
    margin:0;
}

.overview-card p{
    margin:0;
    font-size:14px;
    color:#777;
    font-weight:600;
}

/* Icon */
.stats-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.green-clr{background:#e6f8ec;}
.blue{background:#e8f1ff;}
.orange{background:#fff2e6;}
.purple{background:#f3eaff;}


/* ========================
GRID CONTENT
======================== */

.overview-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.overview-chart,
.dispatch-feed{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.overview-chart canvas{
    width:100% !important;
    height:300px !important;
}

/* ========================
DISPATCH FEED
======================== */

.dispatch-feed ul{
    list-style:none;
    padding:0;
    margin:0;
}

.dispatch-feed li{
    display:flex;
    flex-direction:column;
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.dispatch-feed strong{
    font-size:14px;
}

.dispatch-feed p{
    margin:3px 0 0;
    font-size:13px;
    color:#777;
}

.dot{
    width:8px;
    height:8px;
    border-radius:50%;
    display:inline-block;
    margin-right:5px;
}

.dot.blue{background:#3b82f6;}
.dot.orange{background:#f97316;}
.dot.green{background:#22c55e;}


/* ========================
TABLET
======================== */

@media (max-width:1024px){

.overview-cards{
grid-template-columns:repeat(2,1fr);
}

.overview-grid{
grid-template-columns:1fr;
}

}


/* ========================
MOBILE
======================== */

@media (max-width:600px){

    .overview-cards{
    grid-template-columns:1fr;
    }
    
    .overview-card{
    flex-direction:row;
    }
    
    .overview-chart canvas{
    height:220px !important;
    }

    .dispatch-stats,.dispatch-tabs, .dispatch-bid-tabs{
        flex-direction: column;
    }
    .dispatch-tabs button:first-child, .dispatch-bid-tabs button:first-child{
        border-top-left-radius:12px;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: 12px;
    }
    .dispatch-tabs button:last-child,.dispatch-bid-tabs button:last-child{
        border-top-right-radius:0px !important;
        border-bottom-right-radius:12px;
        border-bottom-left-radius:12px;
    }
}


.operator-sidebar{
    width:240px;
    background:#111827;
    color:#fff;
    left:0;
    top:0;
    transition:0.3s;
}
.operator{
        background: #f0c24b;
    padding: 5px;
    border-radius: 6px;
    color: black;
    margin-right: 10px;
}

/* collapsed */
.operator-sidebar.collapsed{
    transform:translateX(-100%);
}

.op-logo{
    font-size:20px;
    padding:20px;
    font-weight:600;
}

.op-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.op-menu li{
    padding:8px 25px;
    cursor:pointer;
}

.op-menu li:hover,
.op-menu li.active{
    background:#f0c24b;
    color:#000;
}


/* Toggle button */

.sidebar-toggle{
    display: none;
    position: absolute;
    right: 156px;
    top: 22px;
    z-index: 999;
    background: #17181b;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 18px;
}


/* ======================
Responsive
====================== */

@media (max-width:900px){

.operator-sidebar{
    transform:translateX(-100%);
    z-index:9999;
}
.operator-sidebar{
    position:fixed;
    z-index:9999;
}
.sidebar-toggle{
    display:block;
}

.operator-sidebar.active{
    transform:translateX(0);
}

}

@media (max-width:730px){
    .live-container {
        display: flex;
        gap: 20px;
        flex-direction: column-reverse;
    }

    .live-container .driver-sidebar {
        width: 100%;
        background: #f9fafb;
        border-radius: 10px;
        padding: 10px;
        overflow-y: auto;
        display: block;
        max-height: 300px;
    }
    .live-container .left-container {
        width: 100%;
    }
}



/* =======================
booking management css
=========================*/

.bookings-wrapper{
    background:#fff;
    padding:20px;
    border-radius:12px;
}

.booking-toolbar{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap:10px
}
.chbs-filter-input{
    height: 40px;
    padding: 2px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.2s ease;
    margin:0px;
}

.booking-toolbar input{
    padding:8px 12px;
    border:1px solid #ddd !important;
    border-radius:6px;
    width:300px;
}

.toolbar-actions button{
    margin-left:10px;
}

.btn-primary{
    background: #ffc107;
    color: #000;
    border: none;
    padding: 7.5px 14px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    margin-bottom: 15px;
}
.btn-secondary{
    background: #fff;
    color: #000;
    border: 1px solid #ffc107;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    margin-bottom: 15px;
}
.btn-primary:hover{
    background: #fff;
    outline: 1px solid #f0c24b;
    padding: 7.5px 14px;
    border-radius: 6px;
    color: black;
    font-weight: 500;
    cursor:pointer;
}
.width-50-per{
    width:50%;
}

/* ===== Card Container ===== */
.chbs-filter-card {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 15px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #ddd;
    font-family: Inter, sans-serif;
}

/* ===== Header ===== */
.chbs-filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
}
.chbs-field-group label {
    font-weight: 400;
    font-size: 14px;
    color: #000;
}
.chbs-clear-btn {
    text-align: right;
    float: right;
}

.chbs-clear-btn button {
    background: none;
    border: none;
    color: #111;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chbs-clear-btn button:hover {
    color: #f4c557;
}
.chbs-filter-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.chbs-filter-card p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Grid Layout ===== */
.chbs-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}


.btn-outline{
background:#fff;
border:1px solid #ddd;
padding:8px 14px;
border-radius:6px;
  font-size: 14px;
    font-weight: 500;

}
.btn-outline:hover{
background: #fff;
    border: 1px solid #f0c24b;
    padding: 8px 14px;
    border-radius: 6px;
    color: black;
    font-size: 14px;
    font-weight: 500;
   cursor:pointer;

}

.booking-table, .table-responsive{
width:100%;
border-collapse:collapse;

}
.table-wrapper{
    max-height: 600px;
    overflow-y: auto;
}

.table-wrapper table{
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper thead th{
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 2px solid #ddd !important;
}
#bookingTableWrapper{
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-top:15px;
}
.booking-table tr, .table-responsive tr{
        vertical-align: middle;
}
.booking-table th, .table-responsive th,
.booking-table td, .table-responsive td{
    text-align: left;
    padding: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #303030;
    white-space: nowrap;
    border: 0;
    vertical-align:middle;
    border-bottom: 1px solid #ddd;
}
.details-btns {
   display: inline-block;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    margin-left: 15px;
        white-space: nowrap;
}
.booking-table thead th, .table-responsive thead th{
padding: 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    background: #f9f7f7;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width:1% !important;
}

.link-text{
    font-size:15px;
    font-weight:450;
    color:#f4c557;
}
.normal-text{
    font-size:13px;
    font-weight:450;
}
.link-button {
    margin-top:15px;
    border: 1px solid #f4c557;
    color: #f4c557;
    border-radius: 5px;
    background: #441717;
    padding: 2px 5px;
    cursor: pointer;
}
.timeline .step{
    font-size:12px;
    margin-bottom:6px;
    border-left:3px solid #e5e7eb;
    padding-left:8px;
    color:#000;
}
.timeline small, .timeline span{
    font-weight: 400;
}
.timeline {
    display: flex;
    gap: 10px;
    text-align: center;
    align-items: flex-start;
    justify-content: flex-start;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background: #dde4fb;
    margin-top: 10px;
}

.timeline .total-time{
    margin-top:8px;
    font-weight:600;
    color:#111827;
    float: right;
    margin: 10px 0 0 auto;
    font-size: 14px;
}
.link-btn-status{
    margin-top: 16px;
    border: 1px solid #f4c557;
    color: #f4c557;
    border-radius: 5px;
    background: #000000;
    padding: 2px 5px;
    cursor: pointer;
}
.top-actions{
    gap: 5px;
    float: right;
    width: 79%;
    justify-content: flex-end;
}
.pi-input:disabled, .pi-input:read-only{
    background: #ede8e8;
}
#confirmPayout.disabled{
    background:#d5d5d5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
#clientProfile h3{
   margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color:#303030;
}
#customerAvatarPreview{
   width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #977e0d;
}
.status{
padding:4px 8px;
border-radius:6px;
font-size:12px;
}

.status.completed{
background:#d1fae5;
color:#065f46;
}

.status.pending{
background:#fef3c7;
color:#92400e;
}

.status.assigned{
background:#dbeafe;
color:#1e40af;
}

#earnings-dashboard .iconn{
    text-align: center;
    font-size: 50px;
    color: #ffcc5c;
    background: cornsilk;
    border: 1px solid;
    border-radius: 12px;
    width: 100%;
    display: block;
}
.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.booking-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}



.booking-modal-content {
    background: #fff;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    animation: fadeIn .2s ease;
}
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        margin: 10px;
    }
}

@media (max-width: 479px) {
    .top-cards {
        display: flex;
        gap: 20px;
        margin-bottom: 25px;
        flex-direction: column;
    }
    .filters a {
      padding: 4px 2px !important;
    }
    .ride-item {
        display: flex;
        justify-content: space-between; 
        padding: 10px 0px;
        border-bottom: 1px solid #eee;
        flex-direction: column;
        align-items: flex-end;
    }
    .summary-card {
        flex: 1;
        padding: 8px !important;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
    }
}


.modal-close {
    position:absolute;
    right:20px;
    top:15px;
    font-size:20px;
    cursor:pointer;
}

.summary-cards {
    display:flex;
    gap:15px;
    margin:10px 0;
}

.summary-card {
    flex:1;
    padding:15px;
    border-radius:10px;
    text-align:center;
    font-weight:600;
}

.card-yellow { background:#fdf5e6; color:#d4a017; }
.card-red { background:#fdecec; color:#e11d48; }
.card-green { background:#ecfdf5; color:#16a34a; }

.detail-box {
background: #f8fafc;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 0px;
    display: inline-flex;
    line-height: normal;
    width: 100%;
}

.section-title {
    font-weight:600;
    margin:10px 0 10px;
    font-size:18px;
    color:#000;
}


.todayAmount{
    font-size: 40px;
    font-weight:600;
    color:#000;
    line-height: normal;

}
.booking-count{
    font-size: 13px;
    font-weight: 500;
    padding-left: 5px;
}
.booking-pagination, .client-pagination{
display:flex;
gap:6px;
justify-content:center;
align-items:center;
margin-top:20px;
margin-bottom:20px;
flex-wrap:wrap;
}

.booking-pagination button, .client-pagination button{
border:1px solid #ddd;
background:#fff;
padding:6px 12px;
border-radius:6px;
cursor:pointer;
font-size:14px;
}

.booking-pagination button:hover, , .client-pagination button:hover{
background:#f5f5f5;
}

.booking-pagination .active, .client-pagination .active{
background:#f0c24b;
border-color:#f0c24b;
color:#fff;
font-weight:600;
}

.page-dots{
padding:0 6px;
color:#888;
}









.driver-card{
background:#fff;
border-radius:12px;
padding:20px;
margin-bottom:20px;
box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.driver-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.driver-name{
font-size:18px;
font-weight:600;
color:#000;
}

.job-count{
font-size: 12px;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid #ddd;
}

.job-card{
border:1px solid #e5e7eb;
border-radius:8px;
padding:14px;
margin-bottom:10px;
}

.job-top{
display:flex;
align-items:center;
gap:10px;
}

.job-id{
font-weight:600;
color:#f59e0b;
}

.job-status{
padding:3px 8px;
border-radius:6px;
font-size:11px;
font-weight:600;
}

.job-status.Scheduled,.status.scheduled{
background:#ede9fe;
color:#7c3aed;
}
.status.canceled{
    background: brown;
    color: white;
}
.job-status.Completed{
background:#dcfce7;
color:#16a34a;
}

.job-price{
margin-left:auto;
font-weight:600;
}

.job-time{
margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #303030;
}

.pickup{
    margin-top: 6px;
    font-weight: 400;
    color: #303030;
    font-size: 13px;
}

.dropoff, .client{
    margin-top: 0px;
    font-weight: 400;
    color: #303030;
    font-size: 13px;
}

.driver-card{
background:#fff;
border-radius:12px;
padding:20px;
margin-bottom:20px;
border:1px solid #e5e7eb;
}

.driver-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.driver-name{
font-size:18px;
font-weight:600;
}

.badge{
font-size:12px;
padding:4px 8px;
border-radius:6px;
margin-left:8px;
  white-space:nowrap;
}

.badge.Available{
background:#dcfce7;
color:#16a34a;
}

.badge.On{
background:#dbeafe;
color:#2563eb;
}

.job-count{
    font-size: 12px;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    color: #303030;
}
#driverScheduleContainer{
    display: block;
    max-height: 1000px;
    overflow: auto;
}
.driver-count{
font-size:14px;
font-weight:600;
margin:10px 0 20px 0;
color:#6b7280;
}

.driver-stats{
display:flex;
gap:15px;
margin:20px 0;
}

.stat-box{
flex:1;
background:#fff;
border:1px solid #e5e7eb;
border-radius:10px;
padding:15px;
text-align:center;
}

.stat-box span{
font-size:22px;
font-weight:700;
display:block;
color:#303030;
}

.stat-box p{
font-size: 12px;
    color: #6b7280;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

.stat-box.available{
background:#ecfdf5;
}

.stat-box.busy{
background:#eff6ff;
}

.stat-box.empty{
background:#f9fafb;
}

.driver-meta{
display: flex;
    gap: 40px;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
    justify-content: space-between;
    color: #303030;
}
.driver-meta strong{
    font-weight:400;
}

.job-card{
border:1px solid #e5e7eb;
border-radius:8px;
padding:12px;
margin-top:10px;
}

.job-top{
display:flex;
align-items:center;
gap:10px;
}

.job-id{
color: #f59e0b;
    font-weight: 500;
    font-size: 14px;
}

.job-price{
margin-left:auto;
font-weight:600;
color:#000;
}

.job-status{
padding:3px 6px;
border-radius:6px;
font-size:11px;
}

.job-status.Completed{
background:#dcfce7;
color:#16a34a;
}

.job-status.Scheduled{
background:#ede9fe;
color:#7c3aed;
}

.no-jobs{
    text-align:center;
    padding:30px;
    color:#9ca3af;
}
.dispatch-layout{
display:flex;
gap:20px;
}

.dispatch-left{
width:65%;
max-height:600px;
overflow:auto;
}
.live-dispatch-left{
width:65%;
max-height:600px;
overflow:auto;
}

.live-dispatch-right .status{
   font-size: 11px;
    font-weight: 400;
    background: transparent;
    text-align: right;
    padding: 0;
}
.live-dispatch-right .time{
       font-size: 13px;
    font-weight: 600;
    text-align: right;
    color: #303030;
}

#map{
height:100%;
}

.dispatch-card{
background:#fff;
padding:15px;
margin-bottom:12px;
border-radius:10px;
border-left:4px solid #f0c24b;
}

.badge{
padding:4px 8px;
border-radius:6px;
font-size:12px;
font-weight: 600;
  white-space:nowrap;
}
.marker-circle{
    transform: rotate(var(--angle));
}
.vehicle-bg{
    background: #fff8db;
    padding: 2px 8px;
    border: 1px solid #fcd673;
    border-radius: 7px;
}
.mb-0{
    margin-bottom:0;
}
.m-0{
    margin:0 !important;
}
.p-0{
    padding:0;
}
.fleet-stats h2{
    font-size: 20px;
    font-weight: 600;
    color: black;
    text-align:left !important;
}
.fleet-stats h4{ font-size: 13px; font-weight:600; }
.font-16{ font-size:16px !important;}
.font-15{ font-size:15px !important;}
.font-14{ font-size:14px !important;}
.font-13{ font-size:13px !important;}
.font-12{ font-size:12px !important;}
.font-w-400 { font-weight:400; }
.font-w-500 { font-weight:500; }
.font-w-600 { font-weight:600; }
.bg-white{ background:#fff !important;}
.mt-0{  margin-top:0 !important;}
.badge.EnRoute{background:#fde68a;}
.badge.InProgress,.badge.Pob{background:#bbf7d0;}
.badge.Completed{background:#8df092;}
.badge.Arrived{background:#aeebf9;}

.booking-table .status.enroute{background:#fde68a;color:black;}
.booking-table .status.inprogress{background:#b4522d7a;color:black;}
.booking-table .status.arrived{background:#aeebf9;color:black;}

.status.enroute{color:#1c4af1;}
.status.inprogress{color:#b4522d;}
.status.arrived{color:#f97316;}

.custom-marker{
    background:transparent;
    border:none;
}

.marker-circle{
    width:40px;
    height:40px;
    border-radius:50%;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:600;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

/* popup card */
.map-popup{
    font-size:12px;
    line-height:1.4;
}

.status-badge{
    display:inline-block;
    margin-top:5px;
    padding:3px 8px;
    border-radius:6px;
    background:#e0f2fe;
    color:#0369a1;
    font-size:11px;
}

.custom-marker{
    background:transparent;
    border:none;
}

.marker-circle{
    width:40px;
    height:40px;
    border-radius:50%;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:600;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

/* popup card */
.map-popup{
    font-size:12px;
    line-height:1.4;
}

.status-badge{
    display:inline-block;
    margin-top:5px;
    padding:3px 8px;
    border-radius:6px;
    background:#e0f2fe;
    color:#0369a1;
    font-size:11px;
}
.marker-circle.pulse{
    position: relative;
}

.marker-circle.pulse::after{
    content:'';
    position:absolute;
    width:60px;
    height:60px;
    border-radius:50%;
    background:inherit;
    opacity:0.3;
    top:-10px;
    left:-10px;
    animation:pulse 1.5s infinite;
}
.btn-journeys{
    border: 1px solid #ddd;
    font-size: 10px;
}
.d-flex{
    display:flex;
}
.justify-center{
 justify-content:space-between !important;   
}
.btn-outline.green{
    color: green;
    border: 1px solid green !important;
}
@keyframes pulse{
    0%{ transform:scale(0.8); opacity:0.5; }
    70%{ transform:scale(1.4); opacity:0; }
    100%{ transform:scale(0.8); opacity:0; }
}

.booking-toolbar-dispatch{
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pickup-pin{
    background:#22c55e;
    color:#fff;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:16px;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.drop-pin{
    background:#ef4444;
    color:#fff;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:16px;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

/* ...... Client Table ........*/

.client-table{
    width:100%;
    border-collapse:collapse;
}

.client-table th,
.client-table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.badge{
    padding:4px 8px;
    border-radius:6px;
    font-size:12px;
}

.badge.corporate{background:#ede9fe;color:#6d28d9;}
.badge.private{background:#f3f4f6;}
.badge.partner{background:#e0f2fe;color:#0284c7;}
.badge.active{background:#dcfce7;color:#16a34a;}

.view-client{
    border:1px solid #facc15;
    padding:6px 10px;
    border-radius:8px;
    cursor:pointer;
    background:#fff;
}

/* MODAL */



.client-stats{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
    margin-bottom:20px;
}

.stat-card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

.stat-title{
    font-size:13px;
    color:#6b7280;
    margin-bottom:10px;
    font-weight:500;
}

.stat-value{
    font-size:22px;
    font-weight:600;
}

.stat-value.green{
    color:#16a34a;
}

.stat-value.red{
    color:#dc2626;
}
.client-toolbar{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.client-toolbar input,
.client-toolbar select{
    padding:8px 10px;
    border:1px solid #ddd;
    border-radius:8px;
}

.client-table{
    width:100%;
    border-collapse:collapse;
}

.client-table th{
    text-align:left;
    padding:10px;
    background:#f9fafb;
}

.client-table td{
    padding:10px;
    border-bottom:1px solid #eee;
}

.badge{
    padding:4px 8px;
    border-radius:6px;
    font-size:12px;
}
#clientSearch{
    width:100% !important;
}
.badge.corporate{background:#ede9fe;color:#6d28d9;}
.badge.private{background:#f3f4f6;}
.text-center{text-align:center !important;}
.text-left{text-align:left !important;}
.text-right{text-align:right !important;}

.client-modal{
    display:none;
    position:fixed;
    top:0;left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    overflow:auto;
}

.modal-content.large{
    margin:10px auto;
    background:#fff;
    border-radius:12px;
    padding:5px;
}

.profile-header{
    display: flex;
    gap: 15px;
    background: #606b85;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
}

.avatar{
    width:65px;
    height:65px;
    background:#ccc;
    border-radius:50%;
    position:relative;
}
.change-photo-btn{
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}
.profile-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:0px;
}

.card{
    background:#f9fafb;
    padding:10px 0px;
    border-radius:10px;
}

.card.full{
    margin-top: 0;
    border-top: 1px solid #ddd;
    border-radius: 0
}
#clientModal .booking-modal-content{
    padding:10px;
}
.pref-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0px;
}

.stats{
    display:flex;
    justify-content:space-between;
    text-align:center;
}
.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.booking-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}



.booking-modal-content {
    background: #fff;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    animation: fadeIn .2s ease;
}
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        margin: 10px;
    }
}



/*.......driver_and_fleet .........*/
.fleet-tabs{
    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:20px;
}

.fleet-tab, .drivers-tab{
    padding:8px 14px;
    border-radius:20px;
    border:1px solid #ddd;
    cursor:pointer; 
    background:#fff;
}

.fleet-tab.active , .drivers-tab.active{
    border-color:#facc15;
    background:#fff7ed; 
}

.btn-add{
    margin-left:auto;
    background:#facc15;
    border:none;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
}
.card-driver, .live-header{
        display: flex;
    align-items: center;
    justify-content: space-between;
    background:#fff !important;
}
.fleet-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-bottom:20px;
}
.driver-cards{
    grid-template-columns:repeat(4,1fr) !important;
    margin-top:20px !important;
}
#fleetContent #bookingTableWrapper{
    border: 1px solid #ddd;
    background: #fff;
}

.stat-card.blue{
    background:#e0f2fe;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.stat-card.green{
    background:#dcfce7;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.stat-card.orange{background:#fff7ed;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.fleet-table{
    width:100%;
    border-collapse:collapse;
}

.fleet-table th,
.fleet-table td{
    padding:12px;
    border-bottom:1px solid #eee;
}

.plate{
    background:#fef3c7;
    padding:3px 6px;
    border-radius:6px;
}

.badge.active{background:#dcfce7;color:#16a34a;}
.badge.maintenance{background:#fee2e2;color:#dc2626;}
.badge.charging{background:#dbeafe;color:#2563eb;}

.action-wrapper{
    position:relative;
}

.action-btn{
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
    padding:5px 10px;
}

/* DROPDOWN */
.action-dropdown{
    position:absolute;
    right:0;
    top:35px;
    width:220px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    display:none;
    z-index:999;
    overflow:hidden;
    border: 1px solid;
}

/* ITEMS */
.action-item{
    padding: 5px 14px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    color: #303030;
}

.action-item:hover{
    background:#f5f5f5;
}

/* FIRST ITEM (YELLOW HIGHLIGHT LIKE IMAGE) */
.action-item[data-action="view"]{
    background:#f6c453;
    color:#000;
    font-weight:500;
}

/* DANGER */
.action-item.danger{
    color:#ef4444;
}

/* DIVIDER */
.action-dropdown hr{
    margin:5px 0;
    border:none;
    border-top:1px solid #eee;
}

.action-dropdown{
    transform:translateY(10px);
    opacity:1;
    transition:0.2s;
}

.action-dropdown.show{
    display:block;
    transform:translateY(0);
    opacity:1;
}

.modal{
    display:none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.modal.active{
    display:flex !important;
}

.modal-box{
    background:#fff;
    width:420px;
    border-radius:12px;
    overflow:hidden;
    animation:fadeIn 0.2s ease;
}

.modal-header{
    padding:12px 16px;
    border-bottom:1px solid #eee;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.modal-body{
    padding:16px;
}

.close-modal{
    cursor:pointer;
    font-size:18px;
}

.btn-primary{
    background:#f6c453;
    border:none;
    padding:7.5px 14px;
    border-radius:6px;
    cursor:pointer;
}

.modal input, .modal select, .modal textarea{
    width:100%;
    background: #ffffff;
    border: 1px solid #0073ff;
    color: #000;
    padding: 5px 8px;
    border-radius: 7px;
}

.btn-submit{
    background:#f6c453 !important;
    border:none !important;
    padding:10px !important;
    width:100% !important;
    border-radius:6px !important;
    cursor:pointer !important;
    color:black  !important;
    font-weight:500;
    font-size:16px;
}
.fleet-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

.fleet-container{
    background:#fff;
    width:95%;
    max-width:600px;
    border-radius:14px;
    padding:20px;
    max-height:90vh;
    overflow:auto;
}

.tabs{
    display:flex;
    gap:6px;
    margin-bottom:15px;
    margin-top:15px;

}

.tab{
    flex:1;
    padding:10px;
    border:none;
    background:#eee;
    cursor:pointer;
}

.tab.active{
    background:#22c55e;
    color:#fff;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}

input{
    width:100%;
    padding:10px;
    margin-bottom:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

.gallery-preview{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.gallery-preview img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:8px;
}

.save-btn{
    background: #ffc107;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
}
.close-modal{
    background: #ddd;
    color: #000;
    border: none;
    padding: 7.5px 14px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    font-size: 14px;
    margin-right: 5px;
}

.price-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px;
    border-bottom:1px solid #eee;
}

.price-left{
    width:70%;
}

.price-left strong{
    display:block;
    font-size:14px;
    color:#111;
}

.price-left span{
    font-size: 13px;
    color: #777;
    font-weight: 500;
}

.price-right{
    width:25%;
}

.price-right input{
    width:100%;
    padding:8px;
    border:1px solid #ddd;
    border-radius:6px;
}
.gallery-preview{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.img-box{
    position:relative;
    width:90px;
    height:90px;
}

.img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:8px;
}

.remove-img{
    position:absolute;
    top:-6px;
    right:-6px;
    background:#ef4444;
    color:#fff;
    font-size:12px;
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    cursor:pointer;
}
.save-btn.loading{
    opacity:0.7;
    pointer-events:none;
}

.btn-loader{
    font-size:14px;
}
.driver-name{
    display:flex;
    align-items:center;
    gap:10px;
}

.vehicle-plate{
    color:#52a3fd;
}
.btn-profile:hover{
    background: #f9da8b;
    border-radius: 5px;
    padding: 5px;
}
.vehicle-col{
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.badge.on.shift{
    background:#fcd34d;
}

.badge.off.duty, .badge.Off.Duty{
    background:#e5e7eb;
    color:#000;
}

.badge.on.break{
    background:#fde68a;
}
.top-bar h2{
    margin: 0px;
    font-weight: 700;
    color: #000;
    font-size: 24px;
}
.pi-field label, .pi-fields label, .modal label {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}
.top-bar{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.back-to-drivers{
        background: transparent;
    border: none;
    font-size: 16px;
}
.profile-header{
    display:flex;
    justify-content:profile-header;
    background:#fff;
    padding:20px;
    border-radius:12px;
}
.profile-header .left{
    width:50%;
}

.avatar{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eee;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}

.profile-cards{
    display:flex;
    gap:15px;
    margin-top:15px;
}

.card{
    flex:1;
    background:#f9fafb;
    padding:15px;
    border-radius:10px;
}

.doc{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
}

.doc-status-actions{
    display:flex;
    gap:6px;
    margin-top:6px;
}

.doc-status-btn{
    padding:5px 10px;
    border-radius:6px;
    border:1px solid #ddd;
    cursor:pointer;
    font-size:12px;
    background:#fff;
}

.doc-status-btn.verified{ color:#16a34a; }
.doc-status-btn.rejected{ color:#dc2626; }
.doc-status-btn.pending{ color:#f59e0b; }

.doc-status-btn.active{
    background:#111;
    color:#fff;
}

.theme-page-header-middle{
        border-bottom: 1px solid #ddd;
}
.theme-page-header-bottom{
    display:none;
}
.doc-alert {
    display:flex;
    gap:15px;
    padding:18px;
    border-radius:10px;
    margin-bottom:15px;
    border:1px solid;
}

.doc-alert strong {
    display:block;
    margin-bottom:6px;
}

.doc-alert-warning {
    background:#fff7ed;
    border-color:#fed7aa;
    color:#9a3412;
}

.doc-alert-pending {
    background:#fef9c3;
    border-color:#fde047;
    color:#854d0e;
}

.alert-icon {
    font-size:22px;
    margin-top:2px;
}

.alert-list {
    margin:8px 0;
    padding-left:18px;
}

.alert-list li {
    margin-bottom:4px;
}
.documents{
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.driver-documents-wrapper {
    display:flex;
    flex-direction:column;
    gap:10px;
        border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

/* Document block */
.driver-document {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 10px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
}

.doc-info {
    display:flex;
    flex-direction:column;
    gap:5px;
}
.small-label{
    font-size: 13px;
    font-weight: 400;
    color: #656565;
    line-height: normal;
    padding-top: 2px;
    padding-left: 10px;
}
.doc-heading-title{
    font-size: 20px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 5px;
    color:black !important;
}
.doc-label-status {
    display:flex;
    align-items:center;
    gap:10px;
}

.verified-badge {
    background:#d4edda;
    color:#155724;
    padding:2px 8px;
    border-radius:12px;
    font-size:13px;
    font-weight:bold;
        white-space:nowrap;

}
.modal h3,.modal h2{
    margin:0px;
    font-weight:600;
    color:#000;
    font-size:20px;
}
.na-badge {
    background:#f6e4ca;
    color:#000;
    padding:2px 8px;
    border-radius:12px;
    font-size:13px;
    font-weight:bold;
        white-space:nowrap;

}
input.enabled-field {
    background: #ffffff;
    border: 1px solid #0073ff;
    color: #000;
    padding: 0px 8px;
    border-radius: 7px;
}
.download-btn {
   color: #3f3d3d;
    font-weight: 600;
    display: inline-flex;
    padding: 0;
    border: none;
    background: transparent;
    margin-top: 15px;
}
.pi-input,.price-field, #galleryInput {
   background: #ffffff;
    border: 1px solid #ae9252 !important;
    color: #000 !important;
    padding: 5px 8px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height:normal !important;
}
.pending-badge {
    background:#f5aa75;
    color:#000;
    padding:2px 8px;
    border-radius:12px;
    font-size:13px;
    font-weight:bold;
    white-space:nowrap;
}
.reject-badge {
    background:#ff37396e;
    color:#000;
    padding:2px 8px;
    border-radius:12px;
    font-size:13px;
    font-weight:bold;
    white-space:nowrap;
}
   .desktop-badge{
    display:block;
}.mobile-badge{
    display:none;
}
@media(max-width:978px) {

    .desktop-badge{
    display:none;
}.mobile-badge{
    display:block;
}
}
.doc-actions .view-btn { background:#e2e3ff; color:#3a3aff; }
 .doc-actions .download-btn {
    color: #3f3d3d;
    font-weight: 600;
    display: inline-flex;
    padding: 0; }
.doc-actions .upload-btn { color:#3f3d3d;font-weight: 600;
    display: inline-flex;margin-left:10px;
    padding: 0; }
.doc-actions .renew-btn {  color:#3f3d3d;font-weight: 600;
    display: inline-flex;
    padding: 0; }

.doc-actions .svg-file{
        padding-top: 3px;
    padding-left: 4px;
}
.doc-actions button:hover {
    opacity:0.85;
}.driver-document {
    display:flex;
    align-items: flex-start;
    gap:15px;
    padding:14px 16px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}

/* ICON */
.doc-icon {
    background:#e6f9ee;
    padding:10px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.doc-svg {
    width:24px;
    height:24px;
    color:#16a34a;
}

/* STATUS COLORS */
.doc-svg.pending { color:#f59e0b; }
.doc-svg.verified { color:#16a34a; }
.doc-svg.expiring { color:#f97316; }

/* INFO */
.doc-info {
    flex:1;
}

.doc-title {
    color: #000;
    line-height: normal;
    font-size: 15px;
    letter-spacing: 0.5px;
}


.doc-meta {
    font-size:13px;
    color:#656565;
    display:flex;
    gap:5px;
    margin-top:3px;
    font-weight:400;

}

/* ACTIONS */
.doc-actions button {
    background:none;
    border:none;
    color:#4f46e5;
    cursor:pointer;
    font-weight:500;
    margin-right:5px;
}

.doc-actions button:hover {
    text-decoration:underline;
}
.payment-card, .payment-detail, .dashboard-section{
    background:#fff;
    padding:20px;
    border-radius:12px;
    margin-top:20px;
    border:1px solid #ddd;
}
.payment-detail{
    margin:0 !important;
}
.payment-card{
    padding-bottom:45px !important;
}
.label-text{
    font-weight: 400; font-size: 14px;
}
.float-right{
    float:right !important;
}

.payment-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.payment-header h2{
    color:#f59e0b;
}
#calculatePayout, #btn-history{
    width: 100%;
    background: #121412;
    color: #ffffff;
    border: none;
    padding: 7.5px 14px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    font-size: 14px;
    margin-right: 0px;
    margin-bottom: 5px;
    border: 1px solid #af7e7e;
}

.payment-stats{
    display:flex;
    justify-content:space-between;
    margin:20px 0;
}

.payment-stats div{
    text-align:center;
}

.payment-breakdown p{
    display:flex;
    justify-content:space-between;
    margin:6px 0;
}

.payment-breakdown .red{
    color:red;
}

.payment-breakdown .net{
    font-weight:bold;
}

.download-invoice{
    margin-top:15px;
    background:#111;
    color:#fff;
    padding:10px 15px;
    border:none;
    border-radius:8px;
}

.payout-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:10px;
}

.payout-table th,
.payout-table td{
    padding:12px;
    border-bottom:1px solid #eee;
    text-align:left;
}

.payout-table th{
    background:#f9fafb;
}

.download-slip{
    padding:6px 10px;
    border:none;
    background:#111;
    color:#fff;
    border-radius:6px;
    cursor:pointer;
}

/* Progress Bars */
.progress-item {
    margin-bottom: 15px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.progress-bar {
    background: #eee;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: #4caf50;
    border-radius: 10px;
    transition: width .4s ease;
}

.percent {
    color: #000;
}

.progress-item span { display: block;
    margin-bottom: 0px !important;
    font-weight: 600 !important;
    font-size: 13px !important; 
}
.progress-item {
    margin-bottom: 15px;
}

.suspended,.Suspended{
    background: #ff000073;
    color: #000000;
}

.progress-bar {
    background: #f3f4f6;
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: #facc15;
    border-radius: 8px 0 0 8px;
}

.metrics-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-weight: 600;
}
.metrics-summary div {
    text-align: center;
}
#rememberme{
    width:auto !important;
}

.marker{
    width:18px;
    height:18px;
    border-radius:50%;
    border:3px solid #fff;
}

.marker.green{ background:#22c55e; }
.marker.blue{ background:#3b82f6; }
.marker.gray{ background:#6b7280; }

.driver-card{
    min-width:150px;
}

.dispatch-card{
    background:#fff;
    padding:15px;
    border-radius:10px;
    margin-bottom:10px;
}

.bid-row{
    display:flex;
    justify-content:space-between;
    padding:6px;
    border-bottom:1px solid #eee;
}

.bid-row button{
    background:#22c55e;
    border:none;
    color:#fff;
    padding:5px 10px;
    border-radius:6px;
}

.dispatch-header h2{
    margin:0;
}

.dispatch-header p{
    color:#6b7280;
    font-size:14px;
}

/* STATS */
.dispatch-stats{
    display:flex;
    gap:10px;
    margin:15px 0;
}

.stat-card{
    flex:1;
    background:#f3f4f6;
    padding:15px;
    border-radius:10px;
    text-align:center;
}

.stat-card h3{
    margin:5px 0 0;
}

/* TABS */
.dispatch-tabs, .dispatch-bid-tabs{
    display:flex;
    margin-bottom:15px;
}
.dispatch-tabs button:first-child, .dispatch-bid-tabs button:first-child{
    border-top-left-radius:12px;
    border-bottom-left-radius:12px;
}
.dispatch-tabs button:last-child, .dispatch-bid-tabs button:last-child{
    border-top-right-radius:12px;
    border-bottom-right-radius:12px;
}
.dispatch-tabs button, .dispatch-bid-tabs button{
    flex:1;
    padding:10px;
    border:none;
    background:#e5e7eb;
    cursor:pointer;
}

/* LIST */
.dispatch-list{
    background:#f9fafb;
    padding:15px;
    border-radius:10px;
}

.dispatch-card{
    background:#fff;
    padding:12px;
    border-radius:10px;
    margin-bottom:10px;
    border:1px solid #eee;
}
.driver-row{
    display:flex;
    gap:10px;
    padding:10px;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

.driver-row input{
    margin-top:5px;
    width:20px !important;
}

.driver-row.active{
    background:#e0f2fe;
}

/* BIDS */
.bid-row{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
    border-bottom:1px solid #eee;
}

.bid-row button{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:5px 10px;
    border-radius:6px;
    cursor:pointer;
}
#applyFilters{
    padding: 0px 15px !important;
    line-height: normal;
    height: 40px;
    background: #f6c453;
}
.empty{
    text-align:center;
    color:#6b7280;
}