/** Ride Share WP Styles **/

.rswp-search-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.rswp-form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.rswp-form-row input,
.rswp-form-row select,
.rswp-form-row textarea {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.rswp-form-group {
    margin-bottom: 15px;
}

.rswp-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.rswp-form-group input[type="text"],
.rswp-form-group input[type="number"],
.rswp-form-group input[type="tel"],
.rswp-form-group input[type="date"],
.rswp-form-group input[type="time"],
.rswp-form-group textarea,
.rswp-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.rswp-form-group input[type="checkbox"] {
    margin-right: 8px;
}

.rswp-btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.rswp-btn-primary {
    background: #2271b1;
    color: #fff;
}

.rswp-btn-primary:hover {
    background: #135e96;
}

.rswp-rides-list {
    display: grid;
    gap: 20px;
}

.rswp-ride-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.rswp-ride-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rswp-ride-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

.rswp-ride-date {
    font-weight: 700;
    color: #2271b1;
}

.rswp-seats-left {
    background: #e7f3ff;
    color: #135e96;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rswp-ride-route {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rswp-location {
    font-size: 18px;
    flex: 1;
}

.rswp-arrow {
    font-size: 24px;
    color: #2271b1;
}

.rswp-ride-info {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.rswp-ride-info p {
    margin: 4px 0;
}

.rswp-badge {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    color: #333;
}

.rswp-ride-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.rswp-price {
    font-size: 20px;
    font-weight: 700;
    color: #2c8a2c;
}

.rswp-form-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rswp-form-box h3 {
    margin-top: 0;
}

.rswp-no-results {
    text-align: center;
    color: #777;
    padding: 40px 0;
}

.rswp-ride-detail {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 700px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rswp-dashboard {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 900px;
}

.rswp-dashboard-nav {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.rswp-dashboard-nav a {
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.rswp-dashboard-nav a.active,
.rswp-dashboard-nav a:hover {
    color: #2271b1;
    border-bottom-color: #2271b1;
}

.rswp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.rswp-table th,
.rswp-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.rswp-table th {
    background: #f9f9f9;
    font-weight: 600;
}

/* OpenStreetMap map containers */
#rswp-offer-map,
#rswp-ride-map {
    z-index: 1;
}

.rswp-geocode-dropdown div:hover {
    background: #f5f5f5;
}

@media (max-width: 600px) {
    .rswp-form-row {
        flex-direction: column;
    }
    .rswp-ride-route {
        flex-direction: column;
        align-items: flex-start;
    }
    .rswp-ride-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ============================
   NEW FEATURES STYLES
   ============================ */

/* Driver Rating Stars */
.rswp-stars {
    color: #f5a623;
    font-size: 14px;
    margin-left: 5px;
}

.rswp-verified {
    background: #d4edda;
    color: #155724;
}

.rswp-badge-instant {
    background: #e7f3ff;
    color: #135e96;
}

/* Fare Estimator */
.rswp-fare-estimator .rswp-subtitle {
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

.rswp-fare-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.rswp-fare-card h4 {
    margin-top: 0;
    color: #2271b1;
}

.rswp-fare-breakdown p {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}

.rswp-fare-total {
    font-size: 24px;
    font-weight: 700;
    color: #2c8a2c;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e0e0e0;
}

/* Referral Box */
.rswp-referral-box .rswp-subtitle {
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

.rswp-referral-code-wrap,
.rswp-referral-link-wrap {
    margin-bottom: 15px;
}

.rswp-referral-code-wrap label,
.rswp-referral-link-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.rswp-referral-code-display,
.rswp-referral-link-display {
    display: flex;
    gap: 10px;
}

.rswp-referral-code-display input,
.rswp-referral-link-display input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #f9f9f9;
}

.rswp-referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.rswp-stat-item {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.rswp-stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.rswp-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2271b1;
}

/* SOS Button */
.rswp-sos-widget {
    text-align: center;
    padding: 20px;
    background: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 12px;
    max-width: 300px;
    margin: 20px auto;
}

.rswp-sos-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #e53e3e;
    background: #fc8181;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin: 0 auto 10px;
    transition: all 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.rswp-sos-button:hover {
    background: #e53e3e;
    transform: scale(1.05);
}

.rswp-sos-button:active {
    transform: scale(0.95);
}

.rswp-sos-icon {
    font-size: 32px;
}

.rswp-sos-text {
    font-size: 12px;
}

.rswp-sos-hint {
    font-size: 12px;
    color: #c53030;
    margin: 0;
}

/* Modal */
.rswp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.rswp-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
}

.rswp-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.rswp-btn-danger {
    background: #e53e3e;
    color: #fff;
}

.rswp-btn-danger:hover {
    background: #c53030;
}

/* Driver Status Toggle */
.rswp-driver-status-widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    max-width: 300px;
    margin-bottom: 20px;
}

.rswp-status-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rswp-status-label {
    font-weight: 600;
    font-size: 14px;
}

.rswp-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.rswp-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.rswp-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.rswp-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.rswp-toggle-switch input:checked + .rswp-toggle-slider {
    background: #2c8a2c;
}

.rswp-toggle-switch input:checked + .rswp-toggle-slider:before {
    transform: translateX(24px);
}

.rswp-status-text {
    font-size: 14px;
    font-weight: 600;
}

.rswp-status-text.online {
    color: #2c8a2c;
}

.rswp-status-text.offline {
    color: #888;
}

.rswp-status-hint {
    font-size: 12px;
    color: #888;
    margin: 8px 0 0;
}

/* Leaderboard */
.rswp-leaderboard h2 {
    margin-top: 0;
}

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

.rswp-leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.rswp-rank {
    font-size: 24px;
    font-weight: 700;
    color: #2271b1;
    min-width: 40px;
    text-align: center;
}

.rswp-driver-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.rswp-driver-info p {
    margin: 0 0 6px;
    font-size: 13px;
    color: #666;
}

.rswp-driver-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.rswp-rating-num {
    font-weight: 700;
    color: #f5a623;
}

.rswp-reviews-count {
    color: #888;
}

/* Notifications */
.rswp-notice {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.rswp-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rswp-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Price Negotiation */
.rswp-negotiation-box h4 {
    margin-top: 0;
}

.rswp-negotiation-box .rswp-subtitle {
    color: #666;
    font-size: 13px;
    margin-top: -10px;
}

/* Days checkboxes */
.rswp-days-checkboxes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rswp-days-checkboxes label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

/* Price offer badges */
.rswp-badge-accepted {
    background: #d4edda;
    color: #155724;
}

.rswp-badge-rejected {
    background: #f8d7da;
    color: #721c24;
}

.rswp-badge-pending {
    background: #fff3cd;
    color: #856404;
}

/* ============================================================
   ON-DEMAND / UBER-LIKE STYLES
   ============================================================ */



/* Ride Tracking */
.rswp-ride-tracking {
    max-width: 600px;
}

.rswp-ride-status-bar {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.rswp-status-steps {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.rswp-status-step {
    flex: 1;
    text-align: center;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.rswp-status-step.active {
    opacity: 1;
}

.rswp-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ccc;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.rswp-status-step.active .rswp-step-icon {
    background: #2271b1;
}

.rswp-step-label {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rswp-status-step.active .rswp-step-label {
    color: #2271b1;
    font-weight: 600;
}

.rswp-ride-info-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.rswp-ride-info-card p {
    margin: 6px 0;
    font-size: 14px;
}

.rswp-driver-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.rswp-driver-card h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

.rswp-driver-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rswp-driver-info .rswp-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.rswp-driver-name {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.rswp-driver-car {
    font-size: 13px;
    color: #666;
    margin: 2px 0;
}

.rswp-cancel-ride-btn {
    width: 100%;
    margin-top: 10px;
}

/* Driver Panel */
.rswp-driver-panel {
    max-width: 600px;
}

.rswp-request-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #2271b1;
}

.rswp-request-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.rswp-request-card p {
    margin: 4px 0;
    font-size: 13px;
    color: #555;
}

.rswp-request-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.rswp-request-actions .rswp-btn {
    flex: 1;
    text-align: center;
}

.rswp-driver-active-ride {
    max-width: 600px;
}

.rswp-driver-active-ride .rswp-driver-actions {
    margin: 20px 0;
    text-align: center;
}

.rswp-driver-active-ride .rswp-driver-actions .rswp-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* Rate ride */
.rswp-rate-ride h4 {
    margin-top: 0;
}

/* Booking Modal */
.rswp-modal-booking {
    max-width: 500px;
    width: 90%;
    text-align: left;
}

.rswp-modal-booking h3 {
    margin-top: 0;
}

.rswp-modal-route {
    font-size: 16px;
    font-weight: 600;
    color: #2271b1;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Ride card actions */
.rswp-ride-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rswp-ride-actions .rswp-btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* Booking badges in dashboard */
.rswp-badge-confirmed {
    background: #d4edda;
    color: #155724;
}

.rswp-badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.rswp-badge-pending {
    background: #fff3cd;
    color: #856404;
}

/* Small buttons */
.rswp-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Tab badge */
.rswp-dashboard-nav .rswp-badge {
    margin-left: 4px;
    padding: 2px 6px;
    font-size: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .rswp-referral-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .rswp-leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .rswp-ride-actions {
        flex-direction: column;
        width: 100%;
    }
    .rswp-ride-actions .rswp-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================================================
   Uber Clone Styles
   ================================================================ */
.rswp-uber-app {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    background: #f3f3f3;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.rswp-uber-map {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.rswp-uber-panel {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 20px;
    max-height: 55vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}
.rswp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.rswp-panel-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}
.rswp-panel-body {
    margin-bottom: 12px;
}
.rswp-panel-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Location inputs */
.rswp-location-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.rswp-location-input-wrap input {
    flex: 1;
    padding: 12px 40px 12px 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #f9f9f9;
    outline: none;
    transition: border 0.2s;
}
.rswp-location-input-wrap input:focus {
    border-color: #276EF1;
    background: #fff;
}
.rswp-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    position: absolute;
    left: 12px;
    z-index: 2;
}
.rswp-dot-green { background: #06C167; }
.rswp-dot-red { background: #E11900; }
.rswp-locate-me {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #276EF1;
    cursor: pointer;
    padding: 4px;
}

/* Fare display */
.rswp-fare-display {
    text-align: center;
    padding: 12px;
    background: #f3f3f3;
    border-radius: 10px;
    margin-bottom: 12px;
}
.rswp-fare-label {
    display: block;
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rswp-fare-amount {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 4px 0;
}
.rswp-fare-distance {
    display: block;
    font-size: 13px;
    color: #555;
}

/* Buttons */
.rswp-btn-large {
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
}
.rswp-btn-success { background: #06C167; color: #fff; }
.rswp-btn-success:hover { background: #05a357; }
.rswp-btn-danger { background: #E11900; color: #fff; }
.rswp-btn-danger:hover { background: #c41500; }

/* Trip panels */
.rswp-trip-panel .rswp-trip-route {
    margin-bottom: 12px;
}
.rswp-trip-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #333;
}
.rswp-trip-fare {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}
.rswp-trip-status-badge {
    background: #276EF1;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

/* Driver toggle bar */
.rswp-driver-toggle-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Request cards */
.rswp-request-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
}
.rswp-request-route {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #111;
}
.rswp-request-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.rswp-request-actions {
    display: flex;
    justify-content: flex-end;
}

/* Driver / Passenger mini cards */
.rswp-driver-card-mini,
.rswp-passenger-card-mini,
.rswp-counterparty-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
}
.rswp-avatar-small {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Map icons */
.rswp-map-dot {
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.rswp-map-car {
    color: #276EF1;
    font-size: 18px;
    text-align: center;
    line-height: 20px;
}

/* Messages */
.rswp-uber-message {
    display: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
}
.rswp-msg-success { background: #d4edda; color: #155724; }
.rswp-msg-error { background: #f8d7da; color: #721c24; }
.rswp-msg-info { background: #cce5ff; color: #004085; }

/* Empty state */
.rswp-empty-state {
    text-align: center;
    color: #777;
    padding: 20px;
    font-size: 14px;
}

/* Rate ride inside tracker */
.rswp-rate-ride select,
.rswp-rate-ride textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Tip box */
.rswp-tip-box {
    text-align: center;
    padding: 10px;
}
.rswp-tip-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}
.rswp-tip-presets {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}
.rswp-tip-presets .rswp-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 6px;
    background: #f3f3f3;
    color: #111;
    border: 1px solid #ddd;
}
.rswp-tip-presets .rswp-btn:hover {
    background: #276EF1;
    color: #fff;
    border-color: #276EF1;
}

/* Decline button on request cards */
.rswp-decline-btn {
    background: transparent;
    color: #E11900;
    border: 1px solid #E11900;
}
.rswp-decline-btn:hover {
    background: #E11900;
    color: #fff;
}
.rswp-decline-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Accept button disabled */
.rswp-accept-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Request count badge */
.rswp-request-count-badge {
    background: #999;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Request card enhancements */
.rswp-request-fare {
    font-weight: 600;
    color: #111;
}
.rswp-request-dist {
    color: #666;
}

/* Request map dot */
.rswp-dot-request {
    background: #f5a623;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Cancel wrap for driver */
#rswp-driver-cancel-wrap {
    text-align: center;
}

/* ============================================================
   ON-DEMAND LANDING PAGE
   ============================================================ */
.rswp-on-demand-landing {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
.rswp-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
}
.rswp-hero h2 {
    margin: 0 0 10px;
    font-size: 32px;
}
.rswp-hero p {
    margin: 0 0 20px;
    font-size: 16px;
    opacity: 0.95;
}
.rswp-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.rswp-hero-actions .rswp-btn-primary {
    background: #fff;
    color: #2271b1;
}
.rswp-hero-actions .rswp-btn-primary:hover {
    background: #f0f0f0;
}
.rswp-hero-actions .rswp-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.rswp-hero-actions .rswp-btn-secondary:hover {
    background: rgba(255,255,255,0.35);
}

.rswp-how-it-works {
    text-align: center;
    margin-bottom: 30px;
}
.rswp-how-it-works h3 {
    margin-bottom: 20px;
    font-size: 22px;
}
.rswp-steps {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.rswp-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.rswp-step-num {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #2271b1;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 12px;
    font-size: 18px;
}
.rswp-step h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.rswp-step p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.rswp-on-demand-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.rswp-on-demand-card {
    flex: 1;
    min-width: 260px;
    max-width: 400px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    text-align: center;
}
.rswp-on-demand-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}
.rswp-on-demand-card p {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
}
.rswp-on-demand-card .rswp-btn-secondary {
    background: #f3f3f3;
    color: #333;
    border: 1px solid #ddd;
}
.rswp-on-demand-card .rswp-btn-secondary:hover {
    background: #e0e0e0;
}

/* Info tips */
.rswp-input-hint {
    font-size: 12px;
    color: #666;
    margin: -6px 0 10px 28px;
    line-height: 1.3;
}
.rswp-fare-hint {
    font-size: 11px;
    color: #888;
    margin: 6px 0 0;
    line-height: 1.3;
}

/* Payment selector */
.rswp-payment-selector {
    margin-top: 10px;
}
.rswp-payment-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.rswp-payment-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rswp-payment-option {
    flex: 1;
    min-width: 70px;
    position: relative;
    cursor: pointer;
}
.rswp-payment-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.rswp-payment-option span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}
.rswp-payment-option input:checked + span {
    background: #276EF1;
    border-color: #276EF1;
    color: #fff;
}
.rswp-trip-info {
    font-size: 13px;
    color: #555;
    padding: 10px;
    background: #f3f3f3;
    border-radius: 8px;
    margin-bottom: 10px;
}
.rswp-trip-payment {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.rswp-trip-payment strong {
    color: #111;
    margin-left: 4px;
}

/* Pay Now box */
.rswp-pay-now-box {
    text-align: center;
    padding: 10px;
}
.rswp-pay-now-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}
.rswp-card-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.rswp-card-row {
    display: flex;
    gap: 8px;
}
.rswp-card-row input {
    flex: 1;
}

/* Responsive */
@media (min-width: 768px) {
    .rswp-uber-panel {
        left: auto; right: 20px;
        bottom: 20px;
        width: 360px;
        max-height: 80vh;
        border-radius: 16px;
    }
    .rswp-driver-toggle-bar {
        left: auto;
        right: 20px;
        transform: none;
    }
}
