 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
        }

        body {
            min-height: 100vh;
            padding: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
            margin: 0;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
        }

        .booking-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.5s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .booking-header {
            color: white;
            padding: 25px;
            text-align: center;
        }

        .booking-header h1 {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .booking-header p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .trip-info {
            background: white;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 25px;
            border: 2px solid #e9ecef;
            transition: all 0.3s ease;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .trip-info:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
        }

        .trip-info-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .trip-info-item.full-width {
            grid-column: 1 / -1;
            border-top: 1px solid #f0f0f0;
            border-bottom: none;
            padding-top: 15px;
            padding-bottom: 0;
            justify-content: center;
            text-align: center;
        }

        .trip-info-item i {
            font-size: 1.3rem;
            color: var(--primary);
            width: 28px;
            text-align: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .trip-info-content {
            display: flex;
            flex-direction: column;
            gap: 3px;
            flex: 1;
        }

        .trip-info-content strong {
            color: var(--dark);
            font-weight: 600;
            font-size: 0.95rem;
            display: block;
        }

        .trip-info-content span {
            color: #888;
            font-size: 0.8rem;
            display: block;
        }

        .trip-info-content span.trip-info-label {
            color: #999;
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* Trip Type Selector - for city services this shows the service type */
        .service-type-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .service-type-badge {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        /* Step Indicator */
        .steps {
            display: flex;
            justify-content: space-between;
            padding: 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
        }

        .step {
            flex: 1;
            text-align: center;
            position: relative;
        }

        .step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 50%;
            width: 100%;
            height: 2px;
            background: #e9ecef;
            z-index: 0;
        }

        .step.active:not(:last-child)::after {
            background: var(--success);
        }

        .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e9ecef;
            color: var(--gray);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 5px;
            font-weight: bold;
            position: relative;
            z-index: 1;
        }

        .step.active .step-circle {
            background: var(--success);
            color: white;
        }

        .step.completed .step-circle {
            background: var(--success);
            color: white;
        }

        .step-label {
            font-size: 0.75rem;
            color: var(--gray);
            margin-top: 5px;
        }

        .step.active .step-label {
            color: var(--primary);
            font-weight: bold;
        }

        /* Form Content */
        .form-content {
            padding: 30px 20px;
        }

        .form-step {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .form-step.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: var(--dark);
            font-weight: 500;
            font-size: 0.9rem;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            font-size: 0.9rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
        }

        textarea {
            resize: none;
            min-height: 10px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        /* OTP Input */
        .otp-container {
            display: flex;
            gap: 8px;
            justify-content: space-between;
        }

        .otp-input {
            width: 100% !important;
            padding: 15px !important;
            text-align: center;
            font-size: 1.5rem;
            letter-spacing: 5px;
        }

        .otp-timer {
            text-align: center;
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: 10px;
        }

        .otp-timer.danger {
            color: var(--danger);
            font-weight: bold;
        }

        .resend-btn {
            background: none;
            border: none;
            color: var(--primary);
            cursor: pointer;
            font-size: 0.85rem;
            text-decoration: underline;
            padding: 5px 0;
        }

        .resend-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Buttons */
        .btn-group {
            display: flex;
            gap: 10px;
            margin-top: 30px;
        }

        button {
            flex: 1;
            padding: 14px;
            border: none;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-next {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
        }

        .btn-next:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
        }

        .btn-next:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-back {
            background: #e9ecef;
            color: var(--dark);
        }

        .btn-back:hover {
            background: #dee2e6;
        }

        /* Confirmation */
        .confirmation {
            text-align: center;
            padding: 40px 20px;
        }

        .confirmation-icon {
            font-size: 3rem;
            color: var(--success);
            margin-bottom: 20px;
            animation: scaleIn 0.5s ease;
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .confirmation h2 {
            color: var(--dark);
            margin-bottom: 10px;
        }

        .booking-number {
            background: #e8f5e9;
            color: var(--success);
            padding: 15px;
            border-radius: 8px;
            font-weight: bold;
            margin: 20px 0;
            font-size: 1.2rem;
            word-break: break-all;
        }

        .btn-home {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            margin-top: 20px;
        }

        /* Error Messages */
        .error-message {
            background: #ffebee;
            color: var(--danger);
            padding: 12px;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-bottom: 15px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        /* Payment Methods Styles */
        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }

        .payment-option {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .payment-option:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
        }

        .payment-option.selected {
            border-color: var(--primary);
            background: rgba(var(--primary-rgb), 0.02);
        }

        .featured-option {
            border: 2px solid var(--success);
            background: #f0f8f5;
            position: relative;
        }

        .payment-radio {
            cursor: pointer;
            accent-color: var(--primary);
            margin-right: 8px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .payment-option-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
        }

        .payment-option-title {
            align-items: flex-start;
            gap: 12px;
        }

        .payment-option-title > div {
            text-align: left;
            flex: 1;
        }

        .payment-title-text {
            font-weight: 700;
            color: var(--dark);
            font-size: 1rem;
            text-align: left;
            margin-bottom: 4px;
        }

        .payment-subtitle {
            color: #6c757d;
            font-size: 0.85rem;
            text-align: left;
            line-height: 1.4;
        }

        .recommended-badge {
            background: #e8f5e9;
            color: var(--success);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .payment-summary-card {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            backdrop-filter: blur(10px);
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
        }

        .summary-label {
            color: #6c757d;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .summary-amount {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
        }

        .summary-amount-highlight {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }

        .summary-divider {
            height: 1px;
            background: rgba(0, 0, 0, 0.08);
            margin: 10px 0;
        }

        .payment-alert {
            background: #fff8e1;
            border-left: 4px solid #ffc107;
            padding: 12px;
            border-radius: 4px;
            margin-top: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            color: #666;
        }

        .payment-alert i {
            color: #ffc107;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .online-payment-details {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 12px;
            border: 1px solid #e9ecef;
        }

        .payment-breakdown {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .breakdown-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background: white;
            border-radius: 6px;
            font-size: 0.9rem;
        }

        .breakdown-label {
            color: #6c757d;
            font-weight: 500;
        }

        .breakdown-amount {
            color: var(--primary);
            font-weight: 700;
        }

        .breakdown-amount-remain {
            color: #28a745;
            font-weight: 700;
        }

        /* Mobile Responsive */
        @media (max-width: 600px) {
            .container {
                max-width: 100%;
            }

            .booking-header h1 {
                font-size: 1.2rem;
            }

            .form-content {
                padding: 20px 15px;
            }

            .form-group {
                margin-bottom: 15px;
            }

            .form-row {
                grid-template-columns: 1fr 1fr;
            }

            .steps {
                padding: 15px;
            }

            .step-circle {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }

            .step-label {
                font-size: 0.7rem;
            }

            .trip-info {
                padding: 15px;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .trip-info-item {
                gap: 10px;
                padding-bottom: 12px;
            }

            .trip-info-item.full-width {
                padding-top: 12px;
            }

            .trip-info-item i {
                font-size: 1rem;
                width: 24px;
            }

            .trip-info-content strong {
                font-size: 0.85rem;
            }

            .trip-info-content span.trip-info-label {
                font-size: 0.65rem;
                letter-spacing: 0.3px;
            }

            .service-type-selector {
                flex-direction: column;
            }

            .service-type-badge {
                width: 100%;
            }
        }

        /* Error Modal */
        .error-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }

        .error-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .error-modal-content {
            background: white;
            padding: 30px;
            border-radius: 12px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .error-modal-icon {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 15px;
            color: var(--danger);
        }

        .error-modal-title {
            font-size: 1.3rem;
            font-weight: 700;
            text-align: center;
            color: var(--dark);
            margin-bottom: 12px;
        }

        .error-modal-message {
            font-size: 0.95rem;
            text-align: center;
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 25px;
        }

        /* Spinner Animations */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes bookingSpinner {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        }

        .error-modal-button {
            width: 100%;
            padding: 12px 20px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .error-modal-button:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
        }

        .error-modal-call-button {
            display: inline-block;
            padding: 12px 24px;
            background: #28a745;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }

        .error-modal-call-button:hover {
            background: #218838;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
        }

        /* Airport Transfer Type Styles */
        .airport-transfer-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 8px;
        }

        .airport-transfer-option {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 12px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: white;
            font-size: 0.9rem;
            font-weight: 500;
            color: #666;
        }

        .airport-transfer-option:hover {
            border-color: var(--primary);
            background-color: rgba(102, 126, 234, 0.05);
        }

        .airport-transfer-option input[type="radio"] {
            display: none;
        }

        .airport-transfer-option input[type="radio"]:checked + .option-content {
            color: var(--primary);
        }

        .airport-transfer-option.selected {
            border-color: var(--primary);
            background-color: rgba(102, 126, 234, 0.1);
        }

        .option-content {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .option-content i {
            font-size: 1.1rem;
        }

        .option-content strong {
            font-weight: 600;
        }

        #airportTransferTypeGroup label {
            cursor: pointer !important;
        }

        #airportTransferTypeGroup input[type="radio"] {
            cursor: pointer;
        }

        /* Policy Acceptance Styles */
        #acceptPolicies {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        #acceptPolicies:checked {
            accent-color: var(--primary) !important;
        }

        #policyError {
            animation: slideDown 0.3s ease;
        }


        #airportTransferTypeGroup span strong {
            display: inline;
            color: inherit;
            margin-bottom: 0;
        }

        /* Override global .form-group i positioning for city_booking.php */
        .form-group i {
            position: static;
            display: inline;
            margin-right: 8px;
            transform: none;
            left: auto;
            top: auto;
        }

        /* Ensure labels display correctly with inline icons */
        .form-group label i {
            vertical-align: middle;
        }