/* ===== Pickup Page Styles ===== */
/* DopGO Ride Request Page - Mobile Responsive */

@import 'common.css';

:root {
    --pickup-primary: #594545;
    --pickup-primary-dark: #2b2525;
    --pickup-success: #00e676;
    --pickup-warning: #ffa500;
    --pickup-danger: #b00020;
    --pickup-info: #2196f3;
    --pickup-text: #ffffff;
    --pickup-text-secondary: #9ca3af;
    --pickup-border: #444444;
    --pickup-card-bg: #1f1f1f;
}

/* ===== Mobile Viewport & Touch Prevention ===== */
@media (max-width: 768px) {
    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        touch-action: pan-x pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        overflow-x: hidden;
    }
    
    input, select, textarea, button {
        font-size: 16px !important;
    }
    
    @supports (-webkit-touch-callout: none) {
        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        input[type="tel"],
        input[type="date"],
        input[type="time"],
        textarea,
        select {
            font-size: 16px !important;
        }
    }
    
    .modal-overlay {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== Pickup Content ===== */
.pickup-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 90px;
    min-height: calc(100vh - 140px);
}

/* ===== Pickup Header ===== */
.pickup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #382c42, #18141c);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(56, 44, 66, 0.3);
}

.pickup-header h1 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.pickup-header h1 i {
    margin-right: 8px;
    color: #ff9500;
}

.pickup-header p {
    color: #e0e0e0;
    margin: 4px 0 0 0;
    font-size: 12px;
}

.driver-field-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #05ebb1;
    color: #18141c;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(5, 235, 177, 0.3);
    white-space: nowrap;
}

.driver-field-btn:hover {
    background: #00d198;
    transform: translateY(-2px);
}

/* ===== Map Container ===== */
.map-container {
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
}

#map {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    min-height: 180px;
}

.map-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.map-control-btn {
    background: #ffffff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.map-control-btn:active {
    background: var(--pickup-primary);
    color: #181818;
    transform: scale(1.1);
}

.current-location-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
}

.current-location-dot {
    width: 14px;
    height: 14px;
    background: #2196f3;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.current-location-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(33, 150, 243, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ===== Location Inputs Section ===== */
.location-inputs-section {
    background: var(--pickup-card-bg);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.location-inputs-section .form-group {
    margin-bottom: 12px;
}

.location-inputs-section .form-group:last-child {
    margin-bottom: 0;
}

.location-inputs-section .form-group label {
    font-size: 13px;
    color: var(--pickup-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.location-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-quick-btns {
    display: flex;
    gap: 8px;
}

.quick-loc-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: #333;
    border: 1px solid #555;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.quick-loc-btn:active {
    background: var(--pickup-primary);
    color: #181818;
    border-color: var(--pickup-primary);
}

.location-inputs-section .form-input {
    background: #333;
    border: 1px solid #555;
    color: var(--pickup-text);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.location-inputs-section .form-input:focus {
    border-color: var(--pickup-primary);
}

/* ===== Schedule Section ===== */
.schedule-for-later-section {
    background: var(--pickup-card-bg);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.schedule-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.schedule-toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.schedule-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #444;
    border-radius: 24px;
    transition: all 0.3s ease;
}

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

.schedule-toggle-switch input:checked + .schedule-toggle-slider {
    background: var(--pickup-primary);
}

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

.schedule-toggle-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pickup-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-fields-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--pickup-border);
}

.schedule-fields-row .form-group {
    flex: 1;
}

.schedule-fields-row .form-input {
    background: #333;
    border: 1px solid #555;
    color: var(--pickup-text);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

/* ===== Confirm Pickup Button ===== */
.confirm-pickup-section {
    margin-bottom: 14px;
}

.confirm-pickup-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #05ebb1;
    color: #181818;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 235, 177, 0.3);
    -webkit-tap-highlight-color: transparent;
}

.confirm-pickup-btn:active {
    background: #00d198;
    transform: translateY(-1px);
}

/* ===== Ride Type Grid ===== */
.ride-type-toggle-section {
    margin-bottom: 14px;
}

.ride-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ride-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #000;
    -webkit-tap-highlight-color: transparent;
}

.ride-type-btn:active {
    border-color: var(--pickup-primary);
    background: rgba(5, 235, 177, 0.1);
}

.ride-type-btn.selected {
    border-color: var(--pickup-primary);
    background: var(--pickup-primary);
    color: #fff;
}

.ride-type-btn i {
    font-size: 18px;
    background: linear-gradient(135deg, #088ccf 50%, #c1cdd4 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ride-type-btn.selected i {
    background: linear-gradient(135deg, #088ccf 50%, #c1cdd4 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ride-type-btn span {
    font-size: 9px;
    font-weight: 500;
    text-align: center;
    line-height: 1.1;
}

/* ===== Sections ===== */
.section {
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 16px;
    color: var(--pickup-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 i {
    color: var(--pickup-primary);
}

.section-subtitle {
    font-size: 11px;
    color: var(--pickup-text-secondary);
}

.badge {
    background: #fff;
    color: #181818;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Pickup Dates List ===== */
.pickup-dates-container {
    position: relative;
}

.pickup-dates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    min-height: 120px;
    overflow-y: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
}

.pickup-dates-list::-webkit-scrollbar {
    width: 5px;
}

.pickup-dates-list::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.pickup-dates-list::-webkit-scrollbar-thumb {
    background: var(--pickup-primary);
    border-radius: 3px;
}

/* ===== Pickup Date Card ===== */
.pickup-date-card {
    background: var(--pickup-card-bg);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pickup-date-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.pickup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.ticket-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-info i {
    color: var(--pickup-primary);
}

.ticket-no {
    font-weight: 600;
    color: var(--pickup-primary);
    font-size: 14px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.pickup-card-body {
    font-size: 13px;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pickup-text-secondary);
    margin-bottom: 6px;
}

.offer-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.offer-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--pickup-primary);
}

/* ===== Driver Info Overlay ===== */
.driver-info-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 20;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.driver-info-content {
    padding: 14px;
}

.driver-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.driver-avatar-small {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pickup-primary);
}

.driver-info-text {
    flex: 1;
}

.driver-name-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
    display: block;
}

.driver-vehicle-text {
    font-size: 12px;
    color: #6b7280;
}

.driver-overlay-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.driver-overlay-close:active {
    background: #f3f4f6;
    color: #1f2937;
}

.driver-info-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.driver-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.driver-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--pickup-primary);
}

.driver-stat-label {
    font-size: 10px;
    color: #6b7280;
}

.driver-info-actions {
    display: flex;
    gap: 8px;
}

.driver-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--pickup-primary);
    color: #181818;
    -webkit-tap-highlight-color: transparent;
}

.driver-action-btn:active {
    background: var(--pickup-primary-dark);
}

.driver-action-btn.message-btn {
    background: #e5e7eb;
    color: #1f2937;
}

.driver-action-btn.message-btn:active {
    background: #d1d5db;
}

/* ===== Ride Status Overlay ===== */
.ride-status-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    z-index: 20;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ride-status-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ride-status-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ride-status-icon {
    width: 28px;
    height: 28px;
    background: var(--pickup-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181818;
    font-size: 12px;
}

.ride-status-text {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.ride-route-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.route-preview-point {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #fff;
}

.route-preview-point.pickup span {
    color: #05ebb1;
}

.route-preview-point.destination span {
    color: #f44336;
}

.route-preview-line {
    color: #9ca3af;
    font-size: 11px;
}

.ride-fare-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.ride-fare-preview span {
    font-size: 11px;
    color: #9ca3af;
}

.fare-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--pickup-primary);
}

/* ===== Empty & Loading States ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: #444;
    margin-bottom: 12px;
}

.empty-state p {
    color: #888;
    font-size: 14px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: #888;
}

.loading-state i {
    font-size: 28px;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Modal Styles ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.pickup-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.pickup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--pickup-border);
}

.pickup-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--pickup-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pickup-modal-header h2 i {
    color: var(--pickup-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--pickup-text);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:active {
    background: var(--pickup-border);
    color: var(--pickup-primary);
}

.pickup-modal-body {
    padding: 16px;
}

/* ===== Payment Method Options ===== */
.payment-method-options {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.payment-method-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #181818;
    -webkit-tap-highlight-color: transparent;
}

.payment-method-btn:active {
    border-color: #088ccf;
    background: rgba(8, 140, 207, 0.05);
}

.payment-method-btn.selected {
    border-color: #088ccf;
    background: rgba(8, 140, 207, 0.1);
}

.payment-method-btn i {
    font-size: 18px;
    background: linear-gradient(135deg, #088ccf 50%, #c1cdd4 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-method-btn.selected i {
    background: linear-gradient(135deg, #088ccf 50%, #c1cdd4 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-method-btn span {
    font-size: 11px;
    font-weight: 600;
}

/* ===== Card Payment Details ===== */
.card-payment-details {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px;
    margin-top: 12px;
}

.stripe-card-element {
    background: #fff;
    border: 2px solid #423241;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    min-height: 46px;
}

.stripe-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 6px;
    font-size: 11px;
    color: #666;
}

.stripe-secure-badge i {
    color: #00e676;
}

/* ===== Offer Fee with Wallet ===== */
.offer-fee-with-wallet {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wallet-balance-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #00e676, #00a856);
    border-radius: 8px;
    color: #181818;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

/* ===== Pickup Modal Footer ===== */
.pickup-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--pickup-border);
}

.btn-secondary {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #181818;
    border: 2px solid #fff;
}

.btn-secondary:active {
    background: #f0f0f0;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--pickup-danger);
    color: #fff;
    border: none;
}

.btn-primary:active {
    background: #900018;
}

/* ===== Success Alert ===== */
.success-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-alert.show {
    display: flex;
}

.success-content {
    background: #000;
    border: 2px solid var(--pickup-primary);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(5, 235, 177, 0.3);
}

.success-content i {
    font-size: 48px;
    color: var(--pickup-success);
    margin-bottom: 16px;
}

.success-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.success-content p {
    margin: 0 0 20px 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 14px;
}

.success-content .ticket-number {
    display: inline-block;
    background: var(--pickup-primary);
    color: #000;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    margin: 10px 0;
    letter-spacing: 1px;
}

.success-content button {
    padding: 12px 32px;
    background: linear-gradient(135deg, #05ebb1, #00d198);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 235, 177, 0.4);
    margin-top: 16px;
}

.success-content button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 235, 177, 0.5);
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 56px;
}

.nav-item i {
    font-size: 18px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.dopgo {
    color: var(--text-primary);
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    margin-top: 0;
    box-shadow: none;
}

.nav-item.dopgo i {
    font-size: 22px;
}

.nav-item.dopgo .dopgo-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

.nav-item.dopgo .dopgo-icons i {
    font-size: 22px;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
}

.nav-item.dopgo.active .dopgo-icons i {
    color: var(--primary-color) !important;
}

.nav-item.dopgo .dopgo-icons i::before {
    display: inline-block !important;
}

.nav-item.dopgo .dopgo-icons i.fa-plus-circle {
    position: relative;
    top: auto;
    right: auto;
    font-size: 22px;
    z-index: 1;
}

.nav-item.dopgo .dopgo-icons i.fa-car {
    margin-left: -6px;
    margin-right: 2px;
    font-size: 18px;
}

/* ===== Header SOS Button ===== */
.header-sos-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pickup-danger);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: pulse-sos 2s infinite;
}

.header-sos-btn i {
    font-size: 16px;
}

@keyframes pulse-sos {
    0% { box-shadow: 0 0 0 0 rgba(176, 0, 32, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(176, 0, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(176, 0, 32, 0); }
}

/* ===== Notification Bell ===== */
.notification-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-bell i {
    font-size: 16px;
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== Request Modal (Driver Portal) ===== */
.request-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.request-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--pickup-border);
}

.request-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--pickup-text);
}

.request-modal-body {
    padding: 16px;
}

.request-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--pickup-border);
}

.btn-accept {
    flex: 1;
    padding: 12px 20px;
    background: var(--pickup-success);
    color: #181818;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-accept:active {
    background: #00c853;
}

.btn-decline {
    flex: 1;
    padding: 12px 20px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-decline:active {
    background: #d32f2f;
}

/* ===== Loading Overlay ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

/* ===== Active Rides Section ===== */
.active-rides-section {
    margin-bottom: 16px;
}

.active-ride-card {
    border-left: 4px solid var(--pickup-success);
}

.active-ride-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pickup-border);
}

.btn-complete {
    flex: 1;
    padding: 12px 16px;
    background: var(--pickup-success);
    color: #181818;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-complete:active {
    background: #00c853;
}

/* ===== Driver Registration ===== */
.driver-reg-container {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}

.driver-reg-left {
    flex: 1;
    display: none;
}

.driver-reg-right {
    flex: 1;
}

.driver-form-card {
    background: var(--pickup-card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.driver-form-card h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--pickup-text);
}

.driver-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pickup-text);
    font-size: 14px;
}

.benefit-item i {
    color: var(--pickup-primary);
    font-size: 16px;
}

/* ===== Modal Compact Layout ===== */
.modal-compact-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--pickup-border);
}

.modal-info-row:last-child {
    border-bottom: none;
}

.modal-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pickup-text-secondary);
}

.modal-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--pickup-text);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.modal-value.fare-value {
    font-size: 18px;
    color: var(--pickup-primary);
}

/* ===== Detail Row Compact ===== */
.detail-row-compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.detail-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--pickup-text-secondary);
}

.offer-row-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.offer-amount-compact {
    font-size: 20px;
    font-weight: 700;
    color: var(--pickup-primary);
}

/* ===== Notifications Dropdown ===== */
.notifications-dropdown {
    position: fixed;
    top: 70px;
    right: 16px;
    background: #181818;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    padding: 14px 0;
    min-width: 280px;
    z-index: 4000;
    max-height: 350px;
    overflow-y: auto;
}

.notif-header {
    font-weight: 600;
    font-size: 16px;
    padding: 0 14px 10px 14px;
    border-bottom: 1px solid #222;
    margin-bottom: 8px;
}

.notif-empty {
    padding: 12px 14px;
    color: #888;
    text-align: center;
}

.notif-item {
    padding: 10px 14px;
    border-bottom: 1px solid #222;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item b {
    display: block;
    margin-bottom: 4px;
}

.notif-item p {
    margin: 0 0 6px 0;
    font-size: 13px;
}

.notif-item small {
    font-size: 12px;
    color: var(--pickup-primary);
}

/* ===== Notification Modal ===== */
.notification-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--pickup-border);
}

.notification-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--pickup-text);
}

.notification-modal-body {
    padding: 16px;
}

.notification-stats {
    display: flex;
    gap: 12px;
}

.notification-stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--pickup-card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-stat-card:active {
    transform: scale(0.98);
}

.notification-stat-card i {
    font-size: 24px;
    color: var(--pickup-primary);
}

.notification-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--pickup-text);
}

.notification-stat-label {
    font-size: 11px;
    color: var(--pickup-text-secondary);
}

/* ===== Driver Registration Form ===== */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 13px;
    color: var(--pickup-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--pickup-primary);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 14px;
    color: var(--pickup-text);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--pickup-primary);
}

.form-select {
    width: 100%;
    padding: 12px 14px;
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 14px;
    color: var(--pickup-text);
    outline: none;
    cursor: pointer;
}

/* ===== Trip Details Display ===== */
.trip-details-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trip-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trip-detail-label {
    font-size: 13px;
    color: var(--pickup-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trip-detail-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--pickup-text);
    text-align: right;
}

.status-value.pending { color: #ffa500; }
.status-value.accepted { color: var(--pickup-success); }
.status-value.onway { color: #ffb300; }
.status-value.pickedup { color: var(--pickup-info); }
.status-value.delivered { color: var(--pickup-success); }

/* ===== Featured Places Inline ===== */
.featured-places-inline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inline-featured-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inline-featured-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--pickup-card-bg);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.inline-featured-card:active {
    background: #2a2a2a;
    transform: translateX(4px);
}

.inline-featured-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pickup-primary);
    color: #181818;
    border-radius: 50%;
    font-size: 16px;
}

.inline-featured-info {
    flex: 1;
}

.inline-featured-info h4 {
    margin: 0;
    font-size: 14px;
    color: var(--pickup-text);
}

.inline-featured-info p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: var(--pickup-text-secondary);
}

.inline-featured-type {
    font-size: 10px;
    color: var(--pickup-primary);
    margin-top: 4px;
    display: block;
}

.inline-featured-action {
    color: var(--pickup-primary);
    font-size: 18px;
}

/* ===== Driver Vehicle Info ===== */
.driver-vehicle-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(5, 235, 177, 0.15);
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
}

.driver-vehicle-info i {
    color: var(--pickup-primary);
}

/* ===== Driver ETA Display ===== */
.driver-eta-info {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--pickup-text-secondary);
}

.driver-eta-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.driver-arrived-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--pickup-success);
    font-size: 12px;
}

/* ===== Profile Status ===== */
.profile-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #222;
    border-radius: 10px;
}

.status-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #888;
}

.status-light.active {
    background: var(--pickup-success);
    box-shadow: 0 0 8px var(--pickup-success);
}

#profileStatusText {
    font-size: 13px;
    color: #fff;
}

/* ===== Form Grid ===== */
.pickup-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

/* ===== Vehicle Selection ===== */
.vehicle-selection-section {
    margin-top: 8px;
}

.vehicle-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vehicle-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #222;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vehicle-option:active {
    border-color: var(--pickup-border);
}

.vehicle-option.selected {
    border-color: var(--pickup-primary);
    background: rgba(5,235,161,0.05);
}

.vehicle-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pickup-primary);
    color: #181818;
    border-radius: 10px;
    font-size: 18px;
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    font-weight: 600;
    color: var(--pickup-text);
    display: block;
    font-size: 14px;
}

.vehicle-desc {
    font-size: 11px;
    color: var(--pickup-text-secondary);
}

.vehicle-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pickup-primary);
}

/* ===== Ride Preferences ===== */
.ride-preferences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.preference-card {
    background: #222;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 14px;
}

.preference-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.preference-card-header i {
    color: var(--pickup-primary);
    font-size: 16px;
}

.preference-card-header label {
    font-weight: 600;
    color: var(--pickup-text);
    font-size: 14px;
}

.preference-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preference-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.preference-option:hover {
    background: rgba(255,255,255,0.05);
}

.preference-option input[type="radio"] {
    accent-color: var(--pickup-primary);
}

.option-label {
    font-size: 13px;
    color: var(--pickup-text);
}

/* ===== Special Options ===== */
.special-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.option-card {
    background: #222;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 12px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--pickup-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--pickup-primary);
    border-color: var(--pickup-primary);
}

.checkbox-custom i {
    font-size: 12px;
    color: #181818;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom i {
    opacity: 1;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-content i {
    color: var(--pickup-primary);
    font-size: 16px;
}

.option-content span {
    font-size: 13px;
    font-weight: 500;
    color: var(--pickup-text);
}

.option-content small {
    font-size: 11px;
    color: var(--pickup-text-secondary);
}

/* ===== Coupon Section ===== */
.coupon-section {
    margin-top: 8px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-group .form-input {
    flex: 1;
}

.apply-coupon-btn {
    padding: 10px 16px;
    background: var(--pickup-primary);
    color: #181818;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-coupon-btn:active {
    background: var(--pickup-primary-dark);
}

.applied-coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(5,235,161,0.1);
    border: 1px solid var(--pickup-primary);
    border-radius: 10px;
    margin-top: 10px;
}

.applied-coupon i {
    color: var(--pickup-success);
    font-size: 16px;
}

.applied-coupon span {
    flex: 1;
    font-size: 13px;
    color: var(--pickup-text);
}

.remove-coupon-btn {
    background: none;
    border: none;
    color: var(--pickup-text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.remove-coupon-btn:hover {
    color: var(--pickup-danger);
}

/* ===== SOS Section ===== */
.sos-section {
    margin-top: 20px;
    text-align: center;
}

.sos-emergency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--pickup-danger);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sos-emergency-btn:active {
    background: #900018;
    transform: scale(1.05);
}

.sos-emergency-btn i {
    font-size: 16px;
}

/* ===== Coupon Display in Summary ===== */
.coupon-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(5,235,161,0.1);
    border: 1px solid var(--pickup-primary);
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--pickup-primary);
}

.coupon-display i {
    font-size: 14px;
}

/* ===== Schedule Pickup Toggle ===== */
.scheduled-pickup-section {
    background: #222;
    border-radius: 12px;
    padding: 14px;
    margin-top: 8px;
}

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

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #444;
    border-radius: 24px;
    transition: all 0.3s ease;
}

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

.toggle-switch input:checked + .toggle-slider {
    background: var(--pickup-primary);
}

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

.toggle-label {
    font-size: 13px;
    color: var(--pickup-text);
}

.schedule-fields {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(5,235,161,0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.schedule-info i {
    color: var(--pickup-primary);
    font-size: 14px;
}

.schedule-info span {
    font-size: 12px;
    color: var(--pickup-text-secondary);
}

/* ===== Schedule Date Time Pickers ===== */
.schedule-date-picker label,
.schedule-time-picker label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--pickup-text-secondary);
    margin-bottom: 6px;
}

.schedule-date-picker label i,
.schedule-time-picker label i {
    color: var(--pickup-primary);
}

/* ===== Favorite Locations Modal ===== */
.favorite-modal-container {
    background: #000;
    border: 2px solid #333;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.favorite-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background: #000;
    z-index: 10;
}

.favorite-modal-header .modal-close {
    color: #ff9500;
    background: rgba(255, 149, 0, 0.1);
}

.favorite-modal-header .modal-close:active {
    background: #ff9500;
    color: #000;
}

.favorite-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.favorite-modal-header h2 i {
    color: #ff9500;
}

.favorite-modal-body {
    padding: 16px;
}

/* ===== Featured Places Section in Modal ===== */
.featured-places-section {
    margin-bottom: 20px;
}

.featured-places-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-places-section h3 i {
    color: #ff9500;
}

.featured-places-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-place-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #333;
}

.featured-place-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff9500;
    color: #000;
    border-radius: 50%;
    font-size: 14px;
}

.featured-place-info {
    flex: 1;
}

.featured-place-info h4 {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.featured-place-info p {
    margin: 4px 0 0 0;
    font-size: 11px;
    color: #888;
}

.add-to-favorites-btn {
    padding: 6px 10px;
    background: transparent;
    border: 1px solid #ff9500;
    color: #ff9500;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.add-to-favorites-btn:active {
    background: #ff9500;
    color: #000;
}

/* ===== My Saved Locations Section ===== */
.my-locations-section {
    margin-top: 8px;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header-inline h3 {
    margin: 0;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header-inline h3 i {
    color: #ff9500;
}

.add-location-inline-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ff9500;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-location-inline-btn:active {
    background: #e68600;
}

/* ===== Add Location Form ===== */
.add-location-form {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.form-row-inline {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row-inline .form-input,
.form-row-inline .form-select {
    flex: 1;
}

.add-location-form .form-input {
    margin-bottom: 10px;
}

.form-actions-inline {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.locations-list-container {
    max-height: 250px;
    overflow-y: auto;
}

.modal-locations-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-location-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease;
}

.modal-location-card:hover {
    background: #2a2a2a;
}

.modal-location-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff9500;
    color: #000;
    border-radius: 50%;
    font-size: 14px;
}

.modal-location-info {
    flex: 1;
}

.modal-location-info h4 {
    margin: 0;
    font-size: 13px;
    color: #fff;
}

.modal-location-info p {
    margin: 4px 0 0 0;
    font-size: 11px;
    color: #888;
}

.location-type-badge {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(255, 149, 0, 0.15);
    border-radius: 10px;
    font-size: 10px;
    color: #ff9500;
    margin-top: 4px;
}

.modal-location-actions {
    display: flex;
    gap: 6px;
}

.use-btn,
.delete-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.use-btn {
    background: #ff9500;
    color: #000;
    border: none;
}

.use-btn:active {
    background: #e68600;
}

.delete-btn {
    background: transparent;
    color: #888;
    border: 1px solid #444;
}

.delete-btn:active {
    background: #cc0000;
    color: #fff;
    border-color: #cc0000;
}

/* ===== Vehicle Type Badge ===== */
.vehicle-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #222;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--pickup-text);
}

.vehicle-type-badge i {
    color: var(--pickup-primary);
}

/* ===== User Info Display ===== */
.user-info-display {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.user-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--pickup-text);
    padding: 5px 8px;
    background: #222;
    border-radius: 6px;
}

.user-info-row i {
    color: var(--pickup-primary);
    font-size: 11px;
}

/* ===== Mapbox Popup Styles ===== */
.mapboxgl-popup-content {
    background: #1f2937 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

.mapboxgl-popup-tip {
    border-top-color: #1f2937 !important;
}

.mapboxgl-popup-close-button {
    color: #fff !important;
    font-size: 18px !important;
}

/* ===== Car Marker ===== */
.car-marker {
    transition: transform 0.3s ease;
}

/* ===== Route Line Layer ===== */
.route-line {
    position: absolute;
    z-index: 1;
}

/* ===== Featured Places Map Markers ===== */
.featured-marker {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.featured-marker:hover {
    transform: scale(1.1);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease;
}

.animate-slide-up {
    animation: slideUp 0.3s ease;
}

/* ===== Ticketing Info ===== */
.ticketing-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--pickup-success);
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--pickup-success);
}

.ticketing-info i {
    font-size: 16px;
}

/* ===== Responsive Adjustments for Small Screens ===== */
@media (max-width: 380px) {
    .pickup-header h1 {
        font-size: 18px;
    }
    
    .driver-field-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    #map {
        height: 180px;
    }
    
    .ride-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ride-type-btn {
        padding: 8px 4px;
    }
    
    .ride-type-btn i {
        font-size: 16px;
    }
    
    .ride-type-btn span {
        font-size: 8px;
    }
    
    .location-quick-btns {
        flex-wrap: wrap;
    }
    
    .quick-loc-btn {
        min-width: calc(50% - 4px);
    }
    
    .pickup-dates-list {
        max-height: 280px;
    }
    
    .modal-overlay {
        padding: 12px;
    }
    
    .pickup-modal {
        max-height: 90vh;
    }
    
    .payment-method-options {
        flex-wrap: wrap;
    }
    
    .payment-method-btn {
        min-width: calc(33% - 6px);
    }
    
    .special-options-grid {
        grid-template-columns: 1fr;
    }
    
    .confirm-pickup-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .pickup-card-body {
        font-size: 12px;
    }
    
    .offer-amount {
        font-size: 14px;
    }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 320px) {
    .pickup-header {
        padding: 12px;
    }
    
    .pickup-header h1 {
        font-size: 16px;
    }
    
    .pickup-content {
        padding: 12px;
        padding-bottom: 80px;
    }
    
    #map {
        height: 160px;
    }
    
    .ride-type-grid {
        gap: 6px;
    }
    
    .ride-type-btn {
        padding: 6px 2px;
    }
    
    .ride-type-btn span {
        font-size: 7px;
    }
    
    .bottom-nav {
        padding: 4px 2px;
    }
    
    .nav-item {
        min-width: 48px;
        padding: 4px 6px;
        font-size: 8px;
    }
    
    .nav-item i {
        font-size: 16px;
    }
    
    .nav-item.dopgo {
        width: 44px;
        height: 44px;
        margin-top: -12px;
    }
    
    .nav-item.dopgo i,
    .nav-item.dopgo .dopgo-icons i {
        font-size: 18px;
    }
    
    .confirm-pickup-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .modal-close {
        font-size: 18px;
        padding: 4px;
    }
    
    .pickup-modal-header h2 {
        font-size: 16px;
    }
    
    .btn-accept,
    .btn-decline,
    .btn-primary,
    .btn-secondary {
        padding: 10px 14px;
        font-size: 13px;
    }
}
