@font-face {
  font-family: 'Vazir';
  src: url('/static/font/vazir.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
      font-family: 'Vazir', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  margin: 0;
  font-family: 'Vazir', sans-serif;
  background-color: #e3e3e3;
}

.search-container {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  position: relative;
}

.site-logo {
  width: 250px; 
  height: auto; 
  margin-bottom: 20px;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

form input[type="text"],
form input[type="submit"] {
  display: inline-block;
  margin: 5px;
  border: none;
  outline: none;
}

form input[type="text"] {
  width: 210px;
  height: 30px;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 0 50px 50px 0;
  order: 2;
  margin-left: -10px;
  direction: rtl;
  text-align: right;
}

form input::placeholder {
  direction: rtl;
  text-align: right;
}

form input[type="submit"] {
  height: 50px;
  padding: 10px 15px;
  background-color: rgb(255, 196, 0);
  color: white;
  cursor: pointer;
  border-radius: 50px 0 0 50px;
  order: 1;
}

.suggestions-list {
  position: absolute;
  top: 80%;      
  right: 0;         
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 250px;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 5px;  
}

.suggestions-list.show {
  display: block;
}
.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: tahoma, sans-serif;
  font-size: 13px;
  transition: background 0.2s;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--hover-bg);
}

.suggestion-item .delete-btn {
  color: var(--danger-color);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  transition: background 0.2s;
}

.suggestion-item .delete-btn:hover {
  background: #ffeaea;
}

.clear-all {
  padding: 10px 12px;
  text-align: center;
  background: #f9f9f9;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  font-family: tahoma, sans-serif;
  border-top: 1px solid #eee;
}

.clear-all:hover {
  background: #eee;
}

.suggestions-list::-webkit-scrollbar {
  width: 6px;
}

.suggestions-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.suggestions-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.suggestions-list::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  margin-top: 5px;
  height: 30px;
  width: 60px;
  background-color: rgb(255, 196, 0);
  border-radius: 50px;
  border: none;
  color: #ffffff;
}

button:hover {
  width: 60px;
  background-color: rgb(221, 169, 0);
  border-radius: 50px;
  border: none;
}

form input[type="submit"]:hover {
  background-color: rgb(221, 169, 0);
}

