.gh-taxi-calculator-wrapper.gh-taxi-shortcode {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 55, 181, 0.08);
    transition: box-shadow 0.3s ease;
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif;
}

/* Apply POLIN font to ALL elements within the shortcode */
.gh-taxi-calculator-wrapper.gh-taxi-shortcode * {
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif !important;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode:hover {
    box-shadow: 0 6px 20px rgba(0, 55, 181, 0.12);
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-field-label {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif;
}

.taxi-compact-select {
    max-width: 85px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 2px solid #e8ecef !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif !important;
}

.taxi-compact-select:focus {
    border-color: #0037B5 !important;
    box-shadow: 0 0 0 3px rgba(0, 55, 181, 0.1) !important;
    outline: none !important;
}

.taxi-compact-select:hover {
    border-color: #004DD9 !important;
}
input[type='gh-select-autocomplete']:focus + .elementor-select-autocomplete-container
{
    display:block !important;
}

.elementor-select-autocomplete-container.hidden,
.elementor-select-autocomplete-container .hidden
{
    display: none;
}

.autocomplete-helper
{
	padding:15px !important;
}

.elementor-select-autocomplete-container
{
    position:absolute;		
    width:calc( 100% - 10px );
    margin:0px 5px;	
    left:0px;
    transition:300ms ease all; 
    transform: translateY(100%);
    bottom: 0px;
    background:White;
    z-index:999;
    overflow: auto;
    max-height: 300px;
}

.autocomplete-row
{
    padding:4px 10px;
    transition:300ms ease all;
    cursor:pointer;
    font-size: 0.9em;
}

.autocomplete-row:hover
{
    background-color: #efefef;  
}

.autocomplete-more
{
    padding: 8px 10px;
    font-style: italic;
    color: #666;
    font-size: 0.85em;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Taxi Calculator Styles */
.taxi-calculator-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Hebrew', 'Arial Hebrew', sans-serif;
    direction: rtl;
    text-align: right;
}

/* Taxi Display Calculator (monitoring other fields) */
.taxi-calculator-display {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Hebrew', 'Arial Hebrew', sans-serif;
    direction: rtl;
    text-align: right;
    max-width: 400px;
}

.taxi-calc-row {
    margin-bottom: 15px;
    position: relative;
}

.taxi-calc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
    text-align: right;
}

.taxi-calc-label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.taxi-calc-label .optional {
    color: #7f8c8d;
    font-weight: normal;
    font-size: 12px;
}

.taxi-calc-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

.taxi-calc-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.taxi-calc-city-wrapper {
    position: relative;
    direction: rtl;
}

.taxi-calc-city {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

.taxi-calc-city:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Multi-column layouts */
.taxi-calc-datetime,
.taxi-calc-luggage {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    direction: rtl;
}

.taxi-calc-col {
    flex: 1;
    min-width: 120px;
    text-align: right;
}

.taxi-calc-luggage .taxi-calc-col {
    flex: 1;
    min-width: 100px;
}

.taxi-calc-note {
    display: block;
    color: #7f8c8d;
    font-size: 11px;
    margin-top: 3px;
    font-style: italic;
}

/* Display sections */
.taxi-calc-vehicle-display,
.taxi-calc-period-display {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.taxi-calc-vehicle-type,
.taxi-calc-period {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

/* Fare calculation display */
.taxi-calc-fare-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    direction: rtl;
    text-align: right;
}

.taxi-calc-fare-loading {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.taxi-calc-fare-result {
    color: white;
}

.taxi-calc-fare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
    direction: rtl;
}

.taxi-calc-fare-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.taxi-calc-fare-label {
    font-size: 14px;
    opacity: 0.9;
    text-align: right;
}

.taxi-calc-base-fare,
.taxi-calc-commission,
.taxi-calc-total {
    font-weight: 600;
    font-size: 16px;
}

.taxi-calc-total-row {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: none !important;
}

.taxi-calc-total {
    font-size: 20px;
    font-weight: 700;
}

.taxi-calc-commission small {
    opacity: 0.8;
    font-size: 11px;
}

.taxi-calc-fare-error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.taxi-calc-fare-waiting {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.taxi-calc-waiting-message {
    font-size: 14px;
    font-style: italic;
}

/* Vehicle section for display-only calculator */
.taxi-calc-vehicle-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.taxi-calc-vehicle-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taxi-calc-vehicle-display .taxi-calc-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0;
}

.taxi-calc-vehicle-display .taxi-calc-vehicle-type {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

/* Price display section */
.taxi-calc-price-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 15px;
}

.taxi-calc-total-price {
    color: white;
}

.taxi-calc-price-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.taxi-calc-customer-price {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.taxi-calc-price-loading {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.taxi-calc-price-error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.taxi-calc-price-waiting {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
    .taxi-calc-datetime,
    .taxi-calc-luggage {
        flex-direction: column;
        gap: 10px;
    }
    
    .taxi-calc-col {
        min-width: 100%;
    }
    
    .taxi-calculator-container {
        padding: 15px;
    }
    
    .taxi-calc-fare-display {
        margin: 15px -15px -15px -15px;
        border-radius: 0 0 8px 8px;
    }
}

/* Elementor form integration */
.elementor-field-type-gh-taxi-calculator {
    width: 100%;
}

.elementor-field-type-gh-taxi-calculator .taxi-calculator-container {
    margin: 0;
    border: none;
    padding: 0;
    background: transparent;
}

/* Preview mode in Elementor editor */
.taxi-calc-preview {
    background: #f8f9fa;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.taxi-calc-preview h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.taxi-calc-preview p {
    margin: 0;
    font-size: 14px;
}

/* Submit-Based Taxi Calculator Styles */
.taxi-calc-calculate-section {
    text-align: center;
    margin: 20px 0;
}

.taxi-calc-calculate-btn {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
    direction: rtl;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
}

.taxi-calc-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.4);
    background: linear-gradient(135deg, #0069a3 0%, #004a99 100%);
}

.taxi-calc-calculate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.taxi-calc-calculate-btn.calculated {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.taxi-calc-calculate-btn.calculated:hover {
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
}

.taxi-calc-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    direction: rtl;
}

.taxi-calc-status.loading {
    background: #cce7ff;
    color: #0066cc;
    border: 1px solid #b3d9ff;
}

.taxi-calc-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.taxi-calc-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Styles */
.taxi-calc-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.taxi-calc-modal {
    background: white;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    direction: rtl;
    text-align: right;
}

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

.taxi-calc-modal-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taxi-calc-modal-header h4 {
    margin: 0;
    color: #495057;
    font-size: 20px;
    font-weight: 600;
}

.taxi-calc-modal-close {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white !important;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.taxi-calc-modal-close:hover {
    background: #002a8a !important;
    background-color: #002a8a !important;
    color: white !important;
    transform: scale(1.1);
}

.taxi-calc-modal-body {
    padding: 15px 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.taxi-calc-modal-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Prevent body scroll when modal is open */
body.taxi-modal-open {
    overflow: hidden;
}

.taxi-calc-trip-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.taxi-calc-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.taxi-calc-detail:last-child {
    border-bottom: none;
}

/* Make sure price summary spans full width */
.taxi-calc-price-summary {
    grid-column: 1 / -1;
}

.taxi-calc-detail .label {
    font-weight: 600;
    color: #6c757d;
}

.taxi-calc-detail .value {
    font-weight: 500;
    color: #495057;
}

.taxi-calc-price-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

/* Hero-like price display for shortcode */
.taxi-hero-prices {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 55, 181, 0.15);
    margin-top: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.taxi-hero-prices:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 55, 181, 0.2);
}

.taxi-hero-col { 
    flex: 1; 
    min-width: 240px;
    position: relative;
}

.taxi-hero-pill {
    background: linear-gradient(135deg, #0037B5 0%, #004DD9 100%);
    color: white; 
    text-align: center; 
    padding: 10px 16px; 
    font-size: 14px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif;
}

.taxi-hero-pill::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.taxi-hero-rows { 
    padding: 20px 12px; 
    text-align: center; 
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.taxi-hero-row { 
    font-size: 24px; 
    font-weight: 700; 
    margin: 8px 0; 
    display: flex; 
    gap: 6px; 
    justify-content: center; 
    align-items: baseline; 
    color: #0037B5;
    transition: color 0.2s ease;
    font-family: 'POLIN', 'Heebo', 'Arial', sans-serif;
}

.taxi-hero-row:hover {
    color: #004DD9;
}

.taxi-hero-row .symbol { 
    font-size: 16px; 
    opacity: 0.8;
}

.taxi-hero-row .amount {
    font-size: 26px;
    font-weight: 800;
}

.taxi-hero-row .label { 
    font-size: 12px; 
    font-weight: 500; 
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.7;
}

.taxi-hero-sep { 
    width: 1px; 
    background: linear-gradient(
        to bottom, 
        transparent 10%, 
        rgba(0, 55, 181, 0.1) 20%, 
        rgba(0, 55, 181, 0.2) 50%, 
        rgba(0, 55, 181, 0.1) 80%, 
        transparent 90%
    );
    position: relative;
}

.taxi-hero-sep::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #0037B5;
    border-radius: 50%;
    opacity: 0.3;
}

.taxi-calc-final-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taxi-calc-price-label {
    font-size: 18px;
    font-weight: 600;
}

.taxi-calc-customer-price {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.taxi-calc-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.taxi-calc-accept-btn,
.taxi-calc-edit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
    direction: rtl;
}

.taxi-calc-accept-btn {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    color: white !important;
}

.taxi-calc-accept-btn:hover {
    background: #002a8a !important;
    background-color: #002a8a !important;
    transform: translateY(-1px);
}

.taxi-calc-edit-btn {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    color: white !important;
    opacity: 0.8;
}

.taxi-calc-edit-btn:hover {
    background: #002a8a !important;
    background-color: #002a8a !important;
    opacity: 1;
    transform: translateY(-1px);
}

/* More specific selectors to ensure blue colors */
.taxi-calc-modal .taxi-calc-accept-btn,
.taxi-calc-modal-footer .taxi-calc-accept-btn {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    color: white !important;
}

.taxi-calc-modal .taxi-calc-edit-btn,
.taxi-calc-modal-footer .taxi-calc-edit-btn {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    color: white !important;
    opacity: 0.8;
}

/* Style Elementor previous step button with blue theme */
.elementor-button.e-form__buttons__wrapper__button-previous[data-direction="previous"],
button[data-direction="previous"] {
    background: #0037B5 !important;
    background-color: #0037B5 !important;
    color: white !important;
    border: none !important;
}

.elementor-button.e-form__buttons__wrapper__button-previous[data-direction="previous"]:hover,
button[data-direction="previous"]:hover {
    background: #002a8a !important;
    background-color: #002a8a !important;
    color: white !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .taxi-calc-modal-backdrop {
        padding: 10px;
    }
    
    .taxi-calc-modal {
        max-width: 100%;
        margin: 10px;
        max-height: 90vh;
    }
    
    .taxi-calc-modal-header {
        padding: 15px;
    }
    
    .taxi-calc-modal-body {
        padding: 15px;
        max-height: 70vh;
    }
    
    .taxi-calc-modal-footer {
        padding: 15px;
        flex-direction: column;
    }
    
    .taxi-calc-accept-btn,
    .taxi-calc-edit-btn {
        width: 100%;
    }
    
    /* Single column layout on mobile */
    .taxi-calc-trip-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .taxi-calc-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 13px;
    }
    
    .taxi-calc-final-price {
        flex-direction: column;
        gap: 10px;
    }
}



/* Submit button enhancement when calculation is complete */
.elementor-button.taxi-calc-completed-submit {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    position: relative;
    overflow: hidden;
}

.elementor-button.taxi-calc-completed-submit:before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
}

.elementor-button.taxi-calc-completed-submit:hover {
    background: #229954 !important;
    border-color: #229954 !important;
}

/* Submit button when disabled by taxi calculator */
.elementor-button.taxi-calc-disabled {
    background: #bdc3c7 !important;
    border-color: #95a5a6 !important;
    color: #7f8c8d !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.elementor-button.taxi-calc-disabled:hover {
    background: #bdc3c7 !important;
    border-color: #95a5a6 !important;
    color: #7f8c8d !important;
    cursor: not-allowed !important;
}

/* Taxi calculator form integration */
.taxi-calculator-form-integrated {
    border: 2px solid #e8f4fd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #f8fbff;
}

.taxi-calculator-form-integrated.calculation-complete {
    border-color: #27ae60;
    background: #f8fff8;
}

.taxi-calculator-form-integrated.calculation-pending {
    border-color: #f39c12;
    background: #fffbf0;
}

/* Enhanced Mobile Responsiveness for Hero Prices */
@media (max-width: 768px) {
    .taxi-hero-prices {
        flex-direction: column;
        gap: 0;
        margin-top: 16px;
    }

    .taxi-hero-col {
        min-width: auto;
    }

    .taxi-hero-pill {
        font-size: 13px;
        padding: 8px 12px;
    }

    .taxi-hero-row {
        font-size: 20px;
    }

    .taxi-hero-row .amount {
        font-size: 22px;
    }

    .taxi-hero-sep {
        height: 1px;
        width: 100%;
        background: linear-gradient(
            to right, 
            transparent 10%, 
            rgba(0, 55, 181, 0.1) 20%, 
            rgba(0, 55, 181, 0.2) 50%, 
            rgba(0, 55, 181, 0.1) 80%, 
            transparent 90%
        );
    }

    .taxi-hero-sep::before {
        display: none;
    }

    .gh-taxi-calculator-wrapper.gh-taxi-shortcode {
        padding: 16px;
        border-radius: 8px;
    }

    .taxi-compact-select {
        max-width: 100% !important;
        min-width: 60px !important;
        padding: 8px 6px !important;
        text-align: center !important;
        font-size: 14px !important;
    }
}

/* Loading Animation for Price Updates */
@keyframes priceUpdate {
    0% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 0.8; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.taxi-hero-prices.updating .taxi-hero-row .amount {
    animation: priceUpdate 0.4s ease-out;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .taxi-hero-prices,
    .taxi-compact-select,
    .gh-taxi-calculator-wrapper .elementor-field-textual {
        transition: none !important;
    }
    
    .taxi-hero-prices:hover {
        transform: none !important;
    }
    
    .gh-taxi-calculator-wrapper .elementor-field-textual:focus {
        transform: none !important;
    }
}

/* Contact Button Styling for Shortcode */
.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    padding: 10px 5px 5px 5px;
    display: block;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button-wrapper.taxi-button-hidden {
    display: none !important;
}

/* Show button when inside visible hero prices in shortcode */
.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-hero-prices:not([style*="display: none"]) .taxi-contact-button-wrapper:not(.taxi-button-hidden),
.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-hero-prices[style*="display: block"] .taxi-contact-button-wrapper:not(.taxi-button-hidden) {
    display: block !important;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button {
    display: inline-block;
    text-align: center;
    transition: all .3s;
    box-shadow: none;
    text-decoration: none;
    background-color: #0037B5;
    font-family: "POLIN", Sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: 1px;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-style: solid;
    border-width: 1px;
    border-color: #0037B5;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 10px;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    max-width: 140px;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button:hover {
    background-color: #002a8a;
    border-color: #002a8a;
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 55, 181, 0.3);
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button:focus {
    outline: 2px solid #0037B5;
    outline-offset: 2px;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button .elementor-button-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button .elementor-button-text {
    color: inherit;
    font-weight: inherit;
    font-family: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

/* Responsive adjustments for shortcode contact button */
@media (max-width: 768px) {
    .gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button {
        padding: 6px 12px;
        font-size: 9px;
        max-width: 120px;
    }
    
    .gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button-wrapper {
        margin-top: 12px;
        padding: 8px 3px 3px 3px;
    }
}

@media (max-width: 480px) {
    .gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button {
        padding: 5px 10px;
        font-size: 8px;
        max-width: 100px;
    }
    
    .gh-taxi-calculator-wrapper.gh-taxi-shortcode .taxi-contact-button-wrapper {
        margin-top: 10px;
        padding: 6px 2px 2px 2px;
    }
}

@media (max-width: 768px) {
    /* Responsive styles for taxi calculator */
}