/* Header Search Styles */
.fy-social-search {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fy-header-search-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.fy-header-search-toggle .fy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--fy-color-accent, currentColor);
}

.fy-header-search-toggle:hover {
    opacity: 0.7;
}

.fy-header-search-form {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.fy-header-search-form.is-active {
    display: flex;
    animation: searchFormFadeIn 0.3s ease;
}

.fy-header-search-form form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fy-header-search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 60px;
    font-size: 1.25rem;
    line-height: 1.5;
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(255, 255, 255, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.fy-header-search-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(255, 255, 255, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.fy-header-search-input::placeholder {
    color: #ffffff;
}

.fy-header-search-close {
    flex: none;
    background: #333333;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fy-header-search-close:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.fy-header-search-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

@keyframes searchFormFadeIn {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .fy-header-search-form form {
        padding: 0 1rem;
    }

    .fy-header-search-input {
        padding: 1rem 1.5rem;
        font-size: 1.125rem;
    }

    .fy-header-search-close {
        width: 42px;
        height: 42px;
    }

    .fy-header-search-close svg {
        width: 18px;
        height: 18px;
    }
}
