@font-face {
  font-family: 'Noto Color Emoji';
  src: url('https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf') format('truetype');
}

body {
	font-family: Vazirmatn, vazir, samim, 'Noto Color Emoji', sans-serif;
	background-color: #eee;
	padding: 1rem;
	direction: rtl;
  margin: 0;
  padding: 0;
}

.custom-navbar {
  background: #4068e0;
  max-height: 2.25rem;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 1rem;
  box-shadow: 0 2px 8px #0006;
}
.custom-navbar .navbar-brand {
  font-size: 1.1rem;
  color: #fff;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}
.custom-navbar .nav-link {
  color: #fff;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: color 0.2s;
}
.custom-navbar .nav-link.active,
.custom-navbar .nav-link:hover {
  color: #fd0 !important;
}

.btn-menu {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.2rem 0.3rem;
}
.btn-menu .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.searchbar {
  max-width:14rem;
}
.searchbar .search-input {
  background: #fff3;
  border: none;
  border-radius: 20px 0 0 20px;
  box-shadow: none;
  font-size: 1rem;
  padding-right: .25rem;
  padding-left: .25rem;
  color: #fff;
}
.searchbar .search-input:focus {
  box-shadow: none;
  background: #fff5;
  color: #fff;
}
.searchbar .btn-search {
  background: #fff3;
  border: none;
  border-radius: 0 20px 20px 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  transition: background 0.2s;
}
.searchbar .btn-search:hover {
  background: #fff5;
}
.searchbar svg {
  stroke: #fff;
}

.dropdown-menu {
  left: auto !important;
  right: 0 !important;
  min-width: 140px;
  max-width: 90vw;
}

.photo {
  width:40px;
  height:40px;
  border-left:1px solid #06f;
}

.photo-container:hover {
  box-shadow: 5px 10px 10px #0006;
}

.inset-box {
  box-shadow: #32325d40 0px 30px 60px -12px inset, #0000004d 0px 18px 36px -18px inset;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fin {
  font-feature-settings: "ss01", "tnum";
}

.filter-hide {
  display: none !important;
}

.color-hex {
  display: inline-block;
  margin: 0 2px;
  font-family: Consolas, 'Lucida Console', monospace;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.color-hex:hover {
  color: #059669;
}

.card-body a {
  color: #4068e0;
  text-decoration: none;
  padding: 1px 4px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.card-body a:hover {
  color: #059669;
  text-decoration: underline;
}

.img {
  max-width: 100%;
  vertical-align: middle;
}

a.hashtag {
  color: #059669;
  background: #e0f2fec0;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 0.97rem;
  margin: 0 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

a.hashtag:hover {
  color: #059669;
  background-color: none;
  text-decoration: underline;
}