@font-face {
    font-family: 'BYekan';
    src: url(../fonts/yekan/Yekan.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*{
    font-family: 'BYekan';
    direction: rtl !important;
}

body{
    background-image: url('../images/app/bg.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

.header{
    min-height: 70px;
    padding: 10px 25px;
    text-align: right;
    box-shadow: 0 0 20px 3px rgba(115, 115, 115, 0.6);
}

.footer{
    min-height: 70px;
    padding-right: 20px;
    padding-left: 20px;
    box-shadow: 0 0 20px 3px rgba(115, 115, 115, 0.6);
}

.footer .row .col-3{
    padding-top: 13px;
    border-left: 1px solid rgba(115, 115, 115, 0.3);
}

h1{
    font-size: 20px;
}

.logo{
    width: 48px;
    height: 48px;
    border-radius: 6px;
    margin-top: 6px;
    margin-left: 6px;
}

.h1par{
    margin: 0;
}

.tab-content{
    margin-top: 90px;
    margin-bottom: 90px;
}

.navlink p{
    font-size: 11px;
    color: #666;
    border: 0;
}

.navlink i {
    font-size: 20px;
    display: block;
}

.flex-grow-1 .d-flex strong{
    text-align: right;
}

.flex-grow-1 .small{
    text-align: justify;
}

.wardheading{
    position: sticky;
    top: 90px;
    z-index: 1000;
    padding-top: 6px;
    padding-bottom: 12px;
    background-color: rgba(255, 255, 255, 0.75);
}

.wardselect {
    padding-top: 15px;
    padding-bottom: 15px;
}

.wardselect .col-6 a{
    display: block;
}

#results{
    padding-top: 20px;
}



#results .card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#results .card .title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

#results .card .code {
    font-size: 15px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 10px;
    direction: ltr;
    text-align: center;
}

#results .card .priceRow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-around;
}

#results .card .priceRow .badge {
    padding: 6px 8px;
    font-size: 11px;
    border-radius: 7px;
    font-weight: 600;
}

#results .card .priceRow .private {
    background: #dcfce7;
    color: #166534;
}

#results .card .priceRow .public {
    background: #dbeafe;
    color: #1e40af;
}

#results .card .priceRow .charity {
    background: #fef3c7;
    color: #92400e;
}

#results .card .priceRow .ngov {
    background: #f3e8ff;
    color: #6b21a8;
}


.call .col-12 .card .card-body i{
    font-size: 35px;
    padding-left: 5px;
}

.call .col-12 .card .card-body .flex-grow-1{
    text-align: right;
}

.about{
    text-align: right;
}

.about h2{
    font-size: 17px;
    font-weight: 800;
}

.about p{
    text-align: justify;
}


.internet-shortcuts {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "IRANSans", sans-serif;
  padding: 8px 4px 16px;
}

/* هدر */
.is-header {
  text-align: center;
  margin-bottom: 18px;
}
.is-header h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
}
.is-header h2 {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
}
.is-header p {
  margin: 6px auto 0;
  max-width: 420px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #6b7280;
}
.is-header a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* سرچ */
.is-search-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto 14px;
}
.is-search-wrapper input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 8px 32px 8px 10px;
  font-size: 0.8rem;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.is-search-wrapper input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}
.is-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* گرید کارت‌ها */
.is-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 768px) {
  .is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .is-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* کارت */
.is-card {
  display: flex;
  flex-direction: column;
  height: 320px; /* می‌تونی مثل خودش 400 هم بذاری */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.8);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s;
  border-top-width: 3px;
}
.is-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.10);
}
.is-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(0, 0, 0, 0.02);
}
.is-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.is-card-title {
  flex: 1;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

/* رنگ accent براساس data-accent */
.is-card[data-accent] {
  border-top-color: attr(data-accent color, #6366f1);
}
.is-card[data-accent] .is-card-header {
  background-color: color-mix(in srgb, attr(data-accent color, #6366f1) 5%, #ffffff);
}
.is-card[data-accent] .is-card-icon {
  background-color: color-mix(in srgb, attr(data-accent color, #6366f1) 15%, #ffffff);
  color: attr(data-accent color, #6366f1);
}

/* محتوا + اسکرول داخلی */
.is-card-body {
  flex: 1;
  min-height: 0;
  padding: 4px 6px;
  overflow-y: auto;
}
.is-card-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* لیست لینک‌ها */
.is-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.is-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.8);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.is-link-item:hover {
  background: #f3f4f6;
  color: #0f172a;
}
.is-avatar {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 35%, hsl(0,0%,79%), hsl(0,0%,65%));
  color: hsl(0,0%,96%);
  font-size: 10px;
  font-weight: 600;
  user-select: none;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.18);
}
.is-link-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 500;
}

/* اسپانسر پایین کارت */
.is-card-sponsor {
  flex-shrink: 0;
  border-top: 1px solid rgba(99,102,241,0.19);
  padding: 6px 10px 10px;
  background: rgba(99,102,241,0.04);
}
.is-sponsor-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.is-sponsor-star {
  color: #6366f1;
  font-size: 0.7rem;
}
.is-sponsor-separator {
  flex: 1;
  height: 1px;
  background: rgba(99,102,241,0.35);
}
.is-sponsor-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.is-avatar-sponsor {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: radial-gradient(circle at 35% 35%, hsl(0,0%,66%), hsl(0,0%,52%));
  font-size: 11px;
}
.is-sponsor-title {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: #111827;
}
.is-sponsor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: #6366f1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15,23,42,0.15);
  transition: opacity 0.15s, transform 0.1s;
}
.is-sponsor-btn:hover {
  opacity: 0.9;
}
.is-sponsor-btn:active {
  transform: scale(0.97);
}