
/* استایل برای جستجوهای پرتکرار */
.trending-searches {
    margin-top: 20px;
    padding: 15px;
}

.trending-searches h4 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.trending-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 0.5px solid #ddd;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.trending-tag:hover {
    background: rgba(0, 0, 0, 0.1);
}

#searchButton {
    display: none;  /* پیش‌فرض مخفی */
    backdrop-filter: blur(5px);
background: rgba(255, 255, 255, 0.1);  /* رنگ پس‌زمینه ابتدایی */
    color: var(--text-color);
    width: 100%;  /* عرض دکمه 100% */
    max-width: 1200px;  /* حداکثر عرض دکمه */
    padding: 0.75rem 1.25rem;  /* تغییر padding برای باریک‌تر کردن دکمه */
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);  /* نوار نازک سفید دور دکمه */
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* انیمیشن برای رنگ پس‌زمینه، اثر کلیک و حالت موج */
    margin-top: 20px;  /* فاصله از بالای باکس */
    display: flex;  /* استفاده از فلکس برای وسط‌چینی */
    justify-content: center;  /* افقی مرکز کردن دکمه */
    align-items: center;  /* عمودی مرکز کردن دکمه */
    position: relative; /* برای استفاده از زوایای داخلی */
}

/* استایل برای دکمه جستجو در حالت هاور */
#searchButton:hover {
    background-color: rgba(255, 255, 255, 0.1);; /* رنگ پس‌زمینه دکمه در هاور */
    transform: scale(1.05); /* بزرگ شدن دکمه */
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.3);  /* اثر هاله سفید که از داخل شروع می‌شود */
}

/* استایل برای دکمه جستجو در حالت کلیک */
#searchButton:active {
    background-color: #666;  /* رنگ پس‌زمینه در هنگام کلیک */
    box-shadow: 0 0 30px 15px rgba(255, 255, 255, 0.5);  /* اثر هاله سفید بزرگتر در هنگام کلیک */
}

/* انیمیشن برای دکمه جستجو زمانی که در حال تایپ است */
#searchButton {
    animation: waveAnimation 1.5s infinite ease-in-out; /* انیمیشن موج */
}

/* انیمیشن موج که از داخل دکمه شروع می‌شود */
@keyframes waveAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);  /* شروع از داخل */
    }
    50% {
        box-shadow: 0 0 15px 8px rgba(255, 255, 255, 0.4);  /* گسترش به بیرون */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);  /* برگشت به حالت اولیه */
    }
}

/* کانتینر اصلی */
.p-4 {
    padding: 1.5rem;
    border: 2px solid rgba(59, 130, 246, 1); /* نوار دور آبی پررنگ */
    background-color: rgba(59, 130, 246, 0.2); /* پس‌زمینه آبی کم‌رنگ */
    border-radius: 0.375rem; /* گوشه‌های گرد */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem; /* فاصله از پایین */
}

/* آیکون */
.bg-primary\/20 {
    background-color: rgba(59, 130, 246, 0.2); /* پس‌زمینه آبی کم‌رنگ */
    padding: 0.5rem;
    border-radius: 50%; /* گرد کردن آیکون */
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-primary {
    color: rgba(59, 130, 246, 1); /* رنگ آیکون آبی پررنگ */
}

.lucide-external-link {
    width: 1.2rem; /* اندازه آیکون سمت چپ */
    height: 1.2rem;
}

/* متن توضیحات */
.text-sm {
    font-size: 0.875rem; /* اندازه متن کوچک */
    color: white; /* رنگ متن سفید */
    text-align: center; /* متن در وسط */
    margin-right: 1rem; /* فاصله از آیکون */
}

/* دکمه */
.bg-primary {
    background-color: rgba(59, 130, 246, 1); /* رنگ پس‌زمینه دکمه */
    color: white;
    padding: 0.5rem 1.5rem; /* فاصله داخلی */
    border-radius: 0.375rem; /* گوشه‌های گرد دکمه */
    text-align: center;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    width: 100%; /* کشیده‌تر شدن دکمه */
    max-width: 190px; /* حداکثر عرض دکمه */
    text-decoration: none
}

.bg-primary:hover {
    background-color: rgba(59, 130, 246, 0.9); /* تغییر رنگ در حالت هاور */
}

.flex.items-center {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* فاصله بین آیکون و متن دکمه */
}

/* تنظیمات دکمه برای جلوگیری از حالت لینک */
.bg-primary:active {
    text-decoration: none; /* عدم نمایش لینک فعال */
    outline: none; /* حذف حاشیه اطراف */
    cursor: pointer; /* نشانگر موس به حالت دکمه */
}

.bg-primary:focus {
    outline: none; /* حذف حاشیه */
}

/* آیکون تلگرام */
.w-4 {
    width: 2rem; /* اندازه کوچکتر آیکون تلگرام */
    height: 2rem;
}


/* کانتینر اصلی */
.insta-container {
    padding: 1.5rem;
    border: 2px solid #E1306C; /* نوار دور به رنگ اینستاگرام */
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); /* پس‌زمینه گرادیانت */
    border-radius: 0.75rem; /* گوشه‌های گرد */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* آیکون */
.icon-bg {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-insta {
    color: #E1306C; /* رنگ آیکون اینستاگرام */
}

/* متن توضیحات */
.text-sm {
    font-size: 0.875rem;
    color: white;
    margin-right: 1rem;
}

/* دکمه اینستاگرام */
.btn-insta {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    display: inline-block;
    margin-top: 1rem;
    transition: opacity 0.3s ease;
    width: 100%;
    max-width: 200px;
    text-decoration: none;
    font-weight: bold;
}

.btn-insta:hover {
    opacity: 0.8;
}

/* تنظیمات دکمه */
.btn-insta:active {
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.btn-insta:focus {
    outline: none;
}

/* آیکون اینستاگرام */
.w-4 {
    width: 1.5rem;
    height: 1.5rem;
      z-index : 1000;
}

/* گرادیانت رنگ اینستاگرام */
:root {
    --insta-gradient: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

/* پس‌زمینه اینستاگرامی */
.bg-gradient-insta-light {
    background: linear-gradient(135deg, #fde2e4, #fad2e1, #e2d4f0);
}

/* استایل دکمه اینستاگرام */
.btn-insta {
    background: var(--insta-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    transition: 0.3s ease;
}

.btn-insta:hover {
    filter: brightness(1.1);
}

/* استایل حاشیه اینستاگرام */
.border-gradient-insta {
    border-image-source: var(--insta-gradient);
    border-image-slice: 1;
    border-width: 2px;
}
