<form class="form"> <label for="search"> <input required="" autocomplete="off" placeholder="search your chats" id="search" type="text"> <div class="icon"> <svg stroke-width="2" stroke="currentColor" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="swap-on"> <path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" stroke-linejoin="round" stroke-linecap="round"></path> </svg> <svg stroke-width="2" stroke="currentColor" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="swap-off"> <path d="M10 19l-7-7m0 0l7-7m-7 7h18" stroke-linejoin="round" stroke-linecap="round"></path> </svg> </div> <button type="reset" class="close-btn">
.form { --input-bg: #FFf; --padding: 1.5em; --rotate: 80deg; --gap: 2em; --icon-change-color: #15A986; --height: 40px;