*{
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-dashboard{
/* position:fixed;
top:0;
left:0; */
width:100%;
max-width: 100% !important;
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-dashboard 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:50px;
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;
	padding: 15px 0;
}

.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-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;
	margin-top: 10px;
	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: #0c7fba; }
.ride-request-card .dot.end { background: #0c7fba; }
.ride-request-card .dot.mid { background: #0c7fba; }

/* 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: 2px;
    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: 0px;
    font-size: 12px;
    color: #666;
	flex-direction: column;
}
.ride-meta .right-side-items{
	display: flex;
    justify-content: flex-end;
    align-items: center;
	font-size: 12px;
	gap: 2px;
	margin-bottom: 2px;
}

.ride-meta .right-side-items.ryde-duration{
	color: #000;
}
.ride-header .header-left .client-name .name-here{
	color: #000;
	font-weight: 800;
}

.ride-meta .right-side-items.ryde-type{
	color: #000;
}

.ride-meta .right-side-items .price-bold{
	color: #3a9f85;
	font-size: 16px;
	font-weight: 600;
}

.ride-meta .right-side-items p{
	display: flex;
}

.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 */
.new-dashboard  .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;
}
.new-dashboard  .myryde-modal.active {
    display:flex;
}
.new-dashboard .myryde-modal-content {
    background:#fff;
    width:100%;
    padding:20px;
    border-radius:20px 20px 0 0;
}

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

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

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

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

/* BUTTON FIX */
.new-dashboard  button.modal-action {
    outline:none;
    box-shadow:none;
}
.new-dashboard  .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;
}

/* =====================================
   RYDER LIVE STATUS BOX
   BLACK + WHITE ONLY
===================================== */

.live-status-box{
    margin: 15px 0;
    padding: 16px 18px;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    position: relative;
    overflow: hidden;
}

/* moving white top line */
.live-status-box::before{
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 2px;
    background: #fff;
    animation: statusMove 2s linear infinite;
}

@keyframes statusMove{
    from{ left:-40%; }
    to{ left:100%; }
}

/* completed */
.live-status-box.completed{
    background:#fff;
    color:#000;
    border:1px solid #000;
}

/* active route */
.live-status-box.route{
    background:#000;
    color:#fff;
}

/* arrived */
.live-status-box.arrived{
    background:#111;
    color:#fff;
}

/* mobile */
@media (max-width:767px){
    .live-status-box{
        font-size:15px;
        padding:14px 16px;
        border-radius:12px;
    }
}

/* large screens */
@media (min-width:1602px){
    .live-status-box{
        max-width:700px;
        margin:20px auto;
        font-size:18px;
        padding:18px 22px;
    }
}

.ride-notes-box{
    background:#f3f4f6;
    padding:10px 12px;
    margin:10px 12px;
    border-radius:8px;
    font-size:13px;
    line-height:1.5;
    color:#111827;
}

.ride-notes-box strong{
    font-weight:600;
    color:#111827;
    margin-right:4px;
}

@media (max-width:768px){

    .ride-notes-box{
        font-size:13px;
        padding:10px 12px;
        margin:8px 10px;
        border-radius:8px;
    }

}

.dryver_dashboard_admin_message p {
    display: none;
}

.dot{
  left: -35px;
  padding: 10px;
}
.mini-timeline .tl-row{
  margin-bottom: 20px;
}

.add_to_cart_button {
    display: block;
    padding: 10px;
    text-align: center;
    margin: 6px 0;
}
.background-report-page .checker-product-card, .identity-verification-page .stripe-product-card{
  width: 100%;
  margin: 10px 0;
}
 
.stripe-product-card p.product.woocommerce.add_to_cart_inline{
  border: none !important;
}

.stripe-product-card p.product.woocommerce.add_to_cart_inline,
.checker-product-card p.product.woocommerce.add_to_cart_inline{
  border: none !important;
  margin: 10px 0;
}
.ride-request-card .dot{
  left: unset;
}

.myryde-card .myryde-table th,
.myryde-card .myryde-table td{
  display: table-cell;
}

.myryde-card table{
  margin-bottom: 20px;
}
.mycred-chart-container{
  margin: 20px 0;
}
.myryde-pending-invites h3{
    margin-bottom: 16px;
}
.myryde-pending-invites .invite-user-info{
    margin-bottom: 12px;
}
.myryde-pending-invites .invite-actions{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
 


.page.page-id-2043 .agent_messages {
    display: none;
}
.page.page-id-2043 .compose_msg {
    display: none;
}

header .app-container{
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}
header .myryde-header-main{
    padding-bottom: 0;
}

header.top-header-dashboard {
    display: none !important;
}
.page-id-3645 header.top-header-dashboard{
     display: flex !important;
}

/* Perfect square map only on mobile */
@media (max-width:768px){

    .map-area{
        width:100%;
        aspect-ratio:1/1 !important;
        height:auto !important;
        position:relative;
        overflow:hidden;
    }

    .map-area #myryde-map{
        width:100%;
        height:100% !important;
        position:absolute;
        inset:0;
    }

}
/* No Show Form Better Spacing */
#no-show-form{
    padding:10px 0;
    text-align:left;
}

#no-show-form h3{
    font-size:28px;
    font-weight:700;
    margin:0 0 28px;
    color:#111;
}

/* EACH SECTION */
#no-show-form .form-group{
    margin:0 0 24px;
}

/* LABEL */
#no-show-form label{
    display:block;
    width:100%;
    padding:0;
    margin:0 0 10px;
    font-size:15px;
    font-weight:700;
    color:#111;
    line-height:1.3;
    text-align:left;
}

/* INPUTS */
#no-show-form input,
#no-show-form select{
    width:100%;
    height:52px;
    border:1px solid #d7d7d7;
    border-radius:12px;
    padding:0 16px;
    font-size:15px;
    background:#fff;
    outline:none;
    margin:0;
}

/* SIGNATURE */
#signature-pad{
    width:100% !important;
    height:170px !important;
    border:1px solid #d7d7d7;
    border-radius:12px;
    background:#fff;
    display:block;
}

/* BUTTON ROW */
#no-show-form .btn-row{
    display:flex;
    gap:12px;
    margin-top:10px;
}

#clear-signature{
    width:130px;
    height:50px;
    border-radius:10px;
}

#submit-no-show{
    flex:1;
    height:50px;
    border-radius:10px;
}

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

    #no-show-form{
        padding:5px 0;
    }

    #no-show-form h3{
        font-size:24px;
        margin:0 0 22px;
    }

    #no-show-form .form-group{
        margin:0 0 20px;
    }

    #no-show-form label{
        font-size:14px;
        margin:0 0 8px;
    }

    #no-show-form input,
    #no-show-form select{
        height:48px;
        font-size:14px;
        border-radius:10px;
    }

    #signature-pad{
        height:150px !important;
    }

    #no-show-form .btn-row{
        flex-direction:column;
        gap:10px;
        margin-top:6px;
    }

    #clear-signature,
    #submit-no-show{
        width:100%;
        height:48px;
    }

}


.sendback-fee{
    /* color:#e00000; */
    font-size:16px;
    font-weight:700;
    margin-top:5px;
}

.earnings-main{
    font-size:28px;
    font-weight:800;
    line-height:1;
    margin-top:2px;
}

.stats-card-head {
    text-align: center;
}

.new-dashboard-message .compose_msg ,
.new-dashboard-message .agent_messages 
{
    display: flex !important;
}


.requests-page {
    margin-bottom: 60px;
}

.ride-link {
    text-decoration:none;
    color:inherit;
    display:block;
    cursor:pointer;
}

.ride-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.ride-card{
    transition:.25s ease;
}
.support-chat-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99999;

    display:none;
    align-items:center;
    justify-content:center;
}

.support-chat-wrapper{
    width:950px;
    height:720px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;

    display:flex;
}

/* SIDEBAR */

.support-chat-sidebar{
    width:280px;
    border-right:1px solid #eee;
    background:#fff;

    display:flex;
    flex-direction:column;
}

.support-sidebar-header{
    padding:12px;
    border-bottom:1px solid #eee;
}

.start-new-chat{
    width:100%;
    border:none;
    background:#f3f4f6;
    color:#111;
    padding:10px 14px;
    border-radius:12px;
    cursor:pointer;
    font-size:13px;
    font-weight:600;
    text-align:left;
}

.start-new-chat:hover{
    background:#e5e7eb;
}

.support-chat-history-list{
    flex:1;
    overflow-y:auto;
}

.chat-history-item{
    padding:14px;
    border-bottom:1px solid #f1f1f1;
    cursor:pointer;
    transition:.2s;
}

.chat-history-item:hover{
    background:#f9fafb;
}

.chat-history-item.active{
    background:#eff6ff;
}

.chat-history-title{
    font-size:14px;
    font-weight:600;
    color:#111;
}

.chat-history-last{
    font-size:12px;
    color:#666;
    margin-top:4px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.chat-history-date{
    font-size:11px;
    color:#999;
    margin-top:6px;
}

/* MAIN CHAT */

.support-chat-main{
    flex:1;
    display:flex;
    flex-direction:column;
}

.support-chat-header{
    padding:15px 20px;
    border-bottom:1px solid #eee;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.support-chat-user{
    display:flex;
    align-items:center;
    gap:12px;
}

.avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#111;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
}

.support-chat-user h4{
    margin:0;
    font-size:15px;
}

.support-chat-user span{
    font-size:12px;
    color:#16a34a;
}

.close-chat{
    border:none;
    background:none;
    cursor:pointer;
    font-size:20px;
}

.support-chat-messages{
    flex:1;
    overflow-y:auto;
    padding:20px;
    background:#f9fafb;
}

.support-chat-footer{
    padding:15px;
    border-top:1px solid #eee;

    display:flex;
    gap:10px;
}

.support-chat-footer textarea{
    flex:1;
    resize:none;
    border:1px solid #ddd;
    border-radius:14px;
    padding:12px;
    height:55px;
    outline:none;
}

.send-support-message{
    width:55px;
    border:none;
    border-radius:14px;
    background:#111;
    color:#fff;
    cursor:pointer;
}

/* MESSAGES */

.myryde-chat-message{
    margin-bottom:14px;
}

.myryde-message-user{
    text-align:right;
}

.myryde-message-user > div{
    display:inline-block;
    background:#111;
    color:#fff;
    padding:10px 14px;
    border-radius:14px;
    max-width:75%;
}

.myryde-message-support > div{
    display:inline-block;
    background:#fff;
    padding:10px 14px;
    border-radius:14px;
    max-width:75%;
    border:1px solid #eee;
}

.myryde-message-meta{
    font-size:11px;
    opacity:.7;
    margin-top:5px;
}

.support-sheet{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.sheet-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.sheet-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;

    background:#fff;
    border-radius:24px 24px 0 0;

    padding:20px;

    animation:slideUp .25s ease;
}

.sheet-handle{
    width:60px;
    height:5px;
    border-radius:10px;
    background:#ddd;

    margin:0 auto 18px;
}

.sheet-content h3{
    margin:0 0 10px;
    font-size:20px;
}

.sheet-content p{
    color:#666;
    font-size:14px;
    margin-bottom:20px;
}

.call-support-btn{
    width:100%;
    height:52px;

    border:none;
    border-radius:14px;

    background:#111;
    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    margin-bottom:12px;
}

.cancel-support-btn{
    width:100%;
    height:52px;

    border:none;
    border-radius:14px;

    background:#f3f4f6;

    font-size:15px;
    cursor:pointer;
}

/* Active call bar — shown inside the support sheet during a live browser call */
.active-call-bar{
    display:flex;
    align-items:center;
    gap:12px;

    background:#fff8f8;
    border:1.5px solid #fca5a5;
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:16px;
}

.active-call-indicator-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#ef4444;
    flex-shrink:0;
    animation:pulseDot 1.4s ease-in-out infinite;
}

@keyframes pulseDot{
    0%,100%{ opacity:1; transform:scale(1); }
    50%{ opacity:.4; transform:scale(1.3); }
}

.active-call-info{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.active-call-info strong{
    font-size:14px;
    color:#111827;
}

.call-timer{
    font-size:13px;
    color:#6b7280;
    font-variant-numeric:tabular-nums;
}

.end-call-btn{
    background:#dc2626;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:10px 18px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
    flex-shrink:0;
}

.end-call-btn:active{
    background:#b91c1c;
}

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

/* =========================================
RIDE COMMUNICATION
BLACK / WHITE ONLY
========================================= */

.ride-chat-window{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:18px;
    overflow:hidden;
    margin-top:14px;
}

/* HEADER */
.ride-chat-header{
    background:#fff;
    border-bottom:1px solid #e5e5e5;
    padding:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.ride-chat-title{
    display:flex;
    align-items:center;
    gap:12px;
}

.ride-chat-avatar{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#000;
}

.ride-chat-title strong{
    display:block;
    font-size:15px;
    color:#000;
}

.ride-chat-title small{
    display:block;
    color:#777;
    font-size:12px;
    margin-top:2px;
}

/* TOP BUTTONS */
.ride-chat-top-actions{
    display:flex;
    gap:10px;
}

.chat-top-btn{
    width:40px;
    height:40px;
    border:none;
    background:#f5f5f5;
    border-radius:10px;
    cursor:pointer;
    color:#000;
    transition:.2s;
}

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

/* BODY */
.ride-chat-body{
    padding:16px;
    background:#fafafa;
}

/* SYSTEM */
.ride-system-message{
    background:#f5f5f5;
    border:1px solid #e5e5e5;
    padding:12px;
    border-radius:12px;
    font-size:13px;
    color:#555;
    margin-bottom:14px;
}

/* CHAT */
.ride-chat-body{
    min-height:160px;
    max-height:260px;
    overflow-y:auto;
    margin-bottom:14px;
}

/* MESSAGE */
.ride-msg{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:12px;
    margin-bottom:10px;
    font-size:14px;
    color:#111;
    line-height:1.5;
}

/* QUICK BUTTONS */
.ride-quick-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.quick-msg-btn{
    border:none;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:30px;
    padding:8px 14px;
    font-size:12px;
    cursor:pointer;
    transition:.2s;
}

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

/* FOOTER */
.ride-chat-footer{
    border-top:1px solid #e5e5e5;
    padding:16px;
    display:flex;
    gap:10px;
    align-items:flex-end;
    background:#fff;
}

#ride-chat-input{
    flex:1;
    min-height:70px;
    border:1px solid #dcdcdc;
    border-radius:14px;
    padding:12px;
    resize:none;
    font-size:14px;
    background:#fafafa;
}

#ride-chat-input:focus{
    outline:none;
    border-color:#000;
}

.send-ride-chat-message{
    border:none;
    background:#000;
    color:#fff;
    border-radius:12px;
    height:48px;
    padding:0 22px;
    cursor:pointer;
    font-weight:600;
}

.send-ride-chat-message:hover{
    opacity:.9;
}

/* =========================================
NEW COMMUNICATION CENTER
========================================= */

.ride-chat-window{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    display:flex;
    flex-direction:column;
    height:75vh;
    max-height:720px;
}

/* HEADER */

.ride-chat-header{
    padding:18px;
    border-bottom:1px solid #efefef;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
}

.ride-chat-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.ride-chat-avatar{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#f3f3f3;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.ride-chat-user-info strong{
    display:block;
    font-size:15px;
    color:#111;
}

.ride-chat-user-info span{
    display:block;
    font-size:12px;
    color:#777;
    margin-top:2px;
}

/* ACTIONS */

.ride-chat-actions{
    display:flex;
    gap:10px;
}

.ride-action-btn{
    width:42px;
    height:42px;
    border:none;
    background:#f5f5f5;
    border-radius:12px;
    cursor:pointer;
    transition:.2s;
    color:#111;
}

.ride-action-btn:hover{
    background:#111;
    color:#fff;
}

/* STATUS */

.ride-chat-status{
    padding:12px 18px;
    background:#fafafa;
    border-bottom:1px solid #efefef;
    font-size:13px;
    color:#666;
}

/* MESSAGES */

.ride-chat-body{
    flex:1;
    overflow-y:auto;
    padding:18px;
    background:#fcfcfc;
}

/* MESSAGE */

.ride-msg{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:12px 14px;
    margin-bottom:10px;
    max-width:85%;
    line-height:1.5;
    font-size:14px;
}

/* QUICK */

.ride-chat-quick{
    padding:14px 18px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    border-top:1px solid #efefef;
    background:#fff;
}

.quick-msg-btn{
    border:none;
    background:#fff;
    border:1px solid #ddd;
    border-radius:30px;
    padding:8px 14px;
    font-size:12px;
    cursor:pointer;
    transition:.2s;
}

.quick-msg-btn:hover{
    background:#111;
    color:#fff;
}

/* FOOTER */

.ride-chat-footer{
    padding:18px;
    display:flex;
    gap:12px;
    border-top:1px solid #efefef;
    background:#fff;
}

#ride-chat-input{
    flex:1;
    min-height:64px;
    max-height:120px;
    border:1px solid #ddd;
    border-radius:16px;
    padding:14px;
    resize:none;
    background:#fafafa;
    font-size:14px;
}

#ride-chat-input:focus{
    outline:none;
    border-color:#111;
}

.send-ride-chat-message{
    border:none;
    background:#111;
    color:#fff;
    padding:0 24px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
}

/* MODAL */

#global-modal{

    backdrop-filter:blur(4px);

}

#global-modal .modal-content{
    width:95%;
    max-width:560px;
    border-radius:24px;
    overflow:hidden;
    padding:0;
    background:#fff;
}

/* MOBILE */

@media(max-width:768px){

    .ride-chat-window{
        height:100vh;
        max-height:100vh;
        border-radius:0;
    }

    #global-modal .modal-content{
        width:100%;
        height:100%;
        max-width:100%;
        border-radius:0;
    }

    .ride-chat-footer{
        position:sticky;
        bottom:0;
    }

}

/* =========================================
OTHER ACTIONS
========================================= */

.ride-other-actions{
    padding:18px;
    border-top:1px solid #efefef;
    background:#fafafa;
}

.ride-other-title{
    font-size:14px;
    font-weight:600;
    margin-bottom:14px;
    color:#111;
}

.ride-other-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.ride-other-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:18px 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    min-height:110px;
    cursor:pointer;
    transition:.2s;
    text-decoration:none;
    color:#111;
}

.ride-other-card:hover{
    background:#111;
    color:#fff;
}

.ride-other-card i{
    font-size:18px;
}

.ride-other-card span{
    font-size:13px;
    line-height:1.4;
}

/* MOBILE */

@media(max-width:480px){

    .ride-other-grid{
        grid-template-columns:1fr;
    }

}

/* =========================================
MODAL LAYOUT
========================================= */

.ride-modal-layout{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* =========================================
COMMUNICATION WINDOW
========================================= */

.ride-chat-window{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:20px;
    overflow:hidden;
}

/* HEADER */

.ride-chat-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    border-bottom:1px solid #f1f1f1;
}

.ride-chat-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.ride-chat-avatar{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.ride-chat-user-info strong{
    display:block;
    font-size:15px;
    color:#111;
}

.ride-chat-user-info span{
    display:block;
    font-size:12px;
    color:#777;
    margin-top:3px;
    line-height:1.4;
}

/* ACTIONS */

.ride-chat-actions{
    display:flex;
    gap:10px;
}

.ride-action-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#f5f5f5;
    cursor:pointer;
    transition:.2s;
    color:#111;
}

.ride-action-btn:hover{
    background:#111;
    color:#fff;
}

/* EMPTY */

.ride-chat-empty{
    text-align:center;
    padding:40px 20px;
    color:#888;
}

.ride-chat-empty i{
    font-size:22px;
    margin-bottom:12px;
}

/* CHAT */

.ride-chat-body{
    min-height:180px;
    max-height:260px;
    overflow-y:auto;
    background:#fafafa;
}

.ride-msg{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:12px 14px;
    margin:12px;
    font-size:14px;
    line-height:1.5;
}

/* QUICK */

.ride-chat-quick{
    padding:14px 18px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    border-top:1px solid #f1f1f1;
    background:#fff;
}

.quick-msg-btn{
    border:none;
    background:#fff;
    border:1px solid #ddd;
    border-radius:30px;
    padding:9px 14px;
    font-size:12px;
    cursor:pointer;
    transition:.2s;
}

.quick-msg-btn:hover{
    background:#111;
    color:#fff;
}

/* FOOTER */

.ride-chat-footer{
    padding:18px;
    display:flex;
    gap:12px;
    border-top:1px solid #f1f1f1;
    background:#fff;
}

#ride-chat-input{
    flex:1;
    min-height:60px;
    border:1px solid #ddd;
    border-radius:14px;
    padding:14px;
    resize:none;
    background:#fafafa;
}

.send-ride-chat-message{
    border:none;
    background:#111;
    color:#fff;
    border-radius:14px;
    padding:0 24px;
    font-weight:600;
    cursor:pointer;
}

/* =========================================
OTHER ACTIONS
========================================= */

.ride-other-actions{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:20px;
    padding:18px;
}

.ride-other-title{
    font-size:15px;
    font-weight:600;
    margin-bottom:14px;
}

.ride-other-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.ride-other-card{
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:16px;
    padding:18px 14px;
    min-height:100px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
    color:#111;
    text-decoration:none;
    transition:.2s;
}

.ride-other-card:hover{
    background:#111;
    color:#fff;
}

.ride-other-card i{
    font-size:18px;
}

.ride-other-card span{
    font-size:13px;
    line-height:1.4;
}

/* MOBILE */

@media(max-width:768px){

    .ride-other-grid{
        grid-template-columns:1fr 1fr;
    }

    .ride-chat-footer{
        flex-direction:column;
    }

    .send-ride-chat-message{
        width:100%;
        height:48px;
    }

}

/* =========================================
COMMUNICATION CARD
========================================= */

.ride-communication-card{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:18px;
    overflow:hidden;
    margin-top:16px;
}

/* =========================================
HEADER
========================================= */

.ride-comm-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:18px;
    border-bottom:1px solid #f1f1f1;
}

.ride-comm-header-left{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.ride-comm-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.ride-comm-icon i{
    font-size:18px;
    color:#111;
}

.ride-comm-title strong{
    display:block;
    font-size:15px;
    line-height:1.2;
    color:#111;
    margin-bottom:4px;
}

.ride-comm-title small{
    display:block;
    font-size:12px;
    color:#777;
    line-height:1.5;
    max-width:220px;
}

/* =========================================
STATUS
========================================= */

.ride-comm-status{
    font-size:12px;
    font-weight:600;
    color:#111;
    display:flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
}

.live-dot{
    width:8px;
    height:8px;
    background:#111;
    border-radius:50%;
    display:inline-block;
}

/* =========================================
TOP ACTIONS
========================================= */

.ride-comm-top-actions{
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 18px 18px;
}

.ride-comm-action{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#f5f5f5;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.2s;
    text-decoration:none;
}

.ride-comm-action:hover{
    background:#111;
    color:#fff;
}

.ride-comm-action i{
    font-size:15px;
}

/* =========================================
QUICK BUTTONS
========================================= */

.ride-quick-templates{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:0 18px 18px;
}

.quick-msg-btn{
    border:none;
    background:#fff;
    border:1px solid #ddd;
    border-radius:30px;
    padding:9px 14px;
    font-size:12px;
    font-weight:500;
    color:#111;
    cursor:pointer;
    transition:.2s;
}

.quick-msg-btn:hover{
    background:#111;
    color:#fff;
}

/* =========================================
CHAT
========================================= */

.ride-chat-live{
    padding:0 18px 18px;
}

.ride-chat-body{
    background:#fafafa;
    border:1px solid #f1f1f1;
    border-radius:18px;
    min-height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:30px;
}

.ride-chat-empty{
    color:#999;
}

.ride-chat-empty i{
    font-size:24px;
    margin-bottom:12px;
    display:block;
}

.ride-chat-empty p{
    margin:0;
    font-size:14px;
    line-height:1.5;
}

/* =========================================
INPUT
========================================= */

.ride-chat-input-wrap{
    display:flex;
    gap:12px;
    padding:0 18px 18px;
    align-items:flex-end;
}

.ride-chat-input{
    flex:1;
    min-height:64px;
    max-height:120px;
    border:1px solid #ddd;
    border-radius:16px;
    padding:14px;
    font-size:14px;
    resize:none;
    background:#fff;
    color:#111;
}

.ride-chat-input:focus{
    outline:none;
    border-color:#111;
}

.send-ride-chat-message{
    height:52px;
    padding:0 24px;
    border:none;
    border-radius:14px;
    background:#111;
    color:#fff;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.send-ride-chat-message:hover{
    opacity:.9;
}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .ride-comm-header{
        flex-direction:column;
        gap:14px;
    }

    .ride-comm-status{
        margin-left:58px;
    }

    .ride-chat-input-wrap{
        flex-direction:column;
    }

    .send-ride-chat-message{
        width:100%;
    }

}


/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .ride-action-bar{
        gap:10px;
        margin-top:14px;
    }

    .ride-action-icon{
        width:40px;
        height:40px;
        border-radius:12px;
    }

}


/* =========================================
TOP ACTIONS
========================================= */

.ride-chat-top-actions{
    display:flex;
    gap:12px;
    padding:0 20px 20px;
}

.ride-chat-top-btn{
    flex:1;
    border:none;
    background:#f5f5f5;
    border-radius:14px;
    padding:14px 10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    cursor:pointer;
    transition:.2s;
    color:#111;
}

.ride-chat-top-btn:hover{
    background:#111;
    color:#fff;
}

.ride-chat-top-btn i{
    font-size:18px;
}

.ride-chat-top-btn span{
    font-size:13px;
    font-weight:600;
}

/* =========================================
STATUS
========================================= */

.ride-chat-status{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    font-weight:600;
}

.live-dot{
    width:8px;
    height:8px;
    background:#111;
    border-radius:50%;
}

/* =========================================
HEADER
========================================= */

.ride-chat-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
}

.ride-chat-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.ride-chat-avatar{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ride-chat-avatar i{
    font-size:18px;
}

.ride-chat-user-info strong{
    display:block;
    font-size:15px;
    margin-bottom:4px;
}

.ride-chat-user-info span{
    font-size:12px;
    color:#777;
}

/* =========================================
WINDOW
========================================= */

.ride-chat-window{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    max-width:520px;
    margin:auto;
}

/* =========================================
CHAT AREA
========================================= */

.ride-chat-body{
    min-height:220px;
    max-height:320px;
    overflow-y:auto;
    background:#fafafa;
    margin:0 20px;
    border-radius:18px;
    padding:30px;
}

.ride-chat-empty{
    text-align:center;
    color:#999;
    margin-top:40px;
}

.ride-chat-empty i{
    font-size:24px;
    margin-bottom:12px;
}

/* =========================================
FOOTER
========================================= */

.ride-chat-footer{
    display:flex;
    gap:12px;
    padding:20px;
}

.ride-chat-input{
    flex:1;
    border:1px solid #ddd;
    border-radius:14px;
    min-height:60px;
    padding:14px;
    resize:none;
}

.send-ride-chat-message{
    border:none;
    background:#111;
    color:#fff;
    border-radius:14px;
    padding:0 24px;
    font-weight:600;
    cursor:pointer;
}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .ride-chat-top-actions{
        flex-direction:column;
    }

    .ride-chat-footer{
        flex-direction:column;
    }

    .send-ride-chat-message{
        width:100%;
        height:48px;
    }

}

/* =========================================
RIDE CHAT WINDOW
========================================= */

.ride-chat-shell{

    display:flex;
    flex-direction:column;

    height:75vh;
    max-height:750px;

    background:#fff;
    border-radius:20px;

    overflow:hidden;
}

/* =========================================
TOP BAR
========================================= */

.ride-chat-top{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:16px 18px;

    border-bottom:1px solid #e5e7eb;

    background:#ffffff;
}

.ride-chat-profile{

    display:flex;
    align-items:center;
    gap:12px;
}

.ride-chat-avatar{

    width:48px;
    height:48px;

    border-radius:50%;

    background:#2563eb;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:18px;
}

.ride-chat-meta strong{

    display:block;

    font-size:15px;
    color:#111827;
}

.ride-chat-meta span{

    font-size:12px;
    color:#6b7280;
}

.ride-chat-top-actions{

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

.ride-top-btn{

    width:42px;
    height:42px;

    border:none;
    border-radius:12px;

    background:#f3f4f6;
    color:#111827;

    cursor:pointer;

    transition:0.2s;
}

.ride-top-btn:hover{

    background:#2563eb;
    color:#fff;
}

/* =========================================
CHAT BODY
========================================= */

.ride-chat-body{

    flex:1;

    overflow-y:auto;

    padding:18px;

    background:#f8fafc;

    display:flex;
    flex-direction:column;
    gap:14px;
}

/* =========================================
DATE
========================================= */

.ride-chat-date{

    text-align:center;

    font-size:12px;
    color:#6b7280;

    margin-bottom:5px;
}

/* =========================================
ROWS
========================================= */

.ride-chat-row{

    display:flex;
    width:100%;
}

.ride-chat-row.left{

    justify-content:flex-start;
}

.ride-chat-row.right{

    justify-content:flex-end;
}

/* =========================================
BUBBLE
========================================= */

.ride-chat-bubble{

    position:relative;

    max-width:75%;

    padding:12px 14px 22px;

    border-radius:18px;

    font-size:14px;
    line-height:1.5;

    word-break:break-word;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.05);
}

/* RECEIVED */

.ride-chat-row.left .ride-chat-bubble{

    background:#ffffff;
    color:#111827;

    border-bottom-left-radius:6px;
}

/* SENT */

.ride-chat-row.right .ride-chat-bubble{

    background:#2563eb;
    color:#fff;

    border-bottom-right-radius:6px;
}

.ride-chat-bubble span{

    position:absolute;

    right:12px;
    bottom:6px;

    font-size:11px;

    opacity:0.7;
}

/* =========================================
EMPTY STATE
========================================= */

.ride-chat-empty{

    margin:auto;

    text-align:center;

    color:#9ca3af;
}

.ride-chat-empty i{

    font-size:42px;

    margin-bottom:10px;
}

.ride-chat-empty p{

    font-size:14px;
}

/* =========================================
QUICK ACTIONS
========================================= */

.ride-chat-quick-actions{

    display:flex;
    gap:10px;

    padding:14px 16px;

    overflow-x:auto;

    border-top:1px solid #e5e7eb;

    background:#fff;
}

.quick-msg-btn{

    border:none;

    background:#eff6ff;
    color:#2563eb;

    padding:10px 14px;

    border-radius:999px;

    font-size:13px;
    font-weight:600;

    white-space:nowrap;

    cursor:pointer;

    transition:0.2s;
}

.quick-msg-btn:hover{

    background:#2563eb;
    color:#fff;
}

/* =========================================
BOTTOM INPUT
========================================= */

.ride-chat-bottom{

    display:flex;
    align-items:flex-end;
    gap:10px;

    padding:16px;

    border-top:1px solid #e5e7eb;

    background:#fff;
}

#ride-chat-input{

    flex:1;

    min-height:48px;
    max-height:120px;

    resize:none;

    border:1px solid #d1d5db;
    border-radius:14px;

    padding:12px 14px;

    font-size:14px;

    outline:none;

    background:#f9fafb;
}

#ride-chat-input:focus{

    border-color:#2563eb;
    background:#fff;
}

.send-ride-chat-message{

    width:52px;
    height:52px;

    border:none;
    border-radius:16px;

    background:#2563eb;
    color:#fff;

    cursor:pointer;

    flex-shrink:0;

    font-size:18px;

    transition:0.2s;
}

.send-ride-chat-message:hover{

    transform:scale(1.05);
}

/* =========================================
SCROLLBAR
========================================= */

.ride-chat-body::-webkit-scrollbar{

    width:6px;
}

.ride-chat-body::-webkit-scrollbar-thumb{

    background:#d1d5db;
    border-radius:20px;
}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .ride-chat-shell{

        height:100vh;
        border-radius:0;
    }

    .ride-chat-bubble{

        max-width:88%;
    }

    .ride-chat-bottom{

        padding-bottom:calc(16px + env(safe-area-inset-bottom));
    }
}

.new-dashboard{
    margin-bottom: 60px !important;
    

        /* margin-bottom: 20px !important; */
}

.myryde-tax-wrapper{
    padding:20px 16px 120px;
    background:#fff;
    color:#000;
    font-family:Arial,sans-serif;
}

.myryde-tax-wrapper h2{
    font-size:24px;
    font-weight:700;
    margin-bottom:10px;
    color:#000;
}

.myryde-tax-wrapper h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
    color:#000;
}

.tax-note{
    font-size:14px;
    line-height:1.5;
    color:#444;
    margin-bottom:10px;
}

.tax-help-link{
    display:inline-block;
    margin-bottom:25px;
    color:#000;
    font-size:14px;
    text-decoration:underline;
}

.myryde-tax-wrapper form{
    margin-bottom:30px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;
    color:#000;
}

.form-group input,
.form-group select{
    width:100%;
    height:52px;
    border:1px solid #000;
    border-radius:10px;
    background:#fff;
    padding:0 14px;
    font-size:15px;
    color:#000;
    box-sizing:border-box;
    outline:none;
}

.form-group input:focus,
.form-group select:focus{
    border-color:#000;
    box-shadow:0 0 0 2px rgba(0,0,0,0.08);
}

.form-row{
    display:flex;
    gap:14px;
}

.form-row .half{
    flex:1;
}

.tax-save-btn{
    width:100%;
    height:54px;
    background:#000;
    color:#fff;
    border:none;
    border-radius:14px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.tax-save-btn:hover{
    opacity:0.9;
}

.tax-documents{
    margin-top:40px;
    padding-top:25px;
    border-top:1px solid #ddd;
}

.tax-documents p{
    font-size:14px;
    color:#555;
    margin-bottom:18px;
}

.tax-doc-btn{
    display:block;
    width:100%;
    background:#000;
    color:#fff;
    text-align:center;
    padding:16px;
    border-radius:12px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    margin-bottom:16px;
    box-sizing:border-box;
}

.tax-documents input[type="file"]{
    width:100%;
    padding:12px;
    border:1px dashed #000;
    border-radius:12px;
    background:#fff;
    margin-bottom:15px;
    box-sizing:border-box;
}

.tax-documents button{
    width:100%;
    background:#fff;
    color:#fff;
    border:2px solid #000;
    padding:15px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.tax-documents button:hover{
    background:#000;
    /* color:#fff; */
      color: #ffffffe0;
}

.tax-center{
    margin-top:45px;
}

.tax-card{
    border:1px solid #000;
    border-radius:16px;
    padding:18px;
    margin-bottom:18px;
    background:#fff;
}

.tax-card h4{
    margin:0 0 10px;
    font-size:18px;
    font-weight:700;
    color:#000;
}

.tax-card p{
    font-size:14px;
    line-height:1.6;
    color:#444;
    margin:0;
}

@media(max-width:768px){

    .myryde-tax-wrapper{
        padding:18px 14px 100px;
    }

    .form-row{
        flex-direction:column;
        gap:0;
    }

    .tax-save-btn{
        height:52px;
    }
}
/* .page-id-3645 main#wp--skip-link--target {
    background: #ffffff;
} */

/* =========================================
ADDRESS POPUP
========================================= */

#myryde-address-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.myryde-address-popup{

    width: 100%;
    max-width: 500px;

    background: #fff;
    border-radius: 14px;

    padding: 24px;

    box-shadow:
    0 10px 40px rgba(0,0,0,.15);

    display: flex;
    flex-direction: column;
    gap: 16px;

    animation: myrydePopup .2s ease;
}

@keyframes myrydePopup{

    from{
        transform: translateY(10px);
        opacity: 0;
    }

    to{
        transform: translateY(0);
        opacity: 1;
    }
}

.myryde-address-popup h3{
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.myryde-address-popup select,
.myryde-address-popup input{

    width: 100%;
    height: 48px;

    border: 1px solid #dcdcdc;
    border-radius: 10px;

    padding: 0 14px;

    font-size: 15px;

    outline: none;

    transition: .2s;
}

.myryde-address-popup select:focus,
.myryde-address-popup input:focus{

    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.popup-actions{

    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.popup-actions button{

    flex: 1;
    height: 46px;

    border: 0;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

#save-new-address{

    background: #000;
    color: #fff;
}

#save-new-address:hover{
    opacity: .9;
}

#close-address-popup{

    background: #f3f3f3;
    color: #111;
}

#close-address-popup:hover{
    background: #e5e5e5;
}

/* GOOGLE AUTOCOMPLETE */

.pac-container{
    z-index: 999999 !important;
    border-radius: 10px;
    overflow: hidden;
}

.pac-item{
    padding: 10px 14px;
    font-size: 14px;
}

.pac-item:hover{
    background: #f7f7f7;
}

/* ADD ADDRESS BUTTON */

.open-address-popup{

    margin-top: 8px;
    margin-bottom: 14px;

    width: fit-content;
}

.top-header-dashboard {
    height: 64px;
}
 
.top-header-dashboard .left, 
.top-header-dashboard .right {
  display: flex;
}

.info-field input {
    border: black solid 1px;
    padding: 10px;
}

#payment_form .payment-info-submit {
    border-radius: 5px;
    background-color: #6091ff;
    color: white;
    margin-top: 15px;
    display: none;
    border: none;
    padding: 9px;
}

.ride-request-card .dot.active-dot{
	background: #3a9f85;
}
.timeline-left .dot{
	position: relative;
	padding: 8px;
	width: 10px;
	height: 10px;
	margin-top: 3px;
}
.ride-request-card .timeline-row{
	margin-bottom: 0;
    margin-top: 0;
}
.ride-request-card .timeline-row .timeline-left::before{
	content: '';
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #0c7fba;
	width:3px;
	height: 100%;
}

.ride-request-card .timeline-row:has(+ div:empty) .timeline-left::before,
.ride-request-card .timeline-row:last-child .timeline-left::before{
	display: none;	
}

.time.highlight .appointment-time-green{
	color: #3a9f85;
	font-size: 18px;
}

.highlight span.otp-icon{
	width: fit-content;
    padding: 6px 8px;
    border-radius: 5px;
}





.swipe-track span.swipe-help-icon.info-icon {
    background: #000;
}


.ride-request-card .dot.mid{
	
}
.ride-request-card .dot.mid::before{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	height: 6px;
	width: 6px;
	border-radius: 10px;
}




.ride-request-card.enhanced {
    background: #fff;
    border-radius: 22px;
    padding: 16px;
    box-shadow:
        0 2px 10px rgba(0,0,0,0.04),
        0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid #ececec;
}
.map-area {
    height: 180px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 14px;
}

#myryde-map {
    height: 100%;
    width: 100%;
}
.live-warning,
.confirm-warning {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}
.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 14px;
    margin-bottom: 20px;
}

.header-left p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
}

.header-left strong {
    color: #111827;
}

.client-name {
    color: #6B7280;
    font-size: 13px;
}
.price-bold {
    color: #10B981;
    font-size: 24px;
    font-weight: 800;
}
.ride-meta {
    text-align: right;
}

.right-side-items {
    font-size: 12px;
    color: #6B7280;
    margin: 0 0 4px;
}

.right-side-items strong {
    color: #111827;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.dot.start {
    background: #10B981;
}

.dot.end {
    background: #3B82F6;
}

.dot.mid {
    width: 12px;
    height: 12px;
    margin-left: 3px;
    background: #EF4444;
}

.leg-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.timeline {
    margin-top: 18px;
}

.timeline-row {
    display: flex;
    position: relative;
    padding-bottom: 18px;
}

.timeline-left {
    width: 34px;
    position: relative;
    flex-shrink: 0;
}

.timeline-left::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 15px;
    width: 2px;
    height: calc(100% - 10px);
    /* background: #D1D5DB; */
}

.timeline-row:last-child .timeline-left::after {
    display: none;
}

.row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.row-top strong {
    font-size: 13px;
    color: #374151;
}
.time {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 6px;
}

.time.highlight {
    color: #10B981;
}
.address {
    font-size: 13px;
    line-height: 1.45;
    color: #4B5563;
}

.right-meta {
    display: block;
    color: #9CA3AF;
    font-size: 12px;
    margin-top: 2px;
}
.driver-name {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.driver-name.me {
    color: #111827;
}

.driver-name.other {
    color: #6B7280;
}
.ride-notes-box,
.notes {
    background: #F3F4F6;
    border-radius: 14px;
    padding: 14px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}
.hii1 {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.hii1 a,
.hii1 button {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: white;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.swipe-container {
    margin-top: 20px;
}

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

.swipe-track span {
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.swipe-thumb {
    position: absolute;
    left: 6px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    top: 6px;
    font-size: 18px;
}


.ride-action-icons{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:18px;
}

.wingz-btn{
    width:46px;
    height:46px;
    border-radius:14px;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    cursor:pointer;
    transition:all .18s ease;
    font-size:18px;
    box-shadow:0 1px 2px rgba(0,0,0,.06);
}

.wingz-btn:hover{
    transform:translateY(-1px);
}

.wingz-btn.pickup{
    background:#E8F8F1;
    color:#1AA179;
}

.wingz-btn.drop{
    background:#FDEBEC;
    color:#E14B5A;
}

.wingz-btn.neutral{
    background:#F4F5F7;
    color:#303264;
}

.wingz-more-btn{
    height:46px;
    padding:0 18px;
    border:none;
    border-radius:14px;
    background:#F4F5F7;
    color:#303264;
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    /* box-shadow:0 1px 2px rgba(0,0,0,.06); */
}

.wingz-more-btn:hover{
    background:#ECEEF2;
}

.wingz-btn.disabled{
    opacity:.45;
    pointer-events:none;
}
.ride-action-icons{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:18px;
}

/* MAIN BUTTON */
.wingz-btn{
    width:42px;
    height:42px;
    border-radius:12px;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    cursor:pointer;
    transition:all .18s ease;
    font-size:17px;
    box-shadow:none;
    padding:0;
}

/* ICON SIZE */
.wingz-btn i{
    font-size:17px;
    line-height:1;
}

/* GREEN GPS */
.wingz-btn.pickup{
    background:#E5F7F0;
    color:#10A779;
}

/* RED GPS */
.wingz-btn.drop{
    background:#FCEBEC;
    color:#E25361;
}

/* CALL + MESSAGE */
.wingz-btn.neutral{
    background:#F4F4F6;
    color:#2E3266;
}

/* DISABLED MESSAGE */
.wingz-btn.disabled{
    opacity:.45;
    pointer-events:none;
}

/* MORE BUTTON */
.wingz-more-btn{
    height:42px;
    padding:0 16px;
    border-radius:12px;
    border:1px solid #E5E7EB;
    background:#fff;
    color:#111827;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    line-height:42px;
}

/* HOVER */
.wingz-btn:hover,
.wingz-more-btn:hover{
    transform:translateY(-1px);
}

/* REMOVE OLD STYLES */
/* .action-btn,
.ride-action-icon{
    all:unset;
} */
/* 
/* =========================================
BOTTOM ACTION BAR — REFERENCE STYLE
========================================= */

.ride-action-bar{
    width:100%;
    margin-top:18px;
    border-top:1px solid #E5E7EB;
    /* border-bottom:1px solid #E5E7EB; */
    background:#fff;
}

/* ROW */


/* BUTTON */
.wingz-btn,
.wingz-more-btn{
    flex:1;
    height:56px;

    border:none;
    background:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;
    cursor:pointer;

    position:relative;

    transition:.15s ease;
}

/* DIVIDERS */
.wingz-btn:not(:last-child)::after,
.wingz-more-btn::before{
    content:"";
    position:absolute;
    top:12px;
    right:0;
    width:1px;
    height:32px;
    background:#E5E7EB;
}

/* ICON SIZE */
.wingz-btn i{
    font-size:20px;
}

/* COLORS */
.wingz-btn.pickup{
    color:#18B58A;
}

.wingz-btn.drop{
    color:#F05B6E;
}

.wingz-btn.neutral{
    color:#2F3368;
}

/* MORE */
.wingz-more-btn{
    font-size:15px;
    font-weight:600;
    color:#111827;
}

/* DISABLED */
.wingz-btn.disabled{
    opacity:.45;
    pointer-events:none;
}

/* HOVER */
.wingz-btn:hover,
.wingz-more-btn:hover{
    background:#F9FAFB;
}

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

    .wingz-btn,
    .wingz-more-btn{
        height:52px;
    }

    .wingz-btn i{
        font-size:18px;
    }

}

.support-options-modal{
    position:fixed;
    inset:0;
    z-index:99999;
}

.support-options-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.support-options-box{
    position:absolute;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
    width:92%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.support-options-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 20px;
    border-bottom:1px solid #eee;
}

.support-options-header h3{
    margin:0;
    font-size:18px;
}

.close-support-options{
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
}

.support-options-actions{
    padding:10px;
}

.support-option-item{
    width:100%;
    border:none;
    background:#f8f8f8;
    border-radius:14px;
    padding:16px;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    color:#111;
    cursor:pointer;
    transition:.2s;
}

.support-option-item:hover{
    background:#efefef;
}

.support-option-item i{
    font-size:20px;
    width:24px;
    text-align:center;
}

.support-option-item div{
    display:flex;
    flex-direction:column;
}

.support-option-item span{
    font-size:13px;
    color:#777;
}

.ride-action-icons{

	gap: 0px;

}

.ride-action-icons .wingz-btn, 

.ride-action-icons .wingz-btn.neutral,

.ride-action-icons .wingz-btn.drop,

.ride-action-icons .wingz-btn.pickup,

.ride-action-icons .wingz-more-btn{

	background: transparent;

	background-color: transparent;

	flex: unset;

    width: 100px;

}
 
.ride-request-card .active-section .timeline-row .timeline-left::before{
        background-color: #3a9f85;
}

#ride-action-area .swipe-track{
        padding: 0 60px;
        text-align: center;
}
.dot.mid{
    margin-left: 0;
}
 
@media (max-width: 768px) {
    .ride-meta {
        gap: 0;
    }
    .ride-meta .right-side-items{
        flex-wrap: wrap;
    }
}
@media(max-width: 576px){
    #ride-action-area .swipe-track{
        .ride-request-card .row-top{
            flex-direction: column;
            align-items: flex-start;
        }
    }
}

.copy-address{
    cursor:pointer;
}

button.modal-action.send-back-ryde i.fa.fa-reply {
    color: #e5e540;
}
button.modal-action.no-show-ryder i.fa.fa-times-circle {
    color: #e92054;
}

.pending-half-circle{
    width:14px;
    height:14px;
    display:inline-block;
    border-radius:50%;
    background:conic-gradient(
        #e5e7eb 0deg 180deg,
        #facc15 180deg 360deg
    );
    border:1px solid #d1d5db;
    vertical-align:middle;
}
.swipe-container.confirm-swipe .swipe-track {
    background: #ed6641;
}
.swipe-container.confirm-swipe .swipe-thumb {
    background: #C2410C;
}
#ride-action-area[data-status="scheduled"] .swipe-track{
	background-color: #f5e200;
}
#ride-action-area[data-status="scheduled"] .swipe-thumb{
	background-color: #fff;
	box-shadow: 0 0 10px #f5e200;
	color: #000000;
}
#ride-action-area[data-status="scheduled"] .swipe-track span{
	color: #fff;
}
#ride-action-area[data-status="pending_approval"] .swipe-track{
	background-color: #47e74b;
}
#ride-action-area[data-status="pending_approval"] .swipe-thumb{
	background-color: #ffffff;
	box-shadow: 0 0 10px #3a9f85;
	color: #000000;
}
#ride-action-area[data-status="pending_approval"] .swipe-track span{
	color: #fff;
}
#ride-action-area[data-status="pending_confirmation"] .swipe-track{
	background-color: #ed6641;
}
#ride-action-area[data-status="pending_confirmation"] .swipe-thumb{
	background-color: #fff;
	box-shadow: 0 0 10px #ed6641;
	color: #000;
}
#ride-action-area[data-status="pending_confirmation"] .swipe-track span{
	color: #fff;
}
/* =========================================
SWIPE STATE COLORS
========================================= */
.swipe-container.start-route-to-pickup .swipe-track{
    background:#f5e200 !important;
}
/* ARRIVED */
.swipe-container.arrived-at-pickup .swipe-track{
    background:#210dfe !important;
}
/* RYDER IN VEHICLE */
.swipe-container.rider-in-vehicle .swipe-track{
    background:#47e74b !important;
}
/* DROPOFF */
.swipe-container.arrived-destination .swipe-track{
    background:#e51800 !important;
}

.status-note.expires {
    padding: 6px 19px;
    border: none;
    color: #b2b243;
    background: #ffff0024;
    border-radius: 15px;
}

.new-dashboard .pending_acceptance .timeline-right .row-top,
.new-dashboard .pending_acceptance .timeline-right  .address 
.new-dashboard .pending_acceptance .timeline-right  .time {
    color: #c5c5c5c7;
}

.pending-acceptance .timeline-row .row-top ,
.pending-acceptance .timeline-row strong ,
.pending-acceptance .timeline-row .address ,
.pending-acceptance .timeline-row .right-meta ,
.pending-acceptance .timeline-row  .time{
    color: #8f8f8f !important;
}

.ride-collapse-toggle{
    cursor:pointer;
    padding:10px;
    display:flex;
    align-items:center;
}

/* hide ONLY stops */
.ride-request-card.time-collapsed .stop-row{
    display:none !important;
}

/* hide appointment address only */
.ride-request-card.time-collapsed .keep-visible .address{
    display:none;
}

/* BUT keep dropoff visible */
.ride-request-card.time-collapsed .extra-time-row .address{
    display:block !important;
}

.timeline-row.disable 

.timeline-row.disable .row-top,
.timeline-row.disable .address 
.timeline-row.disable  .time {
    color: #c5c5c5c7 !important;
}
.timeline-row.disable .row-top ,
.timeline-row.disable strong ,
.timeline-row.disable .address ,
.timeline-row.disable .right-meta ,
.timeline-row.disable .time{
    color: #8f8f8f !important;
}

.full-circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 5px solid red !important;
    background: transparent !important;
    display: inline-block;
    margin-right: 6px;
}

#no-show-popup-timer{
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:999999;
    background:#111827;
    color:#fff;
    border-radius:14px;
    padding:20px;
    width:280px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.timer-title{
    font-size:14px;
    opacity:.8;
    margin-bottom:8px;
}

.timer-count{
    font-size:42px;
    font-weight:700;
    line-height:1;
    margin-bottom:10px;
}

.timer-subtitle{
    font-size:13px;
    opacity:.8;
}

.myryde-pay-ryde {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.myryde-pay-ryde form {
    margin: 0;
}

.myryde-pay-ryde button,
.myryde-pay-ryde .btn-primary,
.myryde-pay-ryde .btn-outline {
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* Pay button */
.myryde-pay-ryde .btn-primary {
    background: #000;
    color: #fff;
}

.myryde-pay-ryde .btn-primary:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Cancel button */
.myryde-pay-ryde .myryde-cancel-ryde {
    background: #fff;
    color: #000;
}

.myryde-pay-ryde .myryde-cancel-ryde:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .myryde-pay-ryde {
        flex-direction: column;
        align-items: stretch;
    }

    .myryde-pay-ryde form,
    .myryde-pay-ryde button {
        width: 100%;
    }

    .myryde-pay-ryde button,
    .myryde-pay-ryde .btn-primary,
    .myryde-pay-ryde .btn-outline {
        width: 100%;
    }
}