diff --git a/index.html b/index.html index dae9d641..933dad4d 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,13 @@
  • Login
  • + + + + diff --git a/style.css b/style.css index 7374b5a2..3545220c 100644 --- a/style.css +++ b/style.css @@ -697,3 +697,54 @@ button:hover img { background: #ff6062; } + .hidden { + display: none; +} + +.search-bar { + text-align: center; + margin: 15px 0; + display: flex; + justify-content: flex-end; /* Align to right */ + align-items: center; + gap: 8px; /* Space between input and button */ + background-color: #f0f0f0; + padding: 8px 15px; + border-radius: 50px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + max-width: 250px; /* Adjust width to make it smaller */ + margin: 20px auto 0 auto; /* Right alignment with some margin */ + position: relative; + right: 80px; /* Push it further right */ +} + +#search-input { + width: 60%; /* Smaller input size */ + padding: 8px 10px; + font-size: 14px; + border: none; + border-radius: 50px; + background-color: #fff; + outline: none; + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); + transition: box-shadow 0.3s ease; +} + +#search-input:focus { + box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2); +} + +.search-bar button { + background-color: #333; + color: #fff; + border: none; + padding: 8px 12px; + font-size: 16px; + border-radius: 50px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.search-bar button:hover { + background-color: #555; +}