.date-location-container {
    background: transparent;
    padding: 0.75rem 0rem;
    border-radius: 12px;
}

.date-location-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.location-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .search-wrapper:focus-within {
        border-color: #A0522D;
        box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
    }

.flag-icon {
    margin-right: 0.5rem;
    border-radius: 2px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.9rem;
    color: #495057;
}

    .search-input::placeholder {
        color: #6c757d;
    }

.clear-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    color: #6c757d;
}

    .clear-btn:hover {
        color: #8B4513;
    }

/* Selected-city chip copied from DateLocation */
.selected-city-display {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .selected-city-display:hover {
        border-color: #A0522D;
        background: #f8f9fa;
        box-shadow: 0 4px 12px rgba(139,69,19,0.25);
        transform: translateY(-1px);
    }

.city-label {
    flex: 1 1 auto;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8B4513;
}

.edit-icon {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: 0.95rem;
}

.selected-city-display:hover .edit-icon {
    color: #8B4513;
}

/* Dropdown: left-aligned, same width as search field */
.year-city-search .suggestions-dropdown {
    position: absolute !important;
    top: calc(100% + 4px);
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(139,69,19,0.2);
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    text-align: left !important;
}

.year-city-search .suggestion-item {
    display: grid !important;
    grid-template-columns: 20px minmax(0,1fr);
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    margin: 0;
    text-align: left !important;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    background: #fff;
    transition: background-color 0.2s ease;
}

    .year-city-search .suggestion-item:last-child {
        border-bottom: none;
    }

    .year-city-search .suggestion-item:hover {
        background-color: #f8f9fa;
    }

    .year-city-search .suggestion-item > img {
        display: block !important;
        width: 20px !important;
        height: 14px !important;
        object-fit: contain;
        margin: 0 !important;
        flex: none;
    }

.year-city-search .suggestion-text {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left !important;
    justify-self: stretch;
}

.year-city-search .city-name {
    display: block !important;
    width: 100%;
    margin: 0 0 3px 0;
    padding: 0;
    color: #8B4513;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left !important;
}

.year-city-search .city-details {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: left !important;
}

.year-city-search .timezone {
    color: #9ca3af;
    font-size: 0.75rem;
}

.navigation-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex: 1;
    justify-content: flex-end;
    max-width: 400px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #8B4513;
    border: 2px solid #8B4513;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 90px;
    white-space: nowrap;
}

    .nav-btn:hover {
        background: #A0522D;
        border-color: #A0522D;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(139,69,19,0.2);
    }

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

.prev-btn {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.next-btn {
    background: linear-gradient(135deg, #A0522D, #8B4513);
}

.date-picker {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 150px;
    min-width: 140px;
}

.date-input {
    border: 2px solid #8B4513;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    background: #fff;
    color: #495057;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

    .date-input:focus {
        border-color: #A0522D;
        outline: none;
        box-shadow: 0 4px 12px rgba(139,69,19,0.25);
    }

@media (max-width: 1024px) {
    .navigation-buttons {
        max-width: 350px;
    }

    .nav-btn {
        min-width: 80px;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .date-picker {
        max-width: 140px;
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .date-location-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .location-search {
        flex: 1 1 100%;
        order: 1;
        min-width: auto;
    }

    .navigation-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
        max-width: none;
        gap: 1rem;
    }

    .nav-btn {
        flex: 1;
        max-width: 120px;
    }

    .date-picker {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .date-location-container {
        padding: 0.5rem;
    }

    .date-location-row {
        gap: 0.5rem;
    }

    .search-wrapper {
        padding: 0.4rem 0.6rem;
    }

    .selected-city-display {
        padding: 0.4rem 0.6rem;
    }

    .navigation-buttons {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .date-input {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .suggestions-dropdown {
        max-height: 180px;
    }

    .suggestion-item {
        padding: 0.6rem 0.8rem;
    }
}
