* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Install App Banner Styles */
.install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.install-icon {
    font-size: 2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.install-text {
    flex: 1;
}

.install-text strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 3px;
}

.install-text p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.95;
}

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

.install-btn {
    background: white;
    color: #1a73e8;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.install-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.dismiss-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dismiss-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .install-content {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }
    
    .install-text {
        flex: 100%;
    }
    
    .install-buttons {
        flex: 100%;
        justify-content: center;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
    border-bottom: 3px solid #FFD700;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.6)) 
            drop-shadow(0 0 10px rgba(255, 215, 0, 0.4))
            brightness(1.1)
            contrast(1.1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 30px rgba(255, 215, 0, 0.8)) 
            drop-shadow(0 0 15px rgba(255, 215, 0, 0.6))
            brightness(1.15)
            contrast(1.15);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo section styling moved above */

.car-icon {
    font-size: 2.5em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-section h1 {
    font-size: 2.2em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    background: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: #FFD700;
    border: 2px solid #FFD700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.language-selector select {
    background: #000000;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 1em;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.language-selector select:hover {
    background: #1a1a1a;
    border-color: #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.language-selector select option {
    background: #000000;
    color: #FFD700;
    font-weight: 600;
}

/* Header Controls - moved up and positioned absolutely */

.promotional-text {
    background: #000000;
    padding: 10px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid #FFD700;
}

.promo-message {
    color: #FFD700;
    font-size: 1em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

.role-toggle {
    display: flex;
    background: #000000;
    border-radius: 25px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 2px solid #FFD700;
}

.toggle-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #FFD700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 600;
}

.toggle-btn:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.toggle-btn.active {
    background: #FFD700;
    color: #000000;
    font-weight: bold;
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.4);
}

/* Driver Options Dropdown */
.driver-options-dropdown {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 10000;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.driver-option-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #333;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.driver-option-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.driver-option-btn:first-child {
    margin-bottom: 4px;
}

/* Join as Driver Button */
.join-driver-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-left: 10px;
}

.join-driver-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7b45 0%, #f8a41e 100%);
}

/* About Button */
.about-btn {
    background: #000000;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-left: 10px;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: #1a1a1a;
}

/* Blog Button */
.blog-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    margin-left: 10px;
}

.blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #3fd681 0%, #2eb670 100%);
}

.blog-btn.active {
    background: white;
    color: #2ecc71;
    font-weight: bold;
}

/* Shop Button Styling */
.shop-btn {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    margin-left: 10px;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.shop-btn.active {
    background: white;
    color: #e67e22;
    font-weight: bold;
}

/* Main Sections */
.rider-section,
.driver-section,
.blog-section,
.shop-section {
    background: rgba(255,255,255,0.95);
    margin: 30px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
    display: none;
}

.rider-section.active-section,
.driver-section.active-section,
.blog-section.active-section,
.shop-section.active-section {
    display: block;
}

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

.section-header h2 {
    color: #1a73e8;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Driver Status */
.driver-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-label {
    font-weight: 600;
    color: #666;
}

.status-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.status-btn.offline {
    background: #e74c3c;
    color: white;
}

.status-btn.online {
    background: #2ecc71;
    color: white;
}

.status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Form Styles */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Ride Type Toggle */
.ride-type-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(66, 133, 244, 0.05);
    border-radius: 15px;
}

.ride-type-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.toggle-switch-container {
    display: flex;
    background: rgba(255,255,255,0.8);
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ride-type-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ride-type-btn:hover {
    color: #4285f4;
}

.ride-type-btn.active {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Add Favorite Button */
.add-favorite-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.add-favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.add-favorite-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Quick Locations Section */
.quick-locations-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.favorites-section,
.recent-section {
    margin-bottom: 20px;
}

.favorites-section:last-child,
.recent-section:last-child {
    margin-bottom: 0;
}

.quick-locations-section h4 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-btn {
    padding: 10px 16px;
    background: white;
    color: #333;
    border: 2px solid #4285f4;
    border-radius: 25px;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.location-btn:hover {
    background: #4285f4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.location-btn .remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.1em;
    padding: 0;
    margin-left: 5px;
    transition: all 0.2s ease;
}

.location-btn .remove-btn:hover {
    transform: scale(1.2);
}

.no-locations-msg {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

/* Payment Section */
.payment-section {
    margin-bottom: 25px;
}

.payment-note {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 4px solid #4285f4;
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

/* Add Stop Section */
.add-stop-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 12px;
    border: 2px solid #4caf50;
}

/* Stop Location Section */
.stop-section {
    background: linear-gradient(135deg, #fff9c4 0%, #f0f4c3 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #fbc02d;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.15);
}

/* Safety Share Section */
.safety-share-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #673ab7;
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.15);
}

.safety-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-style: italic;
}

.trusted-contacts-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #673ab7;
    box-shadow: 0 2px 8px rgba(103, 58, 183, 0.2);
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

.contact-phone {
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

.emergency-badge {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 10px;
}

.remove-contact-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.remove-contact-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

.add-contact-btn {
    background: linear-gradient(135deg, #673ab7 0%, #9c27b0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(103, 58, 183, 0.3);
}

.add-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.4);
}

.no-contacts-msg {
    color: #999;
    font-size: 0.9em;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-content h3 {
    color: #673ab7;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.modal-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cancel-btn {
    flex: 1;
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #bdbdbd;
}

.save-contact-btn {
    flex: 1;
    background: linear-gradient(135deg, #673ab7 0%, #9c27b0 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.4);
}

/* Book for Someone Else Section */
/* Emergency Medical Fast-Track Styles */
.emergency-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    border-radius: 12px;
    border: 3px solid #d32f2f;
    animation: emergency-pulse 2s ease-in-out infinite;
}

@keyframes emergency-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }
}

.emergency-label span {
    color: #d32f2f;
    font-weight: 800;
    font-size: 1.1em;
}

.emergency-note {
    color: #d32f2f;
    font-weight: 600;
}

.emergency-destination-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 3px solid #ff6f00;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.2);
}

.emergency-title {
    color: #d32f2f;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.emergency-warning {
    background: #fff3e0;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    color: #e65100;
    border-left: 4px solid #ff6f00;
}

.book-for-other-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 12px;
    border: 2px solid #4285f4;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #4285f4;
}

.checkbox-label span {
    user-select: none;
}

.note-text {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

/* Recipient Section */
.recipient-section {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

.section-subtitle {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.recipient-note {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

/* Buttons */
.calculate-btn,
.book-btn {
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    width: 100%;
    margin: 20px 0;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.book-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    width: 100%;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Advance Booking Section */
.advance-booking-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px dashed #667eea;
}

.advance-booking-toggle {
    margin-bottom: 15px;
}

.advance-booking-toggle .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
}

.advance-booking-toggle .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.advance-booking-toggle .note-text {
    margin-top: 8px;
    margin-left: 30px;
    color: #718096;
    font-size: 0.9em;
}

.advance-booking-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.advance-booking-details .form-group {
    margin-bottom: 15px;
}

.advance-booking-details input[type="date"],
.advance-booking-details input[type="time"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.advance-booking-details input[type="date"]:focus,
.advance-booking-details input[type="time"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.advance-booking-info {
    background: #edf2f7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.advance-booking-info p {
    margin: 8px 0;
    font-size: 0.95em;
    color: #4a5568;
}

.advance-booking-info p:first-child,
.advance-booking-info p:nth-child(2) {
    color: #38a169;
}

.advance-booking-info p:last-child {
    color: #e53e3e;
    font-weight: 600;
}

/* Fare Display */
.fare-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.fare-amount h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#fareAmount {
    color: #ffeb3b;
    font-size: 1.2em;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-controls {
        position: static;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 15px;
    }
    
    .header-content {
        flex-direction: column;
        justify-content: center;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .rider-section,
    .driver-section,
    .blog-section,
    .shop-section {
        margin: 20px;
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.6em;
    }
    
    .driver-stats {
        grid-template-columns: 1fr;
    }
    
    .payout-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .payout-details {
        justify-content: center;
    }
    
    .request-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 20px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .rider-section,
    .driver-section,
    .blog-section,
    .shop-section {
        margin: 15px;
        padding: 20px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px;
    }
    
    .calculate-btn,
    .book-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .role-toggle {
        flex-direction: column;
        width: 100%;
    }
    
    .toggle-btn {
        flex: 1;
    }
}

/* Location Tracking Styles */
.location-section,
.location-tracking-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
    margin-bottom: 20px;
}

.location-section h4,
.location-tracking-section h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.location-status-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.location-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.location-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.location-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.location-btn.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.location-btn.active:hover {
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.location-map,
.driver-location-info {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
}

.map-container {
    min-height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.location-info {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.location-info p {
    margin: 8px 0;
    font-size: 1.1em;
}

.location-info strong {
    color: #ffeb3b;
}

/* Location coordinates and status */
.location-coordinates {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
}

.location-accuracy {
    color: #2ecc71;
    font-weight: 500;
}

.location-timestamp {
    color: #95a5a6;
    font-size: 0.9em;
}

/* Nearby riders section */
.nearby-riders {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.nearby-riders h4 {
    color: #1a73e8;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.riders-list {
    max-height: 150px;
    overflow-y: auto;
}

.rider-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 4px solid #4285f4;
}

.rider-info {
    flex: 1;
}

.rider-name {
    font-weight: 600;
    color: #333;
}

.rider-distance {
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}

.rider-direction {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.no-nearby {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Location permission states */
.location-denied {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    margin-bottom: 15px;
}

.location-granted {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
    margin-bottom: 15px;
}

/* ETA and distance indicators */
.distance-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

.eta-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,235,59,0.9);
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Location tracking animations */
@keyframes locationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.location-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    animation: locationPulse 2s infinite;
}

/* Responsive location styles */
@media (max-width: 768px) {
    .location-status {
        flex-direction: column;
        align-items: stretch;
    }
    
    .location-btn {
        width: 100%;
        text-align: center;
    }
    
    .location-info {
        padding: 15px;
    }
    
    .rider-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .rider-direction {
        align-self: flex-end;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.booking-section {
    animation: slideInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 10px auto;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Driver Dashboard Styles */
.driver-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffeb3b;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Daily Payout Section */
.daily-payout-section {
    margin-bottom: 30px;
}

.payout-card {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
    transition: transform 0.3s ease;
}

.payout-card:hover {
    transform: translateY(-3px);
}

.payout-info h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.4em;
}

.payout-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 0.95em;
}

.payout-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.payout-details span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9em;
}

.payout-details strong {
    color: #ffeb3b;
    font-size: 1.2em;
    margin-left: 5px;
}

.payout-btn {
    background: white;
    color: #11998e;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payout-btn:hover {
    background: #ffeb3b;
    color: #11998e;
    transform: scale(1.05);
}

.payout-btn:active {
    transform: scale(0.98);
}

/* Requests Section */
.requests-section {
    margin-bottom: 30px;
}

.requests-section h3 {
    color: #1a73e8;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.requests-list {
    min-height: 200px;
    border: 2px dashed #e1e5e9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.no-requests {
    text-align: center;
    color: #666;
}

.no-requests-icon {
    font-size: 3em;
    margin-bottom: 10px;
    opacity: 0.5;
}

.no-requests p {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.no-requests small {
    font-size: 0.9em;
    opacity: 0.7;
}

.request-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #4285f4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: slideInUp 0.3s ease;
}

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

.request-time {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.request-route {
    margin-bottom: 15px;
}

.request-route p {
    margin: 5px 0;
    font-weight: 500;
}

.pickup-location {
    color: #2ecc71;
}

.destination-location {
    color: #e74c3c;
}

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

.accept-btn,
.reject-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background: #2ecc71;
    color: white;
}

.accept-btn:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

.reject-btn {
    background: #e74c3c;
    color: white;
}

.reject-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Current Ride Section */
.current-ride-section {
    margin-bottom: 30px;
}

.current-ride-section .location-info {
    background: rgba(255,255,255,0.2);
    margin-top: 15px;
    border: 1px solid rgba(255,255,255,0.3);
}

.current-ride-section h3 {
    color: #1a73e8;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.current-ride-card {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.ride-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-badge {
    background: rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.ride-details {
    margin-bottom: 20px;
}

.ride-details p {
    margin: 8px 0;
    font-size: 1.1em;
}

.complete-ride-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #ff6b35;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.complete-ride-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Driver Profile */
.driver-profile {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
}

.driver-profile h3 {
    color: #1a73e8;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.profile-info .form-group {
    margin-bottom: 20px;
}

.profile-info .form-group:last-child {
    margin-bottom: 0;
}

.update-profile-btn {
    background: #4285f4;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.update-profile-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Right-to-left support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-controls {
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: flex-start;
}

[dir="rtl"] .role-toggle {
    order: 2;
}

[dir="rtl"] .language-selector {
    order: 1;
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .form-row {
    direction: rtl;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] .form-group select,
[dir="rtl"] .form-group input {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .btn {
    direction: rtl;
}

[dir="rtl"] .driver-stats {
    direction: rtl;
}

[dir="rtl"] .stat-card {
    direction: rtl;
}

/* Driver Signup Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

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

.modal-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
    overflow: hidden;
    margin: 20px 0;
}

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

.modal-header {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.signup-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e1e5e9;
}

.signup-intro p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.benefits-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.benefit {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.signup-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 35px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e1e5e9;
}

.form-section h3 {
    color: #1a73e8;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-section .form-row:last-child {
    margin-bottom: 0;
}

.form-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-section .form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

.form-section .form-group input,
.form-section .form-group select {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.form-section .form-group input:focus,
.form-section .form-group select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    transform: translateY(-1px);
}

.commission-notice {
    margin-bottom: 25px;
}

.notice-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.notice-box strong {
    color: #e65100;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.notice-box p {
    color: #5d4037;
    margin: 10px 0;
    line-height: 1.6;
}

.notice-box ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.notice-box ul li {
    color: #5d4037;
    padding: 5px 0;
    font-size: 0.95em;
}

.agreement-section {
    background: white;
    padding: 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: rgba(66, 133, 244, 0.05);
    padding: 8px;
    border-radius: 8px;
    margin: -8px;
    margin-bottom: 7px;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #4285f4;
    border-color: #4285f4;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.terms-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 25px;
    border-top: 1px solid #e1e5e9;
    margin-top: 30px;
}

.btn-secondary,
.btn-primary {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    min-width: 200px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #ff7b45 0%, #f8a41e 100%);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success/Error Messages */
.message-container {
    padding: 20px;
    margin: 20px 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.success-message {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #e74c3c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-container {
        margin: 10px;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-header h2 {
        font-size: 1.5em;
    }
    
    .signup-form {
        padding: 25px 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-section .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefits-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
    
    .join-driver-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .signup-intro {
        padding: 20px 15px;
    }
    
    .signup-form {
        padding: 20px 15px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3em;
    }
}

/* About Modal Specific Styles */
.about-modal {
    max-width: 900px;
}

.about-content {
    padding: 0;
}

.about-content > div {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #4285f4;
}

.about-content h3 {
    color: #1a73e8;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-content p {
    color: #333;
    line-height: 1.6;
    font-size: 1em;
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.value-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #1a73e8;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.contact-details {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.contact-details p {
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-details p:last-child {
    border-bottom: none;
}

.contact-details strong {
    color: #1a73e8;
}

.family-note {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%) !important;
    border-left: 4px solid #ff6b35 !important;
}

.family-note em {
    font-size: 1.1em;
    color: #444;
    display: block;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.7;
}

.signature {
    color: #ff6b35;
    font-weight: bold;
    text-align: right;
    font-size: 1.1em;
    margin: 0;
}

.modal-actions {
    text-align: center;
    padding: 20px 30px;
    border-top: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.modal-actions .btn-primary {
    font-size: 1.1em;
    padding: 15px 40px;
}

/* Mobile responsiveness for About modal */
@media (max-width: 768px) {
    .about-modal {
        max-width: 95vw;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-content > div {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .about-content h3 {
        font-size: 1.2em;
    }
    
    .value-icon {
        font-size: 2em;
    }
    
    .about-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Blog Section Styles */
.blog-subtitle {
    margin-top: 10px;
}

.blog-subtitle span {
    color: #666;
    font-size: 1.1em;
    font-style: italic;
}

.blog-content {
    margin-top: 40px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

/* Blog Post Card Styles */
.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-post.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 300px;
}

.blog-post.featured-post .post-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blog-post.featured-post .post-title {
    color: white;
    font-size: 1.8em;
}

.blog-post.featured-post .post-excerpt {
    color: rgba(255,255,255,0.9);
}

.blog-post.featured-post .post-meta span {
    color: rgba(255,255,255,0.8);
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-post.featured-post .post-image {
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.2) 100%);
}

.image-placeholder {
    font-size: 4em;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.blog-post.featured-post .image-placeholder {
    font-size: 5em;
    color: rgba(255,255,255,0.9);
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
    align-items: center;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.blog-post.featured-post .post-category {
    background: rgba(255,255,255,0.2);
    color: white;
}

.post-title {
    color: #1a73e8;
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 1em;
    margin: 0;
}

.read-more-btn {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9em;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #5294f5 0%, #2a83e9 100%);
}

.blog-post.featured-post .read-more-btn {
    background: white;
    color: #4285f4;
}

.blog-post.featured-post .read-more-btn:hover {
    background: rgba(255,255,255,0.9);
    color: #1a73e8;
}

/* Mobile Responsive Blog */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-post.featured-post {
        grid-template-columns: 1fr;
        grid-template-rows: 250px auto;
    }
    
    .blog-post.featured-post .post-image {
        height: 250px;
    }
    
    .post-image {
        height: 180px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.3em;
    }
    
    .blog-post.featured-post .post-title {
        font-size: 1.5em;
    }
    
    .image-placeholder {
        font-size: 3em;
    }
    
    .blog-post.featured-post .image-placeholder {
        font-size: 4em;
    }
    
    .blog-btn,
    .shop-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-content {
        margin-top: 30px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-content {
        padding: 18px;
        gap: 12px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .read-more-btn {
        padding: 10px 20px;
        font-size: 0.85em;
    }
}

/* Blog Post Modal Styles */
.blog-post-modal {
    max-width: 900px;
    max-height: 90vh;
}

.post-full-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e3f2fd;
    font-size: 0.95em;
}

.post-full-meta .post-date {
    color: #666;
}

.post-full-meta .post-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.post-full-content {
    line-height: 1.7;
    font-size: 1.05em;
    color: #333;
}

.post-full-content h3 {
    color: #1a73e8;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    font-weight: bold;
}

.post-full-content p {
    margin: 15px 0;
}

.post-full-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.post-full-content li {
    margin: 8px 0;
}

.post-full-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #4285f4;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 8px;
}

.post-full-content blockquote p {
    margin: 0;
    color: #555;
}

.post-full-content strong {
    color: #1a73e8;
    font-weight: 600;
}

/* Shop Section Styles */

.shop-section .section-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.shop-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #7f8c8d;
    margin-top: 10px;
}

.shop-hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}

.shop-hero h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.shop-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #e67e22;
}

.category-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
}

.category-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1em;
}

.coming-soon {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.shop-newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.shop-newsletter h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
}

.shop-newsletter p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    outline: none;
    background: rgba(255,255,255,0.95);
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

/* Mobile Responsive Shop Styles */
@media (max-width: 768px) {
    .shop-hero {
        padding: 40px 20px;
        margin-bottom: 30px;
    }
    
    .shop-hero h2 {
        font-size: 2em;
    }
    
    .shop-hero p {
        font-size: 1.1em;
    }
    
    .shop-categories {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        font-size: 3em;
    }
    
    .shop-newsletter {
        padding: 40px 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 30px 15px;
        margin-bottom: 25px;
    }
    
    .shop-hero h2 {
        font-size: 1.6em;
    }
    
    .shop-hero p {
        font-size: 1em;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    .category-card h3 {
        font-size: 1.2em;
    }
    
    .shop-newsletter {
        padding: 30px 20px;
    }
    
    .shop-newsletter h3 {
        font-size: 1.6em;
    }
    
    .shop-newsletter p {
        font-size: 1em;
    }
}

/* Rating and Tipping Modal Styles */
.rating-modal {
    max-width: 500px;
}

.rating-content {
    padding: 30px;
}

.trip-info {
    text-align: center;
    margin-bottom: 25px;
}

.trip-route {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

/* Star Rating Section */
.star-rating-section {
    text-align: center;
    margin-bottom: 30px;
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.star {
    font-size: 3em;
    cursor: pointer;
    transition: all 0.2s ease;
    filter: grayscale(100%);
    opacity: 0.4;
}

.star:hover,
.star.active {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.star.active {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Compliment Section */
.compliment-section {
    margin-bottom: 30px;
}

.compliment-section h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.compliment-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.compliment-section textarea:focus {
    outline: none;
    border-color: #4285f4;
}

/* Tipping Section */
.tipping-section {
    margin-bottom: 30px;
}

.tipping-section h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.tip-subtitle {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
}

.tip-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.tip-btn {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tip-btn:hover {
    border-color: #4285f4;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.tip-btn.selected {
    border-color: #4285f4;
    background: #4285f4;
    color: white;
}

.custom-tip-btn {
    width: 100%;
    padding: 12px;
    border: 2px dashed #e1e5e9;
    background: transparent;
    border-radius: 12px;
    font-size: 1em;
    color: #4285f4;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom-tip-btn:hover {
    border-color: #4285f4;
    background: #f0f7ff;
}

.custom-tip-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #4285f4;
    border-radius: 12px;
    font-size: 1em;
    margin-top: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.custom-tip-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Submit Rating Button */
.submit-rating-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.2em;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive Design for Rating Modal */
@media (max-width: 768px) {
    .rating-modal {
        max-width: 95%;
    }
    
    .rating-content {
        padding: 20px;
    }
    
    .star {
        font-size: 2.5em;
    }
    
    .tip-buttons {
        flex-direction: column;
    }
    
    .tip-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .star {
        font-size: 2em;
        gap: 5px;
    }
    
    .stars-container {
        gap: 5px;
    }
    
    .tipping-section h3 {
        font-size: 1.1em;
    }
}

/* Subscription Button */
.subscription-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.subscription-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Subscription Modal */
.subscription-modal {
    max-width: 700px;
}

.subscription-content {
    padding: 20px;
}

.subscription-hero {
    text-align: center;
    margin-bottom: 30px;
}

.membership-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.membership-status.active {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.status-text {
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
}

.subscription-pricing {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    margin-bottom: 15px;
}

.price-badge {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    font-size: 3em;
    font-weight: 800;
    color: #333;
    margin: 10px 0;
}

.price-period {
    font-size: 1.1em;
    color: #666;
    margin: 0;
}

.then-price {
    color: #666;
    margin-top: 10px;
    font-size: 0.95em;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 30px;
}

.benefits-section h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.benefit-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.benefit-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.benefit-details h4 {
    font-size: 1.1em;
    color: #333;
    margin: 0 0 8px 0;
}

.benefit-details p {
    font-size: 0.95em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.subscription-terms {
    text-align: center;
    color: #666;
    margin-top: 20px;
}

/* Free Trial Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
    display: flex;
}

.popup-container {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideUp 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    color: #333;
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px 30px;
    text-align: center;
}

.popup-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.popup-content h2 {
    font-size: 2em;
    color: #333;
    margin: 0 0 10px 0;
}

.popup-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.popup-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.popup-benefit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
}

.popup-pricing {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.popup-pricing p {
    margin: 5px 0;
    color: #333;
}

.popup-pricing strong {
    font-size: 1.3em;
    color: #667eea;
}

.popup-cta {
    width: 100%;
    padding: 16px;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn-text {
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.95em;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: #333;
    text-decoration: underline;
}

/* Member Badge */
.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
}

.member-badge-icon {
    font-size: 1.2em;
}

/* Business Account Styles */
.manage-account-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.manage-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    margin-left: 15px;
}

.business-account-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.business-account-info p {
    margin: 5px 0;
    color: #333;
}

.business-modal {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
}

.account-selector {
    padding: 20px;
}

.accounts-list {
    margin: 20px 0;
    display: grid;
    gap: 15px;
}

.account-card {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.account-card:hover {
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.account-card.active {
    border-color: #4285f4;
    background: #e3f2fd;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e1e5e9;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #4285f4;
}

.tab-btn.active {
    color: #4285f4;
    border-bottom-color: #4285f4;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.account-info {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9em;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-card h4 {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #4285f4;
    margin: 0;
}

.policy-settings {
    max-width: 600px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.employees-list,
.expenses-list,
.invoices-list {
    margin-top: 20px;
}

.employee-card,
.expense-card,
.invoice-card {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.employee-card h4,
.expense-card h4,
.invoice-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.add-employee-form {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* ===================
   SAFETY TOOLKIT
   =================== */

/* Safety Cross Button on Map */
.safety-cross-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #dc3545;
    color: white;
    border: 3px solid white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-cross-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.6);
}

.safety-cross-btn:active {
    transform: scale(0.95);
}

/* Safety Toolkit Modal */
.safety-toolkit-modal {
    max-width: 600px;
}

.safety-toolkit-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.safety-option {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.safety-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.safety-icon {
    font-size: 48px;
    line-height: 1;
}

.safety-details {
    flex: 1;
}

.safety-details h3 {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 1.2em;
}

.safety-details p {
    margin: 0 0 15px 0;
    color: #718096;
    font-size: 0.95em;
}

.safety-details button {
    margin-top: 10px;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.emergency-numbers {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.emergency-numbers p {
    margin: 8px 0;
    color: #2d3748;
    font-size: 1em;
}

.shared-with-list {
    margin-top: 10px;
}

.shared-contact {
    background: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shared-contact-name {
    font-weight: 600;
    color: #2d3748;
}

.shared-contact-status {
    color: #38a169;
    font-size: 0.9em;
}

/* Report Modal */
.report-modal {
    max-width: 600px;
}

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

.report-form .form-group {
    display: flex;
    flex-direction: column;
}

.report-form label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.report-form select,
.report-form textarea,
.report-form input {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.report-form select:focus,
.report-form textarea:focus,
.report-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.alert-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    color: #856404;
}

.alert-box p {
    margin: 5px 0;
}

.submit-report-btn {
    width: 100%;
}

/* Tourist Packages Section */
.tourist-packages-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.tourist-packages-section h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.section-description {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.package-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.package-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.package-card h4 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.package-card p {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 20px;
    min-height: 45px;
}

.package-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 15px;
}

.package-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.package-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

/* Referral Dashboard */
.referral-dashboard {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 15px;
}

.referral-dashboard h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.referral-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
}

.referral-info p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05em;
}

.referral-code-display {
    margin-bottom: 30px;
}

.referral-code-display label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.code-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px dashed #667eea;
}

.code-box span {
    flex: 1;
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    letter-spacing: 2px;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.share-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.share-btn:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    transform: scale(1.02);
}

/* Referral Input Section */
.referral-section {
    margin: 20px 0;
    padding: 20px;
    background: #fff9e6;
    border-radius: 10px;
    border: 2px solid #ffc107;
}

.referral-input-section {
    margin-top: 15px;
}

.referral-benefit {
    margin-top: 8px;
    color: #ff6b35;
    font-weight: 600;
}

/* My Bookings Section */
.my-bookings-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
}

.my-bookings-section h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.booking-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #11998e;
    color: white;
}

.bookings-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
}

.no-bookings {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 1.1em;
}

.booking-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-card.advance {
    border-left-color: #ff6b35;
}

.booking-card.tour {
    border-left-color: #11998e;
}

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

.booking-id {
    font-weight: bold;
    color: #667eea;
    font-size: 1.05em;
}

.booking-type {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.booking-type.advance {
    background: #ff6b35;
}

.booking-type.tour {
    background: #11998e;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.booking-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95em;
}

.booking-detail strong {
    color: #333;
}

.booking-schedule {
    background: #fff9e6;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #ffc107;
}

.booking-actions {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.share-sms-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.share-sms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.booking-schedule strong {
    color: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
    .safety-option {
        flex-direction: column;
        text-align: center;
    }
    
    .safety-icon {
        font-size: 36px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
    }
    
    .booking-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .booking-details {
        grid-template-columns: 1fr;
    }
}
    .subscription-modal {
        max-width: 95%;
    }
    
    .popup-benefits {
        grid-template-columns: 1fr;
    }
    
    .price {
        font-size: 2.5em;
    }
    
    .business-modal {
        max-width: 95%;
    }
    
    .dashboard-tabs {
        overflow-x: auto;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .manage-account-btn,
    .priority-badge {
        margin: 10px 0 0 0;
        width: 100%;
        text-align: center;
    }
    
    .ride-type-toggle {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ==================== ACCORDION STYLES ==================== */
.accordion-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.accordion-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.accordion-header {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #5294ff 0%, #2a83f8 100%);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 20px;
    background: white;
}

.enhanced-options-container,
.support-features-container {
    margin: 25px 0;
}

/* Section dividers */
.quick-booking-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Button styles for accordion content */
.package-btn,
.placeholder-btn,
.membership-btn,
.referral-btn,
.business-manage-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.package-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.package-btn:hover {
    background: linear-gradient(135deg, #20c991 0%, #15a679 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.membership-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.membership-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #ea8906 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.referral-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.referral-btn:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.business-manage-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.business-manage-btn:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.placeholder-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    color: #6b7280;
}

.placeholder-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

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

.chat-modal .modal-container {
    max-width: 500px;
    width: 95%;
    max-height: 600px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 450px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    animation: slideIn 0.3s ease;
}

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

.chat-message.sent {
    flex-direction: row-reverse;
}

.chat-message-bubble {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 15px;
    word-wrap: break-word;
}

.chat-message.received .chat-message-bubble {
    background: #e5e7eb;
    color: #1f2937;
    border-bottom-left-radius: 5px;
}

.chat-message.sent .chat-message-bubble {
    background: #4285f4;
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-message-sender {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
    opacity: 0.8;
}

.chat-message-text {
    font-size: 14px;
    line-height: 1.4;
}

.chat-message-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 3px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatMessageInput {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#chatMessageInput:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.chat-send-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.chat-send-btn:hover {
    background: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-info {
    margin-top: 10px;
    padding: 10px;
    background: #fef3c7;
    border-radius: 8px;
    text-align: center;
}

.chat-info p {
    margin: 0;
    font-size: 12px;
    color: #92400e;
}

/* Chat Floating Action Button */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.6);
}

.chat-fab:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

/* Chat empty state */
.chat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9ca3af;
    text-align: center;
    padding: 20px;
}

.chat-empty-state-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.chat-empty-state-text {
    font-size: 14px;
}

/* RTL support for chat */
[dir="rtl"] .chat-message.sent {
    flex-direction: row;
}

[dir="rtl"] .chat-message.received {
    flex-direction: row-reverse;
}

[dir="rtl"] .chat-message.received .chat-message-bubble {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 5px;
}

[dir="rtl"] .chat-message.sent .chat-message-bubble {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 15px;
}

[dir="rtl"] .chat-fab {
    left: 30px;
    right: auto;
}

[dir="rtl"] .chat-badge {
    left: -5px;
    right: auto;
}

/* Responsive chat */
@media (max-width: 768px) {
    .chat-modal .modal-container {
        max-width: 100%;
        max-height: 90vh;
    }
    
    .chat-container {
        height: 400px;
    }
    
    .chat-fab {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-size: 14px;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px;
        left: 15px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ==================== ADMIN DASHBOARD STYLES ==================== */
.admin-section {
    display: none;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 20px;
}

.admin-section.active-section {
    display: block;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
}

.admin-stat-card.revenue {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.admin-stat-card.payouts {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.admin-stat-card.profit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.admin-stat-card.bookings {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.admin-stat-card .stat-icon {
    font-size: 3em;
    opacity: 0.9;
}

.admin-stat-card .stat-content {
    flex: 1;
}

.admin-stat-card .stat-value {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.admin-stat-card .stat-label {
    font-size: 0.95em;
    opacity: 0.9;
}

/* Financial Breakdown */
.financial-breakdown {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #FFD700;
}

.financial-breakdown h3 {
    margin-bottom: 20px;
    color: #333;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.breakdown-item.total {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    font-size: 1.1em;
}

.breakdown-label {
    color: #666;
}

.breakdown-item.total .breakdown-label {
    color: white;
}

.breakdown-value {
    font-weight: bold;
    color: #333;
}

.breakdown-value.pending {
    color: #f5576c;
}

.breakdown-item.total .breakdown-value {
    color: white;
}

/* Admin Bookings Section */
.admin-bookings-section {
    margin-bottom: 30px;
}

.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.bookings-header h3 {
    color: #333;
}

.bookings-search input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    width: 300px;
    font-size: 0.95em;
}

.bookings-search input:focus {
    outline: none;
    border-color: #667eea;
}

.admin-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-bookings-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-bookings-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admin-bookings-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95em;
}

.admin-bookings-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
}

.admin-bookings-table tbody tr:hover {
    background: #f5f5f5;
}

.admin-bookings-table tbody tr.no-data {
    background: white;
}

.admin-bookings-table tbody tr.no-data:hover {
    background: white;
}

.no-bookings-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.no-data-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.booking-status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
}

.booking-status-badge.completed {
    background: #d4edda;
    color: #155724;
}

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

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

/* Payment Methods Stats */
.payment-methods-stats {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.payment-methods-stats h3 {
    margin-bottom: 20px;
    color: #333;
}

.payment-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.payment-stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.payment-stat-card:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.payment-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.payment-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #11998e;
    margin-bottom: 5px;
}

.payment-count {
    font-size: 0.85em;
    color: #999;
}

/* Admin Date Filter */
.date-filter-select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.date-filter-select:hover {
    border-color: #667eea;
}

/* Responsive Admin Dashboard */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .bookings-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bookings-search input {
        width: 100%;
    }
    
    .admin-table-container {
        font-size: 0.85em;
    }
    
    .payment-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== ADMIN LOGIN STYLES ==================== */

.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.admin-login-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.admin-login-box h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.admin-login-box > p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.admin-login-form {
    margin-bottom: 2rem;
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.admin-login-form label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.admin-login-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.admin-login-form input:focus {
    outline: none;
    border-color: #FFA500;
}

.admin-login-form button {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.login-error {
    background: #ffe6e6;
    color: #d63031;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.login-info p {
    margin: 0.5rem 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.login-info strong {
    color: #FFA500;
}

@media (max-width: 768px) {
    .admin-login-box {
        padding: 2rem;
    }
    
    .admin-login-box h2 {
        font-size: 1.5rem;
    }
}


/* ==================== ADMIN DRIVER APPLICATIONS STYLES ==================== */

.admin-drivers-section {
    margin-top: 3rem;
}

.drivers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.drivers-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

.drivers-search input {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    width: 300px;
    transition: border-color 0.3s;
}

.drivers-search input:focus {
    outline: none;
    border-color: #FFA500;
}

.admin-drivers-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-drivers-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
}

.admin-drivers-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.pending {
    background: #FFF4E6;
    color: #FFA500;
}

.status-badge.approved {
    background: #E8F5E9;
    color: #4CAF50;
}

.status-badge.rejected {
    background: #FFEBEE;
    color: #F44336;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.approve-btn {
    background: #4CAF50;
    color: white;
}

.approve-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.reject-btn {
    background: #F44336;
    color: white;
}

.reject-btn:hover {
    background: #e53935;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .drivers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .drivers-search input {
        width: 100%;
    }
    
    .action-btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* ===============================
   NEW FEATURES STYLING
   =============================== */

/* Saved Locations */
.saved-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.saved-location-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.saved-location-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.location-icon {
    font-size: 2em;
}

.location-label {
    font-weight: bold;
    font-size: 1.1em;
}

.location-value {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Ride Packages */
.ride-packages-section .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.package-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
}

.package-card.popular {
    border-color: #ff9800;
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.3);
}

.package-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ff9800;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.package-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.package-price {
    font-size: 2em;
    font-weight: bold;
    color: #2196f3;
    margin: 15px 0;
}

.package-savings {
    background: #4caf50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
}

.package-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.package-balance {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    color: #1976d2;
}

/* Delivery Service */
.delivery-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.delivery-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.delivery-card:hover {
    transform: translateY(-5px);
    border-color: #4caf50;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.delivery-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.delivery-price {
    color: #4caf50;
    font-weight: bold;
    margin-top: 10px;
}

/* Enhanced Rating System */
.rating-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.rating-category {
    padding: 15px;
    background: #f5f7fa;
    border-radius: 10px;
}

.rating-category h4 {
    margin-bottom: 10px;
}

.star-rating {
    display: flex;
    gap: 10px;
    font-size: 1.5em;
}

.star-rating .star {
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.3;
}

.star-rating .star:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Corporate Benefits */
.corporate-benefits {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.benefit {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.benefit:last-child {
    border-bottom: none;
}

/* Favorite Drivers */
.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.favorite-driver-card {
    background: #f5f7fa;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favorite-driver-card button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.no-favorites {
    text-align: center;
    color: #666;
    padding: 30px;
}

/* Language Selector */
.language-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    border-color: #4285f4;
    background: #e3f2fd;
}

.language-btn.active {
    border-color: #4285f4;
    background: #e3f2fd;
}

.flag {
    font-size: 2em;
}

.lang-name {
    font-weight: bold;
}

.language-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

/* Driver Analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.analytics-card h4 {
    margin-bottom: 15px;
    color: #1976d2;
}

.analytics-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.analytics-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: #333;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* Driver Training */
.training-modules {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.training-module {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.training-module:hover:not(.locked) {
    border-color: #4285f4;
    transform: translateX(5px);
}

.training-module.completed {
    background: #e8f5e9;
    border-color: #4caf50;
}

.training-module.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.module-icon {
    font-size: 2em;
}

.module-info {
    flex: 1;
}

.module-info h4 {
    margin-bottom: 5px;
}

.module-info p {
    color: #666;
    font-size: 0.9em;
}

.module-status {
    font-weight: bold;
    color: #4285f4;
}

.training-module.completed .module-status {
    color: #4caf50;
}

.certification-status {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* System Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.setting-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    gap: 20px;
}

.setting-info h4 {
    margin-bottom: 8px;
    color: #333;
}

.setting-info p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

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

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

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #4caf50;
}

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

/* Subscription Form Styles */
.subscription-form {
    margin-top: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #4285f4;
}

.subscription-form .form-group {
    margin-bottom: 20px;
}

.subscription-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.subscription-form input,
.subscription-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.subscription-form input:focus,
.subscription-form select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.subscription-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid #1a73e8;
}

.subscription-info-box p {
    margin: 8px 0;
    color: #1565c0;
    font-size: 0.95em;
    line-height: 1.6;
}

.subscription-info-box strong {
    color: #0d47a1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .saved-locations-grid,
    .packages-grid,
    .delivery-types,
    .analytics-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .language-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .setting-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .subscription-form {
        padding: 20px;
    }
}

/* Install Guide Modal Styles */
.install-guide-btn {
    background: linear-gradient(135deg, #FF6B9D 0%, #C06C84 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 108, 132, 0.3);
}

.install-guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 108, 132, 0.4);
}

.install-guide-modal .modal-container {
    max-width: 800px;
}

.install-guide-content {
    padding: 10px 0;
}

.guide-intro {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.guide-intro p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #0D47A1;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 8px 0;
    font-size: 1em;
    color: #1565C0;
    font-weight: 500;
}

.device-guide {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #E3F2FD;
}

.device-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E3F2FD;
}

.device-icon {
    font-size: 2.5em;
}

.device-header h3 {
    color: #1565C0;
    margin: 0;
    font-size: 1.4em;
}

.install-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 20px 0;
}

.install-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 15px 15px 15px 60px;
    margin-bottom: 12px;
    background: #F5F5F5;
    border-radius: 10px;
    font-size: 1em;
    line-height: 1.6;
}

.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.install-steps li strong {
    color: #1565C0;
}

.install-steps code {
    background: #FFE082;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #E65100;
}

.share-icon, .add-icon, .install-icon-desk {
    display: inline-block;
    background: #FFE082;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: bold;
    color: #E65100;
    margin: 0 3px;
}

.guide-tip {
    background: #FFF9C4;
    border-left: 4px solid #FBC02D;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 0.95em;
    line-height: 1.6;
}

.guide-tip strong {
    color: #F57F17;
}

.help-section {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.help-section h3 {
    color: #2E7D32;
    margin-bottom: 15px;
}

.help-section p {
    color: #1B5E20;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.whatsapp-help-btn,
.email-help-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.whatsapp-help-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.email-help-btn {
    background: linear-gradient(135deg, #0078D4 0%, #005A9E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.email-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
}

@media (max-width: 768px) {
    .install-steps li {
        padding: 12px 12px 12px 50px;
        font-size: 0.95em;
    }
    
    .install-steps li::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
        left: 10px;
    }
    
    .device-header h3 {
        font-size: 1.2em;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .whatsapp-help-btn,
    .email-help-btn {
        min-width: 100%;
    }
}

/* Payment Confirmation Modal Styles */
.payment-modal .modal-body {
    padding: 0;
}

.payment-info-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 25px;
    border-radius: 12px 12px 0 0;
    margin: 0;
}

.payment-info-box h3 {
    margin: 0 0 20px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.payment-details {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.payment-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-detail-row:last-child {
    border-bottom: none;
}

.payment-detail-row .label {
    font-size: 0.95em;
    opacity: 0.9;
}

.payment-detail-row .value {
    font-size: 1.1em;
    text-align: right;
}

.payment-detail-row .value.amount {
    font-size: 1.5em;
    color: #fbbf24;
}

.payment-methods-box {
    padding: 25px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.payment-methods-box h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 1.1em;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.payment-method-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 0.9em;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method-item:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.payment-instructions {
    padding: 25px;
    background: white;
}

.payment-instructions h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 1.1em;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.payment-instructions ol li {
    padding: 10px 0;
    line-height: 1.6;
    color: #475569;
}

.payment-instructions strong {
    color: #10b981;
}

.payment-modal .form-group {
    padding: 0 25px;
    margin-bottom: 20px;
}

.payment-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
}

.payment-modal .form-group input,
.payment-modal .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.payment-modal .form-group input:focus,
.payment-modal .form-group select:focus {
    outline: none;
    border-color: #10b981;
}

.payment-modal .form-group small {
    display: block;
    margin-top: 8px;
    font-size: 0.85em;
}

.payment-note {
    padding: 15px 25px;
    margin: 20px 25px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
}

.payment-note p {
    margin: 0;
    color: #78350f;
    font-size: 0.95em;
}

.payment-modal .modal-actions {
    padding: 20px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.payment-modal .modal-actions button {
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-modal .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.payment-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.payment-modal .btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.payment-modal .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .payment-detail-row .value {
        text-align: left;
    }
    
    .payment-modal .modal-actions {
        flex-direction: column-reverse;
    }
    
    .payment-modal .modal-actions button {
        width: 100%;
    }
}


/* Driver Contact Section Styles */
.driver-contact-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #3b82f6;
}

.driver-contact-section h4 {
    color: #1e40af;
    margin-bottom: 16px;
    font-size: 1.3em;
    text-align: center;
}

.driver-info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.driver-details {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.driver-icon {
    font-size: 3em;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.driver-text {
    flex: 1;
}

.driver-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 4px;
}

.driver-vehicle {
    color: #64748b;
    font-size: 0.95em;
}

.driver-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.driver-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.call-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-icon {
    font-size: 1.3em;
}

.driver-phone-display {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 12px;
}

.driver-phone-display p {
    margin: 0;
    font-size: 1.1em;
    color: #334155;
}

.driver-phone-display strong {
    color: #1e40af;
    font-size: 1.15em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .driver-contact-section {
        padding: 16px;
    }
    
    .driver-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5em;
    }
    
    .driver-name {
        font-size: 1.1em;
    }
    
    .driver-actions {
        flex-direction: column;
    }
    
    .driver-action-btn {
        width: 100%;
    }
}
