/* 
=====================
HEADER SEARCH ICON STYLES
=====================
*/ 
.header-search {
    position: relative;
    display: inline-block;
}

.header-search button.search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header-search button.search-toggle img {
    width: 24px;
    height: 24px;
}

/* Container hidden by default */
.header-search .search-form-container {
    display: none;
    position: absolute;
    top: 150%;
    right: 0;
    background: #000;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Show on toggle */
.header-search .search-form-container.visible {
    display: block;
}

/* Form styling */
.header-search .page-header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Input */
.header-search .page-header-search input[type="text"] {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border: none;
    flex-grow: 1;
    background-color: black;
    color: white;
}

.header-search .page-header-search input[type="text"]::placeholder {
    color: white;
}

/* Submit button */
.header-search .page-header-search button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header-search .page-header-search button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.header-search .page-header-search input[type="text"]:focus {
    border-color: none;
    background-color: black;
}

/* Responsive */
@media (max-width: 768px) {
    .header-search .search-form-container {
        top: 120%;
        right: 0;
        left: auto;
        width: 240px;
    }
}

/* Layout fixes */
.header-search .form-group {
    display: flex !important;
    margin: 0 !important;
}

.header-search .form-group button {
    width: 50px !important;
}