.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    background: transparent;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 30px;
    padding: 2px 12px;
    margin-left: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 100;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    padding: 5px 10px;
    width: 200px;
}

.search-box .search-submit {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.search-wrapper.active .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1000;
}

@media (max-width: 768px) {
    .search-box {
        position: fixed;
        top: 67px;
        right: 10px;
        left: auto;
        width: 270px;
    }

    .search-box input {
        width: 100%;
    }
}
