.tb-ajax-search-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tb-ajax-search-main-box {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tb-ajax-search-form-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.tb-ajax-search-input-wrapper {
    position: relative;
    display: flex !important;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 15px;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.tb-ajax-search-input-wrapper.active,
.tb-ajax-search-input-wrapper:focus-within {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.tb-ajax-search-input {
    border: none !important;
    outline: none !important;
    width: 100% !important;
    font-size: 15px !important;
    color: #333 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

.tb-ajax-search-input::placeholder {
    color: #999 !important;
}

.tb-ajax-search-clear {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #999 !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center;
}

.tb-ajax-search-submit {
    background: #198754 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: background 0.3s !important;
    white-space: nowrap !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 40px !important;
    box-shadow: none !important;
}

.tb-ajax-search-submit:hover {
    background: #146c43 !important;
}

/* Quick Suggestions */
.tb-ajax-search-quick-suggestions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tb-quick-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 !important;
}

.tb-quick-tag {
    background: #eef7f2 !important;
    color: #198754 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: inline-block !important;
    margin: 0 !important;
    line-height: normal !important;
}

.tb-quick-tag:hover {
    background: #dcf0e4 !important;
    color: #146c43 !important;
}

/* Dropdown Panel */
.tb-ajax-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #eee;
}

.tb-ajax-search-dropdown.show {
    display: block;
}

.tb-dropdown-content {
    padding: 20px;
}

/* Location Result */
.tb-location-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
    color: inherit !important;
    text-decoration: none !important;
}
.tb-location-result:hover {
    opacity: 0.8;
    color: inherit !important;
    text-decoration: none !important;
}

.tb-location-info h4 {
    margin: 0 0 5px 0;
    color: #198754;
    font-size: 15px;
    font-weight: 600;
}

.tb-location-info p {
    margin: 0;
    color: #6b6b6b;
    font-size: 13px;
}

.tb-location-meta {
    text-align: right;
}

.tb-location-badge {
    display: inline-block;
    background: #eef7f2;
    color: #198754;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 5px;
}

.tb-location-count {
    color: #6b6b6b;
    font-size: 11px;
}

/* Horizontal Scroll Sections */
.tb-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 12px 0;
    border-left: 3px solid #198754;
    padding-left: 8px;
}

.tb-horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    scrollbar-width: none; /* Firefox */
}

.tb-horizontal-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Explore Cards */
.tb-explore-card {
    min-width: 180px;
    max-width: 180px;
    flex-shrink: 0;
    cursor: pointer;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s;
}
.tb-explore-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: #dcf0e4;
}

.tb-explore-image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 110px;
    margin-bottom: 8px;
}

.tb-explore-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-explore-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(25, 135, 84, 0.9);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.tb-explore-count {
    position: absolute;
    bottom: 6px;
    right: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

.tb-explore-card h5 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #262626;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tb-explore-card p {
    margin: 0;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.4;
    height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Nearby Cards */
.tb-nearby-card {
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}
.tb-nearby-card:hover {
    transform: scale(1.03);
}

.tb-nearby-image-wrapper {
    position: relative;
    height: 100px;
    width: 100%;
}

.tb-nearby-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-nearby-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 135, 84, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    transition: background 0.3s;
}
.tb-nearby-card:hover .tb-nearby-overlay {
    background: rgba(25, 135, 84, 0.75);
}
