/**
 * WooCommerce Google Maps Route Widget
 * Frontend Styles
 */

/* Container */
.wc-gmaps-route-container {
    position: relative;
    font-family: inherit;
    box-sizing: border-box;
}

.wc-gmaps-route-container *,
.wc-gmaps-route-container *::before,
.wc-gmaps-route-container *::after {
    box-sizing: border-box;
}

/* Title and Description */
.wc-gmaps-route-title {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.wc-gmaps-route-description {
    margin: 0 0 20px 0;
    color: #666;
}

/* Main Wrapper - 70/30 split */
.wc-gmaps-route-wrapper {
    display: flex;
    gap: 20px;
    min-height: 500px;
    align-items: flex-start;
}

.wc-gmaps-route-map-section {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
}

.wc-gmaps-route-sidebar {
    flex: 0 0 30%;
    min-width: 280px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Fixed height - will be synced with map section via JS */
    max-height: 700px;
    position: sticky;
    top: 20px;
}

/* Sidebar content scrolls within fixed height */
.wc-gmaps-route-results {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.wc-gmaps-route-countries-list {
    padding-right: 5px;
}

.wc-gmaps-route-sidebar-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #888;
    padding: 40px 20px;
}

/* Input Panel */
.wc-gmaps-route-inputs {
    margin-bottom: 15px;
}

.wc-gmaps-route-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.wc-gmaps-route-input-icon {
    flex-shrink: 0;
}

.wc-gmaps-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.wc-gmaps-marker-start {
    background: #34a853;
}

.wc-gmaps-marker-end {
    background: #ea4335;
}

.wc-gmaps-marker-stop {
    background: #4285f4;
}

.wc-gmaps-route-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wc-gmaps-route-input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

/* Input Wrapper for PlaceAutocompleteElement */
.wc-gmaps-route-input-wrapper {
    flex: 1;
    position: relative;
}

/* PlaceAutocompleteElement Styling */
.wc-gmaps-route-input-wrapper gmp-place-autocomplete {
    width: 100%;
    display: block;
}

.wc-gmaps-route-input-wrapper gmp-place-autocomplete::part(input) {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.wc-gmaps-route-input-wrapper gmp-place-autocomplete::part(input):focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

/* Legacy input styling when wrapper is present */
.wc-gmaps-route-input-wrapper .wc-gmaps-route-input {
    width: 100%;
}

.wc-gmaps-route-remove-stop {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s;
}

.wc-gmaps-route-remove-stop:hover {
    color: #ea4335;
}

/* Stops Container */
.wc-gmaps-route-stops-container {
    margin-left: 38px;
    border-left: 2px dashed #ddd;
    padding-left: 10px;
    margin-bottom: -10px;
}

.wc-gmaps-route-stops-container:empty {
    display: none;
}

.wc-gmaps-route-stops-container .wc-gmaps-route-input-row {
    margin-left: -48px;
}

/* Actions */
.wc-gmaps-route-actions {
    margin: 10px 0 15px 38px;
}

.wc-gmaps-route-add-stop-btn {
    background: transparent;
    border: 1px dashed #4285f4;
    color: #4285f4;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.wc-gmaps-route-add-stop-btn:hover {
    background: rgba(66, 133, 244, 0.1);
}

/* Calculate Button */
.wc-gmaps-route-calculate-btn {
    width: 100%;
    padding: 14px 20px;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.wc-gmaps-route-calculate-btn:hover {
    background: #3367d6;
}

.wc-gmaps-route-calculate-btn:active {
    transform: scale(0.98);
}

/* Map Container */
.wc-gmaps-route-map {
    flex: 1;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e3df;
}

/* Route Info */
.wc-gmaps-route-info {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.wc-gmaps-route-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-gmaps-route-info-label {
    color: #666;
    font-size: 14px;
}

.wc-gmaps-route-info-value {
    font-weight: 600;
    font-size: 16px;
}

/* Unit Toggle */
.wc-gmaps-route-unit-toggle {
    display: inline-flex;
    background: #eee;
    border: none;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    margin-left: 5px;
}

.wc-gmaps-route-unit-toggle span {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.wc-gmaps-route-unit-toggle span.active {
    background: #4285f4;
    color: #fff;
}

/* Sidebar */
.wc-gmaps-route-sidebar-placeholder {
    text-align: center;
    color: #888;
    padding: 40px 20px;
}

.wc-gmaps-route-sidebar-placeholder p {
    margin: 0;
}

.wc-gmaps-route-results-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

/* Accordion Items */
.wc-gmaps-accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s;
}

.wc-gmaps-accordion-item:last-child {
    margin-bottom: 0;
}

.wc-gmaps-accordion-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wc-gmaps-accordion-item.wc-gmaps-accordion-open {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Accordion Trigger (clickable header) */
.wc-gmaps-accordion-trigger {
    cursor: pointer;
    user-select: none;
    padding: 12px 14px;
    background: #fff;
    transition: background 0.2s;
}

.wc-gmaps-accordion-trigger:hover {
    background: #f8f9fa;
}

.wc-gmaps-accordion-open > .wc-gmaps-accordion-trigger {
    border-bottom: 1px solid #e5e5e5;
}

/* Accordion Body */
.wc-gmaps-accordion-body {
    padding: 12px 14px;
    background: #fafbfc;
}

/* Accordion Meta (badge + chevron, right-aligned) */
.wc-gmaps-accordion-meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Accordion Badge */
.wc-gmaps-accordion-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
}

.wc-gmaps-accordion-badge-warn {
    background: #fff3e0;
    color: #e65100;
}

.wc-gmaps-accordion-badge-toll {
    background: #fff8e1;
    color: #f57f17;
}

/* Accordion Chevron */
.wc-gmaps-accordion-chevron {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.wc-gmaps-accordion-chevron::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 0.25s ease;
}

.wc-gmaps-accordion-open .wc-gmaps-accordion-chevron::before {
    transform: translate(-50%, -35%) rotate(-135deg);
}

/* Country Items (within accordion) */
.wc-gmaps-route-country-item {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

.wc-gmaps-route-country-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wc-gmaps-route-country-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.wc-gmaps-route-country-flag {
    font-size: 24px;
    line-height: 1;
}

.wc-gmaps-route-country-name {
    font-weight: 600;
    font-size: 15px;
}

/* Product Items */
.wc-gmaps-route-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wc-gmaps-route-product:last-child {
    margin-bottom: 0;
}

.wc-gmaps-route-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.wc-gmaps-route-product-info {
    flex: 1;
    min-width: 0;
}

.wc-gmaps-route-product-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wc-gmaps-route-product-price {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.wc-gmaps-route-product-link {
    flex-shrink: 0;
    padding: 6px 12px;
    background: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.wc-gmaps-route-product-link:hover {
    background: #3367d6;
    color: #fff;
}

/* Unavailable Message */
.wc-gmaps-route-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: #fff8e1;
    border-radius: 6px;
    border-left: 3px solid #ffa000;
}

.wc-gmaps-route-unavailable-icon {
    color: #ffa000;
    font-size: 16px;
    line-height: 1;
}

.wc-gmaps-route-unavailable-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Loading Overlay */
.wc-gmaps-route-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 8px;
}

.wc-gmaps-route-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: #4285f4;
    border-radius: 50%;
    animation: wc-gmaps-spin 0.8s linear infinite;
}

@keyframes wc-gmaps-spin {
    to {
        transform: rotate(360deg);
    }
}

.wc-gmaps-route-loading p {
    margin: 15px 0 0;
    color: #666;
}

/* Error Message */
.wc-gmaps-route-error {
    padding: 12px 15px;
    background: #ffebee;
    color: #c62828;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

/* Notice (for admin) */
.wc-gmaps-route-notice {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .wc-gmaps-route-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .wc-gmaps-route-map-section {
        flex: 1 1 auto;
    }

    .wc-gmaps-route-sidebar {
        flex: 1 1 auto;
        min-width: 0;
        max-height: 500px;
        align-self: auto;
    }

    .wc-gmaps-route-map {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .wc-gmaps-route-info {
        flex-direction: column;
        gap: 10px;
    }

    .wc-gmaps-route-product {
        flex-wrap: wrap;
    }

    .wc-gmaps-route-product-image {
        width: 40px;
        height: 40px;
    }

    .wc-gmaps-route-product-link {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    font-family: inherit;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
}

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

.pac-item-selected {
    background: #e8f0fe;
}

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    font-size: 14px;
}

/* Vehicle Type Selector */
.wc-gmaps-route-vehicle-selector {
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.wc-gmaps-route-vehicle-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.wc-gmaps-route-vehicle-buttons {
    display: flex;
    gap: 8px;
}

.wc-gmaps-route-vehicle-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.wc-gmaps-route-vehicle-btn:hover {
    background: #e8f0fe;
}

.wc-gmaps-route-vehicle-btn.active {
    background: #e8f0fe;
    border-color: #4285f4;
}

.wc-gmaps-route-vehicle-btn .vehicle-icon {
    font-size: 20px;
    line-height: 1;
}

.wc-gmaps-route-vehicle-btn .vehicle-name {
    font-size: 11px;
    font-weight: 500;
    color: #333;
}

/* Vignette Badge */
.wc-gmaps-route-vignette-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e3f2fd;
    color: #1565c0;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    margin-left: auto;
}

/* Vignette Pricing */
.wc-gmaps-route-vignette-pricing {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wc-gmaps-route-pricing-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.wc-gmaps-route-pricing-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wc-gmaps-route-pricing-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.wc-gmaps-route-pricing-option .pricing-duration {
    font-size: 13px;
    color: #333;
}

.wc-gmaps-route-pricing-option .pricing-price {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

.wc-gmaps-route-vignette-notes {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* Country Content Container */
.wc-gmaps-route-country-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-gmaps-route-country-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Fuel Estimate Section */
.wc-gmaps-route-fuel-estimate {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.wc-gmaps-route-fuel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wc-gmaps-route-fuel-icon {
    font-size: 20px;
    line-height: 1;
}

.wc-gmaps-route-fuel-title {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
}

.wc-gmaps-route-fuel-details {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 10px;
}

.wc-gmaps-route-fuel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.wc-gmaps-route-fuel-row .fuel-label {
    font-size: 13px;
    color: #555;
}

.wc-gmaps-route-fuel-row .fuel-value {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.wc-gmaps-route-fuel-row.wc-gmaps-route-fuel-total {
    border-top: 1px solid #c8e6c9;
    margin-top: 6px;
    padding-top: 8px;
}

.wc-gmaps-route-fuel-row.wc-gmaps-route-fuel-total .fuel-label {
    font-weight: 600;
    color: #333;
}

.wc-gmaps-route-fuel-row.wc-gmaps-route-fuel-total .fuel-value {
    font-size: 16px;
    font-weight: 700;
    color: #2e7d32;
}

.wc-gmaps-route-fuel-note {
    margin-top: 8px;
    font-size: 11px;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Toll Countries Section */
.wc-gmaps-route-toll-section {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    margin-top: 0;
    border-left: 3px solid #ff9800;
}

.wc-gmaps-route-toll-section > .wc-gmaps-accordion-trigger {
    background: #fff3e0;
}

.wc-gmaps-route-toll-section > .wc-gmaps-accordion-trigger:hover {
    background: #ffe0b2;
}

.wc-gmaps-route-toll-section > .wc-gmaps-accordion-body {
    background: #fff8f0;
}

.wc-gmaps-route-toll-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.wc-gmaps-route-toll-icon {
    font-size: 18px;
    line-height: 1;
}

.wc-gmaps-route-toll-title {
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
}

.wc-gmaps-route-toll-countries {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc-gmaps-route-toll-country {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 10px;
}

.wc-gmaps-route-toll-country-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wc-gmaps-route-toll-message {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Product Card Layout */
.wc-gmaps-route-product-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wc-gmaps-route-product-card:last-child {
    margin-bottom: 0;
}

.wc-gmaps-route-product-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.wc-gmaps-route-product-card .wc-gmaps-route-product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.wc-gmaps-route-product-card .wc-gmaps-route-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Variations Table */
.wc-gmaps-route-variations-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.wc-gmaps-route-variation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.wc-gmaps-route-variation-row .variation-duration {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.wc-gmaps-route-variation-row .variation-price {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

/* Simple Product Price */
.wc-gmaps-route-product-simple-price {
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 12px;
    text-align: center;
}

/* View Product Button */
.wc-gmaps-route-product-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: #4285f4;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.wc-gmaps-route-product-btn:hover {
    background: #3367d6;
    color: #fff;
}

/* Legacy Product Layout (keep for backwards compatibility) */
.wc-gmaps-route-product-variations {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.wc-gmaps-route-variation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
}

.wc-gmaps-route-variation .variation-name {
    color: #555;
}

.wc-gmaps-route-variation .variation-price {
    font-weight: 500;
    color: #333;
}

/* Available Country Styling */
.wc-gmaps-route-country-available {
    border-left: 3px solid #4caf50;
}

.wc-gmaps-route-country-available > .wc-gmaps-accordion-trigger {
    border-left: none;
}

/* Unavailable Country Styling */
.wc-gmaps-route-country-unavailable {
    border-left: 3px solid #ff9800;
}

.wc-gmaps-route-country-unavailable > .wc-gmaps-accordion-trigger {
    border-left: none;
}

.wc-gmaps-route-country-vignette-info {
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Vignette Options for Unavailable Countries */
.wc-gmaps-route-vignette-pricing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.wc-gmaps-route-vignette-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.wc-gmaps-route-vignette-option .vignette-duration {
    font-size: 13px;
    color: #333;
    text-transform: capitalize;
}

.wc-gmaps-route-vignette-option .vignette-price {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

.wc-gmaps-route-vignette-notes {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    padding: 8px 10px;
    background: #e3f2fd;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Best Value Highlight */
.wc-gmaps-route-variation-best {
    background: #e8f5e9 !important;
    border: 1px solid #a5d6a7;
    position: relative;
}

.wc-gmaps-route-vignette-best {
    background: #e8f5e9 !important;
    border: 1px solid #a5d6a7;
    position: relative;
}

.wc-gmaps-best-value-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    background: #2e7d32;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    vertical-align: middle;
    line-height: 1.4;
}

/* Unavailable Message */
.wc-gmaps-route-unavailable-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff8e1;
    border-radius: 4px;
    border-left: 3px solid #ff9800;
    font-size: 13px;
    color: #795548;
    font-weight: 500;
}

.wc-gmaps-route-unavailable-message::before {
    content: "⚠️";
    font-size: 14px;
}

/* Mobile Responsive - Vehicle Selector */
@media (max-width: 600px) {
    .wc-gmaps-route-vehicle-buttons {
        gap: 6px;
    }

    .wc-gmaps-route-vehicle-btn {
        padding: 8px 4px;
    }

    .wc-gmaps-route-vehicle-btn .vehicle-icon {
        font-size: 18px;
    }

    .wc-gmaps-route-vehicle-btn .vehicle-name {
        font-size: 10px;
    }

    .wc-gmaps-route-pricing-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .wc-gmaps-route-vignette-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .wc-gmaps-route-variation {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .wc-gmaps-accordion-trigger {
        padding: 10px 12px;
    }

    .wc-gmaps-accordion-body {
        padding: 10px 12px;
    }

    .wc-gmaps-accordion-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .wc-gmaps-best-value-tag {
        font-size: 9px;
        padding: 1px 5px;
    }
}
