*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f2f2f2;
color:#222;
}

/* APP CONTAINER */

.app-container{
width:100%;
padding-top:65px;
padding-bottom:80px;
}

/* HEADER */

.top-header{
position:fixed;
top:0;
left:0;
width:100%;
height:60px;
background:#ffffff;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 20px;
border-bottom:1px solid #dcdcdc;
z-index:1000;
}

.title{
font-size:18px;
font-weight:600;
}

.top-header i{
font-size:20px;
cursor:pointer;
color:#333;
}

/* CONTENT */

.content{
padding:20px;
max-width:1200px;
margin:auto;
}



.earnings{
font-size:34px;
font-weight:bold;
margin:10px 0;
}

.earnings span{
/* display:block; */
font-size:12px;
color:#666;
}

/* .stats-row{
display:flex;
justify-content:space-around;
margin-top:10px;
}

.stats-row h2{
font-size:24px;
}

.stats-row p{
font-size:13px;
color:#666;
} */

/* OTP */

.otp{
margin-top:15px;
}

.otp-row{
display:flex;
justify-content:space-between;
margin-top:10px;
}

.otp-row div{
text-align:center;
font-size:13px;
color:#555;
}

.otp-row strong{
display:block;
font-size:18px;
margin-bottom:4px;
}

/* CONFIRM CARD */

.confirm-card{
display:flex;
align-items:center;
background:#222;
color:#fff;
padding:20px;
border-radius:12px;
margin-bottom:20px;
}

.confirm-card .icon{
background:#444;
width:45px;
height:45px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin-right:12px;
}

.confirm-card h4{
font-size:16px;
}

.confirm-card p{
font-size:13px;
opacity:.85;
}

/* SECTION TITLE */

.section-title{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:12px;
font-size:18px;
font-weight:600;
}

.section-title span{
color:#444;
font-size:14px;
cursor:pointer;
}




/* FOOTER NAV */

.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#000;
display:flex;
justify-content:space-around;
padding:12px 0;
z-index:1000;
}

.bottom-nav a{
text-align:center;
color:#aaa;
font-size:12px;
text-decoration:none;
}

.bottom-nav a i{
display:block;
font-size:18px;
margin-bottom:4px;
}

.bottom-nav a.active{
color:#fff;
}

/* ---------------- */
/* TABLET */
/* ---------------- */

@media (min-width:768px){

.stats-row{
gap:40px;
}

.otp-row{
gap:40px;
}

}

/* ---------------- */
/* DESKTOP */
/* ---------------- */

@media (min-width:1100px){

.content{
max-width:1300px;
}

.stats-card{
text-align:left;
}


.section-title{
font-size:20px;
}

}

/* LINK */
.ride-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* CARD */
.ride-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.ride-link:hover .ride-card {
    transform: translateY(-2px);
    border-color: #000;
}

/* TOP */
.ride-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ride-date {
    font-weight: 600;
    font-size: 14px;
}

.ride-rider {
    font-size: 13px;
    color: #666;
}

.ride-price {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

/* TIMELINE */
/* .ride-timeline {
    border-left: 2px solid #dcdcdc;
    margin-left: 12px;
    padding-left: 16px;
} */

.timeline-item {
    position: relative;
    margin-bottom: 14px;
}

.dot {
    position: absolute;
    left: -26px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    line-height: 16px;
    font-weight: bold;
    background: #000;
    color: #fff;
}

/* remove colors */
.dot.mid {
    background: #999;
    color: transparent;
}

/* TEXT */
.time {
    font-weight: 600;
    color: #000;
}

.time.highlight {
    color: #000; /* no green */
}

.timeline-item small {
    color: #666;
}

/* STATUS */
.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 12px;
    color: #000;
    border: 1px solid #ddd;
}

/* VIEW ALL */
.view-all {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}



/* REQUEST CARD */

.ride-request-card{
background:#fff;
border-radius:14px;
padding:18px;
margin-bottom:20px;
box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.ride-header{
display:flex;
justify-content:space-between;
margin-bottom:15px;
}

.ride-price{
text-align:right;
font-weight:700;
font-size:18px;
color:#000;
}

.distance{
font-size:12px;
color:#777;
}

.ride-leg{
display:flex;
align-items:flex-start;
margin-bottom:15px;
}

.leg-dot{
width:12px;
height:12px;
background:#555;
border-radius:50%;
margin-right:10px;
margin-top:6px;
}

.leg-info .label{
font-size:13px;
color:#777;
}

.leg-info .time{
font-size:16px;
font-weight:600;
}

.ride-expire{
background:#eee;
display:inline-block;
padding:6px 12px;
border-radius:20px;
font-size:12px;
color:#666;
}




.map-area #myryde-map {
    width: 100%;
    height: 260px;
}

.ride-detail-card {
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    margin-top: -20px;
}

/* HEADER */
.ride-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.date {
    font-weight: 600;
}

.rider {
    color: #666;
}

.price {
    font-weight: bold;
    font-size: 18px;
}

/* TIMELINE */
/* .ride-timeline {
    border-left: 2px solid #ddd;
    margin-left: 10px;
    padding-left: 16px;
} */

.timeline-item {
    position: relative;
    margin-bottom: 18px;
}

.dot {
    position: absolute;
    left: -26px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 10px;
    line-height: 18px;
}

.dot.mid {
    background: #999;
}

.label {
    font-size: 13px;
    color: #666;
}

.time {
    font-size: 16px;
    font-weight: 600;
}

.address {
    font-size: 13px;
    color: #444;
}

/* ACTION */
/* .swipe-area {
    display: flex;
    gap: 10px;
    margin-top: 20px;
} */

/* .reject-btn,
.accept-btn {
    flex: 1;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
} */

.reject-btn {
    background: #f5f5f5;
}

.accept-btn {
    background: #000;
    color: #fff;
}
.dryver_dashboard_admin_message .agent_messages,
.dryver_dashboard_admin_message .compose_msg form select#wc_agent_thread_filter,
.dryver_dashboard_admin_message .compose_msg a.compose_btn
/* .dryver_dashboard_admin_message a  */
{
    display: none !important;
}




/* Option Page */

/* BASE (Mobile First) */
.options-page {
    max-width: 100%;
    margin: auto;
    padding: 15px;
    font-family: Arial, sans-serif;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
}

.user-box {
    text-align: center;
    margin-bottom: 25px;
}

.user-icon {
    width: 60px;
    height: 60px;
    background: #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    background: #f7f7f7;
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.menu-item:hover {
    background: #ececec;
}

.arrow {
    font-size: 20px;
    color: #00b894;
}

.highlight span {
    color: #d63031;
    font-weight: 600;
}

.logout {
    border: 1px solid #ff7675;
}

.logout .arrow {
    color: #ff7675;
}

/* ========================= */
/* 💻 DESKTOP STYLING */
/* ========================= */

@media (min-width: 768px) {

    .options-page {
        max-width: 900px;
        padding: 30px;
    }

    .page-title {
        text-align: left;
        font-size: 24px;
        margin-bottom: 25px;
    }

    .user-box {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .user-icon {
        margin: 0;
    }

    .menu-list {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 15px;
    }

    .menu-item {
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        padding: 16px 18px;
    }

    .menu-item:hover {
        background: #f9f9f9;
        transform: translateY(-2px);
    }

    .menu-item span {
        font-size: 15px;
    }

    .arrow {
        font-size: 18px;
    }
}

/* ========================= */
/* 🖥️ LARGE DESKTOP */
/* ========================= */

@media (min-width: 1200px) {

    .menu-list {
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
    }

    .options-page {
        max-width: 1100px;
    }
}


/* My ryde page */
:root {
    --black: #111;
    --dark: #222;
    --grey-dark: #555;
    --grey: #888;
    --grey-light: #ddd;
    --bg-light: #f7f7f7;
    --white: #fff;
}

/* PAGE */
.myrides-page {
    max-width: 100%;
    margin: auto;
    padding: 15px;
    font-family: Arial, sans-serif;
}

/* TABS */
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--grey-light);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 5px;
    color: var(--grey);
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: var(--black);
    font-weight: 600;
}

.tab.active::after {
    content: "";
    height: 2px;
    width: 100%;
    background: var(--black);
    position: absolute;
    bottom: -1px;
    left: 0;
}

/* BADGE */
.badge {
    background: var(--dark);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.count {
    color: var(--grey-dark);
}

/* TAB CONTENT */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* EMPTY STATE */
/* .empty-state {
    text-align: center;
    padding: 40px 10px;
}

.empty-img {
    font-size: 60px;
    opacity: 0.2;
} */

.btn-refresh {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
}

/* RIDE LIST */
.section-title {
    margin: 20px 0 10px;
}

.rides-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CARD */
.ride-card {
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 15px;
}

.ride-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ride-price {
    font-weight: 600;
    color: var(--black);
}

/* STEPS */
.ride-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grey-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* STATUS */
.status {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    background: var(--bg-light);
    color: var(--grey-dark);
}

/* ========================= */
/* 💻 DESKTOP */
/* ========================= */

@media (min-width: 768px) {

    .myrides-page {
        max-width: 1000px;
        padding: 30px;
    }

    .rides-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* .empty-state {
        max-width: 400px;
        margin: 60px auto;
    } */
}

@media (min-width: 1200px) {

    .rides-list {
        grid-template-columns: 1fr;
    }
}

/* EMPTY STATE WRAPPER */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

/* IMAGE CONTAINER */
.empty-img {
    width: 100%;
    max-width: 220px;
    margin-bottom: 20px;
}

/* IMAGE */
.empty-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* TEXT */
.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* ========================= */
/* 📱 MOBILE (DEFAULT) */
/* ========================= */

@media (max-width: 767px) {
    .empty-state {
        padding: 30px 15px;
    }

    .empty-img {
        max-width: 180px;
    }

    .empty-state h3 {
        font-size: 16px;
    }
}

/* ========================= */
/* 💻 DESKTOP */
/* ========================= */

@media (min-width: 768px) {
    .empty-state {
        padding: 80px 20px;
        min-height: 300px;
    }

    .empty-img {
        max-width: 260px;
    }

    .empty-state h3 {
        font-size: 20px;
    }
}



@media (min-width: 1200px) {
    .empty-state {
        min-height: 400px;
    }

    .empty-img {
        max-width: 300px;
    }
}

/* ADVANCED CARD */
.ride-card.advanced {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 16px;
}

/* TOP */
.ride-meta {
    text-align: right;
}

.ride-price {
    font-weight: 600;
    font-size: 16px;
}

/* TIMELINE */
.ride-timeline {
    position: relative;
    margin-left: 10px;
    padding-left: 30px;
}

/* vertical line */
.ride-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

/* ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

/* DOT BASE */
.dot {
    position: absolute;
    left: -22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* START (A) */
.dot.start {
    background: #000;
    color: #fff;
}

/* STOPS (1,2,3) */
.dot.mid {
    background: #999;
    color: #fff;
    font-size: 10px;
}

/* END (B) */
.dot.end {
    background: #000;
    color: #fff;
}

/* CONTENT */
.timeline-item .content {
    padding-left: 5px;
}

.timeline-item strong {
    font-size: 14px;
}

.timeline-item small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* TIME */
.time {
    font-weight: 600;
    margin-top: 2px;
}
/* STATUS */
.status {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    background: #eee;
    color: #555;
}

.swal-btn-black {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}

.swal-btn-gray {
    background: #ddd;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}

/* =========================
   GLOBAL / BUTTONS
========================= */
.status {
    margin-top: 10px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    background: #eee;
    color: #555;
}

.swal-btn-black {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}

.swal-btn-gray {
    background: #ddd;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}
/* =========================
   GLOBAL BUTTONS
========================= */
.swal-btn-black {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}

.swal-btn-gray {
    background: #eee;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
}

/* =========================
   CHAT MODAL WRAPPER
========================= */
.chat-ui {
    display: flex;
    flex-direction: column;
    height: 80vh;
    max-height: 700px;
    width: 420px;
    max-width: 95%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* =========================
   HEADER (WHITE CLEAN)
========================= */
.chat-ui .modal-header {
    background: #fff;
    color: #000;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

/* FAKE AVATAR */
.chat-ui .modal-header::before {
    content: "";
    width: 34px;
    height: 34px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
}

.chat-ui .modal-header p {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    flex: 1;
}

.chat-ui .close {
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

/* =========================
   MESSAGE BODY
========================= */
.chat-ui .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
}

/* =========================
   MESSAGE BUBBLES
========================= */

/* LEFT (ADMIN) */
.chat-ui .admin-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
}

.chat-ui .admin-message p {
    background: #e8e8e8;
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 75%;
    margin: 0;
    font-size: 14px;
}

/* RIGHT (USER) */
.chat-ui .user-message {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 12px;
}

.chat-ui .user-message p {
    background: #000;
    color: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 75%;
    margin: 0;
    font-size: 14px;
}

/* TIME */
.chat-ui .admin-message span,
.chat-ui .user-message span {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

/* =========================
   INPUT BAR (LIKE IMAGE)
========================= */
.chat-ui .admin_message_footer {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}

/* INPUT */
.chat-ui .agent-type-msg {
    flex: 1;
    background: #f2f2f2;
    border: none;
    border-radius: 25px;
    padding: 10px 15px;
    height: 38px;
    resize: none;
    outline: none;
    font-size: 14px;
}

/* SEND ICON */
.chat-ui .wc_admin_send_msg {
    margin-left: 10px;
    cursor: pointer;
}

.chat-ui .wc_admin_send_msg img {
    width: 20px;
    height: 20px;
    filter: grayscale(1);
    opacity: 0.7;
}

/* =========================
   COMPOSE UI
========================= */
.compose-ui {
    display: flex;
    flex-direction: column;
    height: 80vh;
    background: #fff;
}

.chat-compose-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #f2f2f2;
}

.compose-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* INPUTS */
.compose-field {
    margin-bottom: 10px;
}

.compose-field input,
.compose-field textarea {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.compose-field textarea {
    min-height: 120px;
}

/* SEND BUTTON */
.compose-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.compose_submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
}

/* =========================
   SWAL CHAT LIST
========================= */
.chat-popup {
    width: 400px !important;
    border-radius: 14px;
}

.chat-list {
    text-align: left;
    max-height: 350px;
    overflow-y: auto;
}

.chat-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.chat-item:hover {
    background: #f5f5f5;
}

.active-chat {
    background: #efefef;
}

.chat-title {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.chat-preview {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.chat-meta {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.chat-badge {
    background: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

/* =========================
   MODAL POSITION (FLOATING)
========================= */
.admin-agent-message-wrapper {
    display: none;
}

.admin-agent-message-wrapper.active-chat-modal {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
    transform: none;
    z-index: 9999;
}

/* =========================
   SCROLLBAR
========================= */
.chat-ui .modal-body::-webkit-scrollbar {
    width: 5px;
}

.chat-ui .modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .chat-ui,
    .compose-ui {
        height: 100vh;
        width: 100%;
        border-radius: 0;
    }

    .admin-agent-message-wrapper.active-chat-modal {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .chat-popup {
        width: 95% !important;
    }
}

/* =========================
   SWIPE AREA (FIXED)
========================= */

.swipe-area {
    margin-top: 25px;
}

/* TRACK */
.swipe-track {
    position: relative;
    height: 55px;
    background: #f1f1f1;
    border-radius: 40px;
    overflow: hidden;
}

/* LABELS */
.swipe-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #777;
    pointer-events: none;
}

.swipe-label.left {
    left: 20px;
}

.swipe-label.right {
    right: 20px;
}

/* THUMB */
/* .swipe-thumb {
    position: absolute;
    top: 5px;

    left:50%;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    z-index: 2;
} */

.background-report-page .checker-product-card,
.identity-verification-page .stripe-product-card
{
    width: 60%;
}


.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .modal-body{
    height: 100%;
    max-height: 100%;
    background-color: transparent;
    padding: 15px 5px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .admin_message_footer{
    margin-top: auto;
    padding: 10px 0;
}
.dryver_dashboard_admin_message .SalesAgentModal .wc-sales-agent-conversation-area{
    padding: 15px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .agent-type-msg{
    border-radius: 12px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .wc_admin_send_msg{
    margin: 0;
    padding: 10px;
    display: flex;
    border-radius: 50%;
    background: #16b9be;
}

.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .admin-message p{
    margin-top: 6px;
    border-radius: 4px 16px 16px 4px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .admin-message p::after{
    left: 8px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .user-message p{
    margin-top: 6px;
    border-radius: 16px 4px 4px 16px;
}
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .user-message p::after{
    right: 8px;
}
.dryver_dashboard_admin_message .compose-field input, .dryver_dashboard_admin_message .compose-field textarea{
    border-radius: 6px;
    border: 1px solid #808080;
}
.dryver_dashboard_admin_message .SalesAgentModal .compose_modal .wc-sales-agent-conversation-area{
    padding: 15px !important;
}
 
.dryver_dashboard_admin_message .SalesAgentModal .chat-ui .agent-type-msg{
    border: 1px solid #808080;
}
 

@media(max-width: 768px){
    .dryver_dashboard_admin_message .SalesAgentModal .chat-ui{
        max-height: calc(100% - 140px);
    }
}

@media(max-width: 768px){
   .dryver_dashboard_admin_message .SalesAgentModal .chat-ui .agent-type-msg{
        margin: 0 10px 0 0;
        height: auto;
        min-height: 50px;
        max-height: 50px;
        letter-spacing: 0px;
        font-size: 12px;
   }
}
 
@media (max-width: 340px) {
    .dryver_dashboard_admin_message .SalesAgentModal .chat-ui {
        max-height: calc(100% - 100px);
    }
}

/* ACTION AREA */
.ride-actions-area {
    margin-top: 20px;
}

/* BUTTON ROW */
.action-row {
    display: flex;
    gap: 10px;
}

/* PRIMARY BUTTON (black) */
.btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

/* OUTLINE BUTTON (white) */
.btn-outline {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

/* HOVER (subtle) */
.btn-primary:hover {
    opacity: 0.85;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* STATUS NOTE */
.status-note {
    text-align: center;
    padding: 12px;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #000;
}


.badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.badge-card {
    width: 320px;
    background: #f5f5f5;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.badge-header img {
    width: 245px;
    margin-bottom: 10px;
}

.badge-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-photo img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
}

.label {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.value {
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    margin-top: 5px;
}

.badge-btn {
    margin-top: 20px;
    background: #555;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
}

.wp-block-group.myryde_footer {
    display: none;
}

.price-wrapper {
    position: relative;
    display: inline-block;
}

/* POPUP BOX */
.mileage-popup {
    position: absolute;
    bottom: 140%;
    right: 0;
    
    width: 260px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    font-size: 13px;
    line-height: 1.4;

    display: none;
    z-index: 999;
}

/* ARROW */
.mileage-popup::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 20px;

    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

/* SHOW */
.mileage-popup.active {
    display: block;
}

/* PRICE */
.ride-price {
    font-weight: bold;
    cursor: pointer;
}

/* TIMELINE */
.ride-request-card .timeline {
    margin-top: 15px;
}

.ride-request-card .timeline-row {
    display: flex;
    margin-bottom: 18px;
	gap:15px;
}

.ride-request-card .timeline-left {
    width: 30px;
    position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ride-request-card .line {
    width: 2px;
    background: #ccc;
    height: 100%;
    margin: auto;
}

/* DOTS */
.ride-request-card .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.ride-request-card .dot.start { background: #000; }
.ride-request-card .dot.end { background: #000; }
.ride-request-card .dot.mid { background: #999; }

/* RIGHT SIDE */
.ride-request-card .timeline-right {
    flex: 1;
}

.ride-request-card .row-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.ride-request-card .right-meta {
    font-size: 13px;
    color: #000;
}

/* TEXT */
.ride-request-card .time {
    font-size: 16px;
    font-weight: 600;
}

.ride-request-card .time.highlight {
    color: #000;
}

.ride-request-card .address {
    font-size: 13px;
    color: #444;
}

.ride-request-card .notes {
    font-size: 12px;
    color: #666;
}

/* STATUS */
.ride-request-card .status-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.ride-request-card .not-confirmed {
    background: #fdecec;
    color: #c0392b;
}
/* Overlay */
.support-sheet {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9999;
}

/* Bottom container */
.sheet-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #f2f2f2;
    border-radius: 16px 16px 0 0;
    padding: 15px;
    animation: slideUp 0.3s ease;
}

/* Call button */
.call-btn {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    color: #007bff;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 500;
}

/* Cancel button */
.cancel-btn {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    color: #007bff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* EFFICIENCY BADGE */
.efficiency-badge {
    background: #f0f8ff;
    padding: 8px 12px;
    border-radius: 20px;
    margin-top: 8px;
    text-align: center;
}

.efficiency-score {
    font-weight: bold;
    font-size: 16px;
    color: #007bff;
}

.efficiency-badge small {
    display: block;
    font-size: 11px;
    color: #666;
}

/* OPTIMIZATION ALERT */
/* Enhanced Header */
.header-left p {
    margin-bottom: 4px;
    font-size: 13px;
}

.header-left p strong {
    color: #333;
}

/* Status Section */
.status-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.ride-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: #f8f8f8;
    border-radius: 15px;
}

.meta-item i {
    font-size: 11px;
    color: #999;
}

/* Enhanced Price Popup */
.mileage-popup {
    width: 280px;
}

.mileage-popup p {
    margin: 4px 0;
    font-size: 12px;
}

.mileage-popup strong {
    display: block;
    margin-bottom: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ride-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .meta-item {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .status-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
	.ride-request-card{
		padding: 15px;
	}
	.stats-card{
		padding: 15px;
	}
	.dryver-new-dashboard .content .content{
		padding:0;
	}
	.dryver-new-dashboard .content{
		padding: 10px;
	}
}

@media(max-width: 576px){
	.dryver-new-dashboard .content{
		padding: 0px;
	}
}

.ride-card.minimal {
    background:#fff;
    border-radius:14px;
    padding:14px;
    margin-bottom:12px;
    box-shadow:0 3px 12px rgba(0,0,0,0.05);
    cursor:pointer;
    transition:0.2s ease;
}

.ride-card.minimal:hover {
    transform:translateY(-2px);
}

/* TOP */
.ride-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.ride-date {
    font-size:12px;
    color:#888;
    margin:0;
}

.ride-rider {
    font-size:15px;
    font-weight:600;
    margin:0;
}

.ride-price {
    font-size:18px;
    font-weight:bold;
    /* color:#00a86b; */
}

/* ADDRESS */
.ride-address {
    font-size:13px;
    color:#555;
    margin:8px 0;
}

/* BOTTOM */
.ride-bottom {
    display:flex;
    justify-content:space-between;
    font-size:12px;
    color:#666;
}

/* ICONS */
.ride-card i {
    margin-right:6px;
    color:#999;
}


.stats-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* CARD */
.stats-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    position: relative;
}

.stats-card h3 {
    font-size: 16px;
    color: #555;
}

/* EARNINGS */
.earnings {
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0 5px;
}

.earnings .label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ROW */
.stats-row {
    display: flex;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.stats-row div {
    flex: 1;
    text-align: center;
}

.stats-row div:first-child {
    border-right: 1px solid #eee;
}

.stats-row h2 {
    font-size: 20px;
    font-weight: 600;
}

.stats-row p {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

/* INFO ICON */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 14px;
    height: 14px;

    font-size: 10px;
    font-weight: bold;

    border-radius: 50%;
    background: #ddd;
    color: #333;

    margin-left: 5px;
    cursor: pointer;
}

.info-icon:hover {
    background: #000;
    color: #fff;
}

/* TOOLTIP */
.price-wrapper {
    position: relative;
}

/* SLIDER */
.stats-slider {
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* ARROWS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    cursor: pointer;
    padding: 5px 10px;
}

.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }

/* DOTS */
.slider-dots {
    text-align: center;
    margin-top: 10px;
}

.slider-dots .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 3px;
}

.slider-dots .dot.active {
    background: #000;
}

.stats-card {
    background: #fff; /* FIX: pure white */
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    text-align: left; /* FIX alignment */
    position: relative;
}

/* HEADER */
.stats-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

/* EARNINGS */
.earnings {
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0 5px;
}

.earnings .label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ROW */
.stats-row {
    display: flex;
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* EACH BLOCK */
.stats-row div {
    flex: 1;
    text-align: center;
}

/* DIVIDER */
.stats-row div:first-child {
    border-right: 1px solid #eee;
}

/* NUMBERS */
.stats-row h2 {
    font-size: 20px;
    font-weight: 600;
}

/* LABELS */
.stats-row p {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}
.price-wrapper {
    position: relative;
    cursor: pointer;
}

.earnings.price-wrapper {
    text-align: left;
}



/* HIDDEN LEGS */
.hidden-legs {
    display: none;
}

/* EXPAND ICON */
.expand-icon {
    cursor: pointer;
    font-size: 16px;
    color: #333;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

/* ROTATE ICON */
.expand-icon.active i {
    transform: rotate(180deg);
}

/* SMOOTH */
.hidden-legs,
.visible-legs {
    transition: all 0.3s ease;
}

.expand-icon {
    cursor: pointer;
    font-size: 18px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* rotate when open */
.expand-icon.active i {
    transform: rotate(180deg);
}

/* smooth animation */
.expand-icon i {
    transition: transform 0.3s ease;
}

.swipe-container {
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    padding: 12px;
    background: #fff;
}

.swipe-track {
    position: relative;
    background: #eee;
    border-radius: 30px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swipe-track span {
    font-weight: 600;
    color: #666;
}

.swipe-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: #00000093;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: grab;
    transition: 0.2s;
}

.nemt-warning{
    color: red;
    font-size: 12px;
    margin: 10px 0;
}

.nemt-terms{
    background: #fff3cd;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 15px;
    border: 1px solid #ffeeba;
}

.nemt-terms input{
    margin-right: 8px;
}
div#partial-warning{
    background: #fff3cd;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 15px;
    border: 1px solid #ffeeba;
}

div#partial-warning input{
    margin-right: 8px;
}
button.reach-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.nemt-leg-card{border:1px solid #eee;border-radius:12px;padding:12px;margin-bottom:12px;background:#fff}
.leg-header{display:flex;justify-content:space-between;margin-bottom:10px;font-weight:600}
.leg-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.info{flex:1;margin-left:10px}
.label{font-size:12px;color:#777}
.time{font-weight:600;margin:3px 0}
.dot{width:10px;height:10px;border-radius:50%}
.dot.start{background:#2ecc71}
.dot.end{background:#3498db}
.map-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff}
.map-btn.green{background:#2ecc71}
.map-btn.red{background:#e74c3c}
.copy-address{cursor:pointer}

/* TOP ACTIONS */
.ride-top-actions {
    display:flex;
    gap:10px;
    margin-top:10px;
}
.icon-btn {
    padding:10px 14px;
    border-radius:10px;
    border:none;
    background:#f1f1f1;
    font-weight:600;
    cursor:pointer;
}

/* MODAL */
.myryde-modal {
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    display:none;
    align-items:flex-end;
    z-index:9999;
}
.myryde-modal.active {
    display:flex;
}
.myryde-modal-content {
    background:#fff;
    width:100%;
    padding:20px;
    border-radius:20px 20px 0 0;
}

/* GRID */
.modal-actions-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:18px 10px;
    margin-top:15px;
}

/* RESET */
.modal-action {
    text-decoration:none;
    border:none;
    background:none;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    cursor:pointer;
}

/* ICON */
.modal-action i {
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    /* color:#fff; */
    font-size:18px;
}

/* TEXT */
.modal-action span {
    font-size:12px;
    color:#333;
}

/* BUTTON FIX */
button.modal-action {
    outline:none;
    box-shadow:none;
}
.modal-close {
    margin-top:10px;
    width:100%;
    padding:12px;
    border:none;
    background:#ddd;
    border-radius:10px;
}

/* SUMMARY */
.ride-summary {
    display:flex;
    justify-content:space-between;
    margin:15px 0;
}
.ride-summary div {
    text-align:center;
}
.message-list button {
    width:100%;
    padding:12px;
    margin-bottom:8px;
    border-radius:10px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
}

#custom-message {
    width:100%;
    margin-top:10px;
    padding:10px;
    border-radius:10px;
}

.new-dashboard .scheduler-card {
    display: flex;
    flex-direction: column;
}

/* 📱 Planner Small Calendar */
.new-dashboard  .fc {
  font-size: 12px;
}

.new-dashboard  .fc-daygrid-day {
  padding: 2px !important;
}

.new-dashboard  .fc-daygrid-day-number {
  font-size: 11px;
}

.new-dashboard  .fc .fc-daygrid-day-frame {
  min-height: 35px !important;
}

.new-dashboard  .fc-event {
  font-size: 10px;
  padding: 1px 2px;
}

