.viator-freetext-form {
    border: 1px solid #e0e0e0;
    padding: 16px;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 20px;
}

.vf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.vf-row-main {
    align-items: center;
}

.vf-row-filters {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.vf-row-actions {
    justify-content: flex-end;
}

.vf-input {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.vf-search-term {
    flex: 2;
    min-width: 200px;
}

.vf-select.vf-destination {
    flex: 1;
    min-width: 170px;
}

.vf-filter-group {
    flex: 1 1 150px;
    min-width: 150px;
}

.vf-filter-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.vf-inline {
    display: flex;
    gap: 6px;
}

.vf-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.vf-btn-primary {
    background: #003459;
    color: #fff;
}

.vf-btn-primary:hover {
    background:  #0073aa;
}

/* Quick Navigation */
.vf-quick-nav {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #003459 0%,  #0073aa 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,115,170,0.2);
    z-index: 100;
}

.vf-quick-nav strong {
    margin-right: 10px;
    font-size: 15px;
}

.vf-quick-nav a {
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
    margin: 2px;
}

.vf-quick-nav a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* Grouped Results */
.hawaii-group, .hawaii-unmatched {
    margin-bottom: 32px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hawaii-group h4, .hawaii-unmatched h4 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #003459;
    font-size: 18px;
    color: #003459;
    font-weight: 600;
}

.hawaii-unmatched h4 {
    border-bottom-color: #999;
    color: #666;
}

/* Fully linked results with hover effect */
.result-item-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.result-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,115,170,0.18);
    border-color: #003459;
    background: #fff;
    z-index: 2;
}

.result-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-content h5 {
    margin: 0 0 10px 0;
    color: #003459;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: underline;
}

.item-content p {
    margin: 0 0 12px 0;
    color: #555;
    line-height: 1.6;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 8px;
}

.rating, .duration, .code {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.quality-score {
    font-size: 14px;
    color: #003459;
    font-weight: 600;
    margin-bottom: 4px;
}

/*.flags {*/
/*    font-size: 12px;*/
/*    background: #003459;*/
/*    color: #fff;*/
/*    padding: 5px 12px;*/
/*    border-radius: 20px;*/
/*    display: inline-block;*/
/*    margin-top: 6px;*/
/*}*/

.flag {
    font-size: 12px;
    background: #003459;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 6px;
}

.loading, .error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 15px;
}

.error {
    color: #d32f2f;
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
}

/* Autocomplete */
.vf-search-wrapper {
    position: relative;
    flex: 1;
}

.vf-autocomplete-dropdown {
    position: absolute !important;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vf-autocomplete-item {
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.vf-autocomplete-item:hover {
    background: #f8f9fa;
}

.vf-autocomplete-item img {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.vf-autocomplete-item span {
    font-weight: 500;
    flex: 1;
}

.vf-autocomplete-item small {
    color: #666;
    font-size: 0.85em;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .result-item {
        flex-direction: column;
        text-align: center;
    }

    .result-item img {
        width: 100%;
        max-width: 250px;
        height: 150px;
        margin: 0 auto;
    }

    .vf-quick-nav {
        font-size: 13px;
        padding: 10px;
    }

    .vf-quick-nav a {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Smooth Scroll für Quick-Nav */
html {
    scroll-behavior: smooth;
}
.viator-submit-btn {
    background-color: #F8AC58;
    font-family: "Josefin Sans", Sans-serif;
    font-weight: 500;
    text-decoration: none;
    border-radius: 7px 7px 7px 7px;
    padding: 10px 25px 10px 25px;
}


.viator-submit-btn:focus {
    background-color: #FFFFFF;
    color: #000000;
}
