/* Header Search Form Styles */
.header-search-form {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    vertical-align: middle;
}

.header-search-form .search-form {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 25px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.header-search-form .search-form:hover,
.header-search-form .search-form:focus-within {
    border-color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.header-search-form .search-input {
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    padding: 5px 10px;
    width: 200px;
    outline: none;
    font-size: 14px;
    font-weight: 400;
}

.header-search-form .search-input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
}

.header-search-form .search-btn {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-form .search-btn:hover {
    color: #d4af37 !important;
}

.header-search-form .search-btn i {
    font-size: 18px;
    color: #fff !important;
}

.header-search-form .search-btn:hover i {
    color: #d4af37 !important;
}

/* Mobile Search Form Styles */
.mobile-search-form {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.mobile-search-form .search-form {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 20px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

.mobile-search-form .search-form:hover,
.mobile-search-form .search-form:focus-within {
    border-color: rgba(255, 255, 255, 1) !important;
}

.mobile-search-form .search-input {
    border: none !important;
    background: transparent !important;
    color: #fff !important;
    padding: 4px 8px;
    width: 150px;
    outline: none;
    font-size: 13px;
    font-weight: 400;
}

.mobile-search-form .search-input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
}

.mobile-search-form .search-btn {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-form .search-btn i {
    font-size: 16px;
    color: #fff !important;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .header-search-form .search-input {
        width: 150px;
    }
}

@media (max-width: 991px) {
    .header-search-form {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-search-form .search-input {
        width: 120px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .mobile-search-form .search-input {
        width: 100px;
    }
}

/* Search Results Highlight */
.search-highlight {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #d4af37;
}

.search-highlight p {
    margin: 0;
    color: #856404;
}

.search-highlight strong {
    color: #1a1a1a;
}

/* Dark header search form (when scrolled) */
.is-fixed .header-search-form .search-form {
    background: transparent;
    border-color: rgba(26, 26, 26, 0.3);
}

.is-fixed .header-search-form .search-form:hover,
.is-fixed .header-search-form .search-form:focus-within {
    border-color: rgba(26, 26, 26, 0.5);
    background: rgba(26, 26, 26, 0.02);
}

.is-fixed .header-search-form .search-input {
    color: #1a1a1a;
}

.is-fixed .header-search-form .search-input::placeholder {
    color: rgba(26, 26, 26, 0.7);
}

.is-fixed .header-search-form .search-btn {
    color: #1a1a1a;
}

.is-fixed .header-search-form .search-btn:hover {
    color: #d4af37;
}

/* Mobile header search (when scrolled) */
.header_mobile.scrolled .mobile-search-form .search-form {
    background: transparent;
    border-color: rgba(26, 26, 26, 0.3);
}

.header_mobile.scrolled .mobile-search-form .search-form:hover,
.header_mobile.scrolled .mobile-search-form .search-form:focus-within {
    border-color: rgba(26, 26, 26, 0.5);
}

.header_mobile.scrolled .mobile-search-form .search-input {
    color: #1a1a1a;
}

.header_mobile.scrolled .mobile-search-form .search-input::placeholder {
    color: rgba(26, 26, 26, 0.7);
}

.header_mobile.scrolled .mobile-search-form .search-btn {
    color: #1a1a1a;
}
