/* Taxi Quotation Client - Booking Form Styles */
/* Professional design with proper color contrast */

/* ===== MAIN BOOKING FORM ===== */
.tq-booking-form {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 550px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    color: #1e293b;
    overflow: hidden;
}

.tq-booking-form * {
    box-sizing: border-box;
}

.tq-booking-form h2 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ===== STEP 1 CLEAN WIDGET DESIGN ===== */
.tq-widget-header {
    background: linear-gradient(135deg, #4a5568 0%, #5a6a80 100%);
    padding: 20px 25px;
    text-align: center;
}

.tq-widget-header h2 {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tq-form-body {
    background: rgba(90, 106, 128, 0.95);
    padding: 20px;
}

/* Location input groups */
.tq-location-group {
    margin-bottom: 12px;
}

.tq-input-with-icon {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.tq-input-with-icon:focus-within {
    border-color: #ffd700;
}

.tq-input-icon {
    padding: 12px;
    font-size: 18px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.tq-input-with-icon input {
    flex: 1;
    border: none;
    padding: 14px 12px;
    font-size: 16px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
}

.tq-input-with-icon input::placeholder {
    color: #9ca3af;
}

/* Date/Time row with return button */
.tq-datetime-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.tq-datetime-left {
    flex: 1;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px 12px;
}

.tq-datetime-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tq-datetime-left .tq-input-with-icon {
    background: #ffffff;
    margin-bottom: 0;
}

.tq-datetime-left .tq-input-with-icon:first-of-type {
    margin-bottom: 8px;
}

.tq-datetime-left .tq-input-icon {
    background: transparent;
    min-width: 36px;
    padding: 8px;
    font-size: 14px;
}

.tq-datetime-left .tq-input-with-icon input {
    padding: 10px 8px;
    font-size: 14px;
}

.tq-date-input,
.tq-time-input {
    flex: 1;
}

/* Clickable date/time boxes */
.tq-clickable-box {
    cursor: pointer;
}

.tq-datetime-left {
    cursor: pointer;
}

/* Return button */
.tq-datetime-right {
    flex-shrink: 0;
}

.tq-return-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 40px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: block;
}

.tq-return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.tq-return-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tq-return-btn.active:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Return section (hidden by default) */
.tq-return-section {
    display: none;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px dashed #10b981;
}

.tq-return-section.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.tq-return-fields-inline {
    display: flex;
    gap: 10px;
}

.tq-return-fields-inline .tq-input-with-icon {
    flex: 1;
    background: #ffffff;
}

.tq-return-fields-inline .tq-input-icon {
    background: transparent;
    min-width: 36px;
    padding: 8px;
    font-size: 14px;
}

.tq-return-fields-inline input {
    padding: 10px 8px;
    font-size: 14px;
}

/* GET QUOTE button */
.tq-quote-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.tq-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.tq-quote-btn:active {
    transform: translateY(0);
}

/* Mobile responsive for step 1 */
@media (max-width: 500px) {
    .tq-datetime-row {
        flex-direction: column;
    }

    .tq-datetime-right {
        width: 100%;
    }

    .tq-return-btn {
        width: 100%;
        padding: 16px 24px;
    }

    .tq-return-fields-inline {
        flex-direction: column;
        gap: 8px;
    }
}

/* Form Layout */
.tq-booking-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.tq-booking-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.tq-booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #334155;
    font-size: 14px;
}

/* Form Inputs */
.tq-booking-form input[type="text"],
.tq-booking-form input[type="email"],
.tq-booking-form input[type="tel"],
.tq-booking-form input[type="date"],
.tq-booking-form input[type="time"],
.tq-booking-form select,
.tq-booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background-color: #ffffff;
    color: #1e293b;
}

.tq-booking-form input:focus,
.tq-booking-form select:focus,
.tq-booking-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tq-booking-form input::placeholder,
.tq-booking-form textarea::placeholder {
    color: #9ca3af;
}

/* Primary Button */
.tq-booking-form .btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tq-booking-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.tq-booking-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Button Row */
.tq-booking-form .tq-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Journey Toggle Buttons */
.tq-booking-form .journey-toggle {
    display: flex;
    gap: 10px;
}

.tq-booking-form .toggle-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.tq-booking-form .toggle-btn:hover {
    border-color: #3b82f6;
}

.tq-booking-form .toggle-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Payment Options */
.tq-booking-form .payment-options {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.tq-booking-form .payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    padding: 10px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.tq-booking-form .payment-option:hover {
    background: #f1f5f9;
}

.tq-booking-form .payment-option input[type="radio"] {
    width: auto;
}

/* ===== VEHICLES GRID ===== */
.tq-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0 0 15px 0;
}

.tq-vehicle {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid transparent;
    border-radius: 10px;
    padding: 18px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tq-vehicle:hover {
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tq-vehicle.selected {
    border-color: #ffd700;
    background: #fffbeb;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.tq-vehicle h4 {
    margin: 8px 0 5px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.tq-vehicle .price {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
}

.tq-vehicle .details {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

.tq-vehicle .vehicle-image {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.tq-vehicle .vehicle-image img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.tq-vehicle i {
    font-size: 32px;
    color: #3b82f6;
}

.tq-vehicle .vehicle-icon {
    margin-bottom: 8px;
}

.tq-vehicle .vehicle-icon i {
    font-size: 36px;
    color: #3b82f6;
}

.tq-vehicle .details span {
    display: inline-block;
    margin: 0 8px;
}

.tq-vehicle .details i {
    font-size: 12px;
    color: #64748b;
    margin-right: 3px;
}

.tq-vehicle .multiplier-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    background: #f59e0b;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Zone Pricing Notice */
.tq-zone-pricing-notice {
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    border: 1px solid #93c5fd;
    color: #1e40af;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tq-zone-pricing-notice i {
    font-size: 16px;
    color: #3b82f6;
}

.tq-zone-pricing-notice strong {
    color: #1e40af;
}

/* Legacy Return Fields (for backwards compatibility) */
.tq-booking-form .return-fields {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.tq-booking-form .return-fields.show {
    display: block;
}

/* Journey toggle buttons (legacy) - hide in step 1 if using new design */
#tq-step-1 .journey-toggle {
    display: none;
}

/* ===== BOOKING SUMMARY ===== */
.tq-booking-summary {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: #e2e8f0;
}

.tq-booking-summary h4 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 15px;
    border-bottom: 1px solid #475569;
    padding-bottom: 8px;
}

.tq-booking-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #334155;
    font-size: 14px;
}

.tq-booking-summary .summary-row:last-child {
    border-bottom: none;
}

.tq-booking-summary .summary-row span {
    color: #94a3b8;
}

.tq-booking-summary .summary-row strong {
    color: #ffffff;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.tq-booking-summary .summary-row.total {
    background: #059669;
    color: #ffffff;
    margin: 12px -15px -15px;
    padding: 12px 15px;
    border-radius: 0 0 8px 8px;
}

.tq-booking-summary .summary-row.total span,
.tq-booking-summary .summary-row.total strong {
    color: #ffffff;
    font-size: 16px;
}

/* ===== STEP CONTENT ===== */
.tq-step-content {
    background: transparent;
    color: #1e293b;
}

/* Widget-style body for all steps */
.tq-step-body {
    padding: 20px;
}

/* Form card wrapper for step 3 */
.tq-form-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

/* Styled inputs for step 3 (widget-style) */
.tq-styled-input {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s;
}

.tq-styled-input:focus-within {
    border-color: #ffd700;
}

.tq-styled-input .tq-input-icon {
    padding: 10px 12px;
    font-size: 16px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.tq-styled-input input,
.tq-styled-input select {
    flex: 1;
    border: none !important;
    padding: 12px 10px !important;
    font-size: 16px;
    background: #ffffff !important;
    color: #1e293b;
    outline: none;
    box-shadow: none !important;
}

.tq-styled-input input::placeholder {
    color: #9ca3af;
}

.tq-styled-input select {
    cursor: pointer;
    appearance: auto;
}

/* Textarea wrapper */
.tq-textarea-wrap {
    align-items: flex-start;
}

.tq-textarea-wrap .tq-input-icon {
    padding-top: 12px;
}

.tq-textarea-wrap textarea {
    flex: 1;
    border: none !important;
    padding: 12px 10px !important;
    font-size: 16px;
    background: #ffffff !important;
    color: #1e293b;
    outline: none;
    resize: vertical;
    min-height: 60px;
    box-shadow: none !important;
}

/* Widget-style buttons */
.tq-btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tq-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
}

.tq-btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tq-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.4);
}

/* Labels in form card */
.tq-form-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tq-form-card .form-group {
    margin-bottom: 15px;
}

.tq-form-card .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

/* Payment options in widget style */
.tq-form-card .payment-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tq-form-card .payment-option {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.tq-form-card .payment-option:hover {
    border-color: #ffd700;
    background: #fffbeb;
}

.tq-form-card .payment-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.tq-form-card .payment-option input[type="radio"]:checked + span,
.tq-form-card .payment-option:has(input[type="radio"]:checked) {
    color: #1e293b;
}

/* Legacy support - redirect old styles */
#tq-step-2 h2,
#tq-step-3 h2 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ===== GOOGLE PLACES AUTOCOMPLETE ===== */
.pac-container {
    z-index: 10000 !important;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    margin-top: 3px;
}

.pac-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    background: #ffffff;
}

.pac-item:hover {
    background: #f8fafc;
}

.pac-item-query {
    font-weight: 600;
    color: #1e293b;
}

.pac-matched {
    font-weight: 700;
}

/* ===== MINI WIDGET STYLES (New Clean Design) ===== */
.tq-mini-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.tq-mini-widget * {
    box-sizing: border-box;
}

/* Header */
.tq-mini-header {
    background: linear-gradient(135deg, #4a5568 0%, #5a6a80 100%);
    padding: 16px 20px;
    text-align: center;
}

.tq-mini-header h3 {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Body */
.tq-mini-body {
    background: rgba(90, 106, 128, 0.95);
    padding: 16px;
}

/* Location inputs */
.tq-mini-location {
    margin-bottom: 10px;
}

.tq-mini-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.tq-mini-input-wrap:focus-within {
    border-color: #ffd700;
}

.tq-mini-icon {
    padding: 10px;
    font-size: 16px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.tq-mini-input-wrap input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px 10px;
    font-size: 16px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    min-width: 0;
}

.tq-mini-input-wrap input::placeholder {
    color: #9ca3af;
}

/* Date/Time + Return row */
.tq-mini-datetime-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
}

.tq-mini-datetime-box {
    flex: 1;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px 10px;
}

.tq-mini-datetime-label {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tq-mini-datetime-fields {
    display: flex;
    gap: 6px;
}

.tq-mini-datetime-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tq-mini-datetime-field .tq-mini-icon {
    padding: 6px;
    font-size: 12px;
    min-width: 28px;
    background: transparent;
}

.tq-mini-datetime-field input {
    flex: 1;
    border: none;
    padding: 8px 4px;
    font-size: 13px;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    min-width: 0;
}

/* Return button */
.tq-mini-return-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tq-mini-return-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.tq-mini-return-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Return section */
.tq-mini-return-section {
    display: none;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px dashed #10b981;
}

.tq-mini-return-section.show {
    display: block;
    animation: miniSlideDown 0.3s ease;
}

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

.tq-mini-return-fields {
    display: flex;
    gap: 8px;
}

.tq-mini-return-fields .tq-mini-datetime-field {
    flex: 1;
}

/* Submit button */
.tq-mini-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tq-mini-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

/* Mobile responsive */
@media (max-width: 400px) {
    .tq-mini-datetime-row {
        flex-direction: column;
    }

    .tq-mini-return-btn {
        width: 100%;
        padding: 12px;
    }

    .tq-mini-return-fields {
        flex-direction: column;
    }
}

/* Legacy .tq-mini-form support - redirect to new styles */
.tq-mini-form {
    display: none;
}

/* ===== MESSAGE/ALERT STYLES ===== */
.tq-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.tq-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.tq-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ===== VEHICLE LAYOUT: LIST VIEW ===== */
.tq-vehicles.layout-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tq-vehicle-list {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-align: left;
}

.tq-vehicle-list .vehicle-list-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tq-vehicle-list .vehicle-list-image img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.tq-vehicle-list .vehicle-list-image .vehicle-icon {
    margin-bottom: 0;
}

.tq-vehicle-list .vehicle-list-image .vehicle-icon i {
    font-size: 32px;
}

.tq-vehicle-list .vehicle-list-info {
    flex: 1;
}

.tq-vehicle-list .vehicle-list-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.tq-vehicle-list .vehicle-list-info .details {
    margin-top: 0;
}

.tq-vehicle-list .vehicle-list-info .details span {
    margin: 0 12px 0 0;
}

.tq-vehicle-list .vehicle-list-price {
    text-align: right;
    flex-shrink: 0;
}

.tq-vehicle-list .vehicle-list-price .price {
    font-size: 24px;
    margin-bottom: 8px;
}

.tq-vehicle-list .select-vehicle-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.tq-vehicle-list .select-vehicle-btn:hover {
    background: #2563eb;
}

.tq-vehicle-list.selected .select-vehicle-btn {
    background: #059669;
}

/* ===== VEHICLE LAYOUT: HORIZONTAL CARDS ===== */
.tq-vehicles.layout-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tq-vehicle-card {
    display: flex;
    align-items: stretch;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.tq-vehicle-card .vehicle-card-left {
    width: 120px;
    flex-shrink: 0;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.tq-vehicle-card .vehicle-card-left .vehicle-image {
    height: 70px;
    margin-bottom: 0;
}

.tq-vehicle-card .vehicle-card-left .vehicle-image img {
    max-height: 70px;
}

.tq-vehicle-card .vehicle-card-left .vehicle-icon {
    margin-bottom: 0;
}

.tq-vehicle-card .vehicle-card-left .vehicle-icon i {
    font-size: 40px;
}

.tq-vehicle-card .vehicle-card-right {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tq-vehicle-card .vehicle-card-right h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.tq-vehicle-card .vehicle-card-right .details {
    margin-bottom: 8px;
}

.tq-vehicle-card .vehicle-card-right .details span {
    margin: 0 15px 0 0;
}

.tq-vehicle-card .vehicle-card-right .price {
    font-size: 26px;
}

.tq-vehicle-card.selected .vehicle-card-left {
    background: #dbeafe;
}

/* ===== VEHICLE LAYOUT: COMPACT ===== */
.tq-vehicles.layout-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tq-vehicle-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    min-width: 200px;
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
}

.tq-vehicle-compact .compact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.tq-vehicle-compact .compact-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tq-vehicle-compact .compact-icon i {
    font-size: 20px;
    color: #3b82f6;
}

.tq-vehicle-compact .compact-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.tq-vehicle-compact .compact-capacity {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.tq-vehicle-compact .compact-capacity i {
    font-size: 11px;
    margin-right: 2px;
    color: #94a3b8;
}

.tq-vehicle-compact .compact-price {
    font-size: 18px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
}

.tq-vehicle-compact.selected .compact-icon {
    background: #dbeafe;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .tq-booking-form {
        padding: 0;
        border-radius: 12px;
        max-width: 100%;
    }

    .tq-booking-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tq-booking-form .tq-btn-row {
        flex-direction: column;
    }

    .tq-booking-form .btn-primary {
        width: 100%;
        text-align: center;
    }

    .tq-vehicles {
        grid-template-columns: 1fr;
    }

    .tq-booking-form .payment-options {
        flex-direction: column;
        gap: 10px;
    }

    .tq-booking-form .payment-option {
        width: 100%;
    }

    /* List view mobile */
    .tq-vehicle-list {
        flex-wrap: wrap;
    }

    .tq-vehicle-list .vehicle-list-image {
        width: 60px;
        height: 50px;
    }

    .tq-vehicle-list .vehicle-list-info {
        flex: 1 1 calc(100% - 80px);
    }

    .tq-vehicle-list .vehicle-list-price {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
    }

    /* Cards view mobile */
    .tq-vehicle-card {
        flex-direction: column;
    }

    .tq-vehicle-card .vehicle-card-left {
        width: 100%;
        height: 80px;
    }

    /* Compact view mobile */
    .tq-vehicle-compact {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Steps 2, 3, 4 mobile padding */
    #tq-step-2,
    #tq-step-3,
    #tq-step-4 {
        padding: 18px;
    }
}

/* ===== MOBILE-SPECIFIC: HOME WIDGET STYLE FOR ALL STEPS ===== */
@media (max-width: 480px) {
    /* Make all steps look like widget on mobile */
    .tq-booking-form {
        max-width: 100%;
        margin: 0;
        border-radius: 12px;
    }

    /* Compact header on mobile */
    .tq-widget-header {
        padding: 15px 18px;
    }

    .tq-widget-header h2 {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    /* Compact form body on mobile */
    .tq-form-body {
        padding: 15px;
    }

    .tq-step-body {
        padding: 15px;
    }

    /* Form card mobile */
    .tq-form-card {
        padding: 15px;
        border-radius: 8px;
    }

    .tq-form-card .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tq-form-card .form-group {
        margin-bottom: 12px;
    }

    .tq-form-card label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .tq-styled-input .tq-input-icon {
        padding: 10px;
        min-width: 40px;
        font-size: 14px;
    }

    .tq-styled-input input,
    .tq-styled-input select {
        padding: 12px 10px !important;
        font-size: 16px;
    }

    .tq-textarea-wrap textarea {
        min-height: 50px;
    }

    /* Payment options mobile */
    .tq-form-card .payment-options {
        flex-direction: column;
        gap: 8px;
    }

    .tq-form-card .payment-option {
        min-width: 100%;
        padding: 12px 14px;
    }

    /* Widget buttons mobile */
    .tq-btn-primary,
    .tq-btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .tq-btn-row {
        flex-direction: column;
        gap: 8px;
    }

    /* Smaller location inputs on mobile */
    .tq-location-group {
        margin-bottom: 10px;
    }

    .tq-input-icon {
        padding: 10px;
        font-size: 16px;
        min-width: 42px;
    }

    .tq-input-with-icon input {
        padding: 12px 10px;
        font-size: 16px;
    }

    /* Mobile date/time layout - stacked like home widget */
    .tq-datetime-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .tq-datetime-left {
        padding: 10px 12px;
    }

    .tq-datetime-label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    /* Side-by-side date and time on mobile */
    .tq-datetime-left {
        display: flex;
        flex-direction: column;
    }

    .tq-datetime-left .tq-input-with-icon:first-of-type {
        margin-bottom: 6px;
    }

    /* Make date/time fields horizontal on mobile */
    .tq-datetime-left .tq-date-time-row-mobile {
        display: flex;
        gap: 6px;
    }

    .tq-datetime-left .tq-input-icon {
        min-width: 32px;
        padding: 8px;
        font-size: 14px;
    }

    .tq-datetime-left .tq-input-with-icon input {
        padding: 10px 6px;
        font-size: 14px;
    }

    /* Return button full width on mobile */
    .tq-datetime-right {
        width: 100%;
    }

    .tq-return-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }

    /* Return section mobile */
    .tq-return-section {
        padding: 10px;
        margin-bottom: 10px;
    }

    .tq-return-fields-inline {
        flex-direction: row;
        gap: 6px;
    }

    .tq-return-fields-inline .tq-input-icon {
        min-width: 32px;
        padding: 8px;
        font-size: 14px;
    }

    .tq-return-fields-inline input {
        padding: 10px 6px;
        font-size: 14px;
    }

    /* Quote button mobile */
    .tq-quote-btn {
        padding: 14px 20px;
        font-size: 16px;
        margin-top: 6px;
    }

    /* Step 2 - Vehicles compact on mobile */
    #tq-step-2 h2,
    #tq-step-3 h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    /* Mobile vehicle cards */
    .tq-vehicle {
        padding: 12px;
    }

    .tq-vehicle h4 {
        font-size: 14px;
    }

    .tq-vehicle .price {
        font-size: 20px;
    }

    .tq-vehicle .details {
        font-size: 11px;
    }

    .tq-vehicle .vehicle-image {
        height: 60px;
    }

    .tq-vehicle .vehicle-image img {
        max-height: 60px;
    }

    /* Booking summary mobile */
    .tq-booking-summary {
        padding: 12px;
        margin-top: 15px;
    }

    .tq-booking-summary h4 {
        font-size: 14px;
        padding-bottom: 6px;
        margin-bottom: 10px;
    }

    .tq-booking-summary .summary-row {
        padding: 5px 0;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .tq-booking-summary .summary-row strong {
        max-width: 55%;
        font-size: 13px;
    }

    .tq-booking-summary .summary-row.total {
        margin: 10px -12px -12px;
        padding: 10px 12px;
    }

    .tq-booking-summary .summary-row.total span,
    .tq-booking-summary .summary-row.total strong {
        font-size: 15px;
    }

    /* Step 3 - Form fields mobile */
    .tq-booking-form .form-group {
        margin-bottom: 12px;
    }

    .tq-booking-form label {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .tq-booking-form input[type="text"],
    .tq-booking-form input[type="email"],
    .tq-booking-form input[type="tel"],
    .tq-booking-form select,
    .tq-booking-form textarea {
        padding: 10px;
        font-size: 16px;
    }

    /* Button row mobile */
    .tq-booking-form .tq-btn-row {
        gap: 8px;
        margin-top: 15px;
    }

    .tq-booking-form .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Zone pricing notice mobile */
    .tq-zone-pricing-notice {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ===== EXTRA SMALL MOBILE (under 360px) ===== */
@media (max-width: 360px) {
    .tq-widget-header {
        padding: 12px 15px;
    }

    .tq-widget-header h2 {
        font-size: 1rem;
    }

    .tq-form-body {
        padding: 12px;
    }

    .tq-location-group {
        margin-bottom: 8px;
    }

    .tq-input-icon {
        padding: 8px;
        min-width: 38px;
        font-size: 14px;
    }

    .tq-input-with-icon input {
        padding: 10px 8px;
        font-size: 16px;
    }

    .tq-datetime-left {
        padding: 8px 10px;
    }

    .tq-return-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .tq-quote-btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    #tq-step-2,
    #tq-step-3,
    #tq-step-4 {
        padding: 15px;
    }

    .tq-vehicle {
        padding: 10px;
    }

    .tq-booking-summary {
        padding: 10px;
    }
}
