:root {
            --primary-color: #0fb285;
            --secondary-color: #5e5e5e;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --warning-color: #ffc107;
            --info-color: #17a2b8;
            --dark-color: #2c3e50;
            --light-color: #f8f9fa;
            --border-color: #dee2e6;
        }
        
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; line-height: 1.6; color: #333; background: #f5f7fa; }
        .container { max-width: 1200px; margin: 0 auto; padding: 20px; }
        .booking-layout { display: grid; grid-template-columns: 1fr 400px; gap: 30px; }
        @media (max-width: 1024px) { .booking-layout { grid-template-columns: 1fr; } }
        
        /* Form Styles */
        .booking-form { background: white; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 30px; }
        .form-header { margin-bottom: 30px; text-align: center; }
        .form-title { font-size: 28px; color: var(--dark-color); margin-bottom: 10px; }
        .form-subtitle { color: #666; font-size: 16px; }
        
        /* Direction Cards */
        .direction-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
        .direction-card { position: relative; border: 2px solid var(--border-color); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.3s; text-align: center; }
        .direction-card:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 15%, transparent); }
        .direction-card.selected { border-color: var(--primary-color); background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, white) 0%, #fff 100%); }
        .direction-card-icon { font-size: 32px; color: var(--primary-color); margin-bottom: 10px; }
        .direction-card-title { font-weight: 600; font-size: 18px; margin-bottom: 5px; }
        .direction-card-subtitle { font-size: 14px; color: #666; }
        .selected-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; background: var(--success-color); border-radius: 50%; color: white; display: none; align-items: center; justify-content: center; font-size: 12px; }
        .direction-card.selected .selected-check { display: flex; }
        
        /* Form Sections */
        .form-section { margin-bottom: 30px; }
        .section-title { font-size: 18px; font-weight: 600; color: var(--dark-color); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .section-title i { color: var(--primary-color); }
        
        /* Form Grid */
        .form-grid { display: grid; gap: 20px; }
        .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
        .form-grid-3 { grid-template-columns: repeat(3, 1fr); }
        @media (max-width: 768px) { .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; } }
        
        /* Form Elements */
        .form-group { display: flex; flex-direction: column; }
        .form-label { font-weight: 500; margin-bottom: 8px; color: var(--dark-color); font-size: 14px; }
        .form-label.required::after { content: '*'; color: var(--danger-color); margin-left: 4px; }
        .form-input, .form-select { padding: 12px 16px; border: 2px solid var(--border-color); border-radius: 8px; font-size: 15px; transition: all 0.3s; width: 100%; }
        .form-input:focus, .form-select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent); }
        .form-input.error { border-color: var(--danger-color); }
        textarea.form-input { resize: vertical; min-height: 100px; font-family: inherit; }
        
        /* Toggle Group */
        .toggle-group { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--light-color); border-radius: 12px; cursor: pointer; transition: all 0.3s; margin-bottom: 15px; }
        .toggle-group:hover { background: #e9ecef; }
        .toggle-group.active { background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, white) 0%, #f8f9fa 100%); border: 2px solid var(--primary-color); }
        .toggle-info { display: flex; align-items: center; gap: 15px; }
        .toggle-icon { width: 48px; height: 48px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary-color); }
        .toggle-text strong { display: block; margin-bottom: 4px; }
        .toggle-text span { font-size: 14px; color: #666; }
        .toggle-switch { width: 60px; height: 32px; background: #ccc; border-radius: 16px; position: relative; transition: all 0.3s; }
        .toggle-switch::after { content: ''; position: absolute; width: 26px; height: 26px; background: white; border-radius: 50%; top: 3px; left: 3px; transition: all 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        .toggle-group.active .toggle-switch { background: var(--success-color); }
        .toggle-group.active .toggle-switch::after { left: 31px; }
        
        /* Additional Address */
        .additional-address { background: var(--light-color); padding: 20px; border-radius: 8px; margin-bottom: 15px; }
        .additional-address-title { font-weight: 600; margin-bottom: 15px; color: var(--primary-color); }
        
        /* Price Summary */
        .price-summary { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: white; border-radius: 12px; padding: 25px; margin-bottom: 20px; }
        .price-header { cursor: pointer; }
        .price-title { font-size: 16px; font-weight: 500; margin-bottom: 8px; opacity: 0.9; }
        .price-amount { font-size: 36px; font-weight: 700; }
        .price-details { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.3); }
        .price-item { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
        .price-item-label { opacity: 0.9; }
        .price-item-value { font-weight: 600; }
        .route-info { display: flex; align-items: center; gap: 10px; margin-top: 15px; font-size: 14px; opacity: 0.9; }
        
        /* Submit Section */
        .submit-section { text-align: center; }
        .submit-text { font-size: 13px; color: #666; margin-bottom: 20px; }
        .submit-text a { color: var(--primary-color); text-decoration: none; }
        .submit-button { background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%); color: white; border: none; padding: 16px 48px; font-size: 18px; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(40,167,69,0.3); }
        .submit-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(40,167,69,0.4); }
        .submit-button:disabled { opacity: 0.6; cursor: not-allowed; }
        
        /* Info Section */
        .info-section { background: white; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 30px; }
        .section-header { margin-bottom: 30px; }
        .section-header h2 { font-size: 24px; color: var(--dark-color); margin-bottom: 10px; }
        .section-header p { color: #666; }
        .info-item { padding: 20px; background: var(--light-color); border-radius: 8px; margin-bottom: 15px; }
        .info-item h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
        .info-item.success { background: #d4edda; border-left: 4px solid var(--success-color); }
        .info-item.warning { background: #fff3cd; border-left: 4px solid var(--warning-color); }
        .info-item.danger { background: #f8d7da; border-left: 4px solid var(--danger-color); }
        .highlight { font-weight: 600; color: var(--primary-color); }
        
        /* Modal */
        .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 10000; }
        .modal-overlay.active { display: flex; }
        .modal-content { background: white; border-radius: 12px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
        .modal-header { padding: 25px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 15px; color: #333; }
        .modal-header.success { background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%); color: white; border: none; }
        .modal-header.error { background: linear-gradient(135deg, var(--danger-color) 0%, #c82333 100%); color: white; border: none; }
        .modal-header.warning { background: linear-gradient(135deg, var(--warning-color) 0%, #e0a800 100%); color: var(--dark-color); border: none; }
        .modal-header.warning .modal-close { color: var(--dark-color); }
        .modal-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
        .modal-title { font-size: 20px; font-weight: 600; flex: 1; }
        .modal-close { background: rgba(255,255,255,0.2); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; color: white; }
        .modal-body { padding: 25px; }
        .modal-message { font-size: 16px; line-height: 1.6; color: #333; }
        .modal-footer { padding: 20px 25px; border-top: 1px solid var(--border-color); text-align: right; }
        .modal-btn { padding: 10px 24px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .modal-btn-primary { background: var(--primary-color); color: white; }
        .modal-btn-primary:hover { background: color-mix(in srgb, var(--primary-color) 80%, black); }
        
        /* Utility Classes */
        .d-none { display: none !important; }
        .mt-3 { margin-top: 20px; }
        
        /* Error Message */
        .input-error-message { color: var(--danger-color); font-size: 13px; margin-top: 5px; padding: 8px 12px; background: #f8d7da; border-radius: 6px; display: flex; align-items: center; gap: 8px; animation: slideDown 0.3s; }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
        .shake { animation: shake 0.5s; }
        
        /* Autocomplete */
        .ui-autocomplete { position: absolute !important; z-index: 10000 !important; background: white !important; border: 1px solid var(--border-color) !important; border-radius: 8px !important; max-height: 200px !important; overflow-y: auto !important; list-style: none !important; padding: 5px 0 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }
        .ui-menu-item { padding: 10px 16px !important; cursor: pointer !important; transition: all 0.2s !important; }
        .ui-menu-item:hover, .ui-state-active { background: var(--light-color) !important; color: var(--dark-color) !important; }

/* WordPress overrides */
.taxi-booking-wp-wrapper .booking-form-container { max-width: 100%; }
.taxi-booking-wp-wrapper .container { max-width: 100%; padding: 0; }
.taxi-booking-wp-wrapper * { box-sizing: border-box; }
