/* Booking Page Styles */
.booking-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.booking-header {
    text-align: center;
    margin-bottom: 4rem;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.booking-title i {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.booking-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Booking Form */
.booking-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.location-group {
    margin-bottom: 2rem;
    position: relative;
}

.location-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.search-select-wrapper {
    position: relative;
    width: 100%;
}

.location-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
    transition: var(--transition);
    color: var(--text-primary);
}

.location-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.location-search-input:hover {
    border-color: var(--primary-color);
}

.location-search-input.selected {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

.location-select-hidden {
    display: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-item:hover {
    background: #f8f9fa;
}

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

.search-result-item.highlighted {
    background: var(--primary-color);
    color: white;
}

.search-result-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
}

.search-result-item.highlighted i {
    color: white;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* Swap Button */
.swap-locations-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.swap-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.swap-btn:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

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

/* Selected Route Display */
.selected-route {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 2px solid #28a745;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

.route-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.route-from,
.route-to {
    font-weight: 600;
    color: #155724;
    font-size: 1rem;
}

.route-arrow {
    color: #28a745;
    font-size: 1.1rem;
}

.clear-route-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.clear-route-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.calculate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #6c757d;
}

.btn-text {
    transition: var(--transition);
}



/* Price Display */
.price-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary-color);
    margin-bottom: 2rem;
    animation: slideIn 0.5s ease-out;
}

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

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.distance-info, .time-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.distance-info i, .time-info i {
    color: var(--primary-color);
    width: 16px;
}

.price-amount {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}



/* Book Taxi Button */
.book-taxi-btn {
    width: 100%;
    padding: 1.5rem;
    background: #25d366;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

.book-taxi-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Loading Modal */
.loading-modal {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.price-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f39c12 100%);
    color: white;
}

.no-price-modal-header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.modal-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.route-info {
    margin-bottom: 1.5rem;
}

.route-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.route-from, .route-to {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.route-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-info-modal {
    text-align: center;
}

.price-amount-large {
    margin-bottom: 1rem;
}

.price-value-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.currency-large {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.no-price-info {
    text-align: center;
}

.no-price-message {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.phone-display {
    margin: 1.5rem 0;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-success {
    background: #25d366;
    color: white;
}

.btn-success:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.book-taxi-modal-btn {
    background: #25d366;
    color: white;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}

.book-taxi-modal-btn:hover {
    background: #128c7e;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-error i {
    color: #dc3545;
}

.toast-success {
    border-left-color: #28a745;
}

.toast-success i {
    color: #28a745;
}

.toast-info {
    border-left-color: var(--primary-color);
}

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

/* Complaint Section */
.complaint-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e9ecef;
}

.complaint-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    transition: var(--transition);
}

.complaint-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.complaint-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.complaint-content {
    flex: 1;
    text-align: center;
}

.complaint-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.complaint-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.complaint-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.complaint-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #e0a800 0%, #d4ac0d 100%);
}

.complaint-phone i {
    font-size: 1.1rem;
}

/* Complaint Section Responsive */
@media (max-width: 768px) {
    .complaint-section {
        padding: 2rem 0;
    }

    .complaint-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .complaint-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .complaint-title {
        font-size: 1.3rem;
    }

    .complaint-phone {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .complaint-card {
        padding: 1rem;
        margin: 0 1rem;
    }

    .complaint-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .complaint-title {
        font-size: 1.2rem;
    }

    .complaint-subtitle {
        font-size: 0.9rem;
    }

    .complaint-phone {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-section {
        padding: 100px 0 60px;
    }
    
    .booking-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .booking-form-wrapper {
        padding: 2rem;
    }
    
    .price-info {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .booking-form-wrapper {
        padding: 1.5rem;
    }
    
    .booking-title {
        font-size: 1.8rem;
    }
    
    .booking-subtitle {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 1.8rem;
    }

    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
        padding: 1rem;
    }

    .modal-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .price-value-large {
        font-size: 2.5rem;
    }

    .route-display {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .route-arrow {
        transform: rotate(90deg);
    }

    /* Search and new elements mobile responsive */
    .search-results {
        max-height: 150px;
    }

    .search-result-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .swap-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .selected-route {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .route-preview {
        justify-content: center;
    }


} 