/*@font-face {*/
/*    font-family: 'Yekan';*/
/*    src: url('../fonts/Yekan.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/



@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*body {*/
/*    font-family: 'Yekan', sans-serif;*/
/*    background-color: #f8f8f8;*/
/*}*/

body {
    font-family: 'YekanBakh', sans-serif;
}

.footer {
    background-color: #282828;
    color: white;
    padding: 40px 0 0 0;
}

.footer a {
    color: #BCBCBC;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .btn {
    background-color: #fbc02d;
    color: black;
    border: none;
}

.footer .btn:hover {
    background-color: #e6a600;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #111;
    color: white;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
}

.fs-7 {
    font-size: 14px;
}

.text-gray {
    color: #BCBCBC;
}

.bg-black {
    background-color: black;
}

.bg-yellow {
    background-color: #FEC752;
}


.footer-container {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    background-image: url('../images/base/footer.png');
    background-size: cover; /* تصویر کل پس‌زمینه رو بپوشونه */
    background-position: center; /* تصویر در وسط قرار بگیره */
    background-repeat: no-repeat; /* از تکرار شدن جلوگیری کن */

}

.footer-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: right;
}

.footer-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease-in-out;
}

.footer-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.base-card {
    transition: all 0.3s ease-in-out;
}

.base-card:hover {
    transform: scale(1.05);
    box-shadow: 00px 00px 10px 2px rgba(0, 0, 0, 0.2) !important;
    background: linear-gradient(135deg, #f3f3f3, #ffffff);
    cursor: pointer;
    /*box-shadow: 10px 10px 10px 10px black;*/
}

.base-card:hover img {
    transform: scale(1.2);
    transition: 0.5s;
}

.base-card img {
    transition: 0.5s;
}


.base-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* کارت را هم‌اندازه تنظیم می‌کند */
}

.market-icons {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto; /* این گزینه هم باعث وسط‌چین شدن می‌شود */
}


/* استایل‌های عمومی جدول */
.table-container {
    /*border-collapse: collapse;*/
    width: 100%;
    text-align: center;
    table-layout: fixed;
}

.table-container th,
.table-container td {
    text-align: center;
    vertical-align: middle;
}

/* استایل هدر جدول */
.table-container thead {
    background-color: #eceaea;
}

.table-container th {
    text-align: center;
}

.table-container th:nth-child(2) {
    text-align: right;
}

/* استایل ردیف‌ها */
.table-container tbody tr {
    cursor: pointer;
    border-bottom: 2px solid rgb(235, 235, 235);
    transition: background-color 0.3s;
}

.table-container tbody tr:hover {
    background-color: #ebebeb;
}

/* استایل سلول‌های خاص */
.td-right {
    text-align: right;
    direction: ltr;
}

.flex-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.flex-column {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.positive {
    color: #449681;
}

.negative {
    color: #df4c52;
}

.coin-logo {
    width: 40px;
    height: 40px;
}

.first-th {
    width: 50px;
}

.radius-12 {
    border-radius: 12px;
}

a.no-style {
    text-decoration: none;
    color: inherit;
}

.title {
    background-color: #E2E8EC;
    font-size: 30px ;
    color: #374F5B ;
    font-weight: 600;
}

.header-btn-delete {
    width: 120px;
    color: white;
    background-color: darkred;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
    transition: 0.5s;
}


.header-btn {
    width: 175px;
    color: white;
    background-color: #282828;
    border: none;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
    transition: 0.5s;
}

.header-btn:hover {
    background-color: #404040;
    transition: 0.5s;
}

.m-base {
    margin-top: 80px !important;
}


.base-percentage-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 40px;
}

.percentage-box {
    border-radius: 10%;
    background-color: #14d199;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.up-icon,
.down-icon {
    color: white;
    font-size: 25px;
}

.up-icon {
    margin-bottom: -12px;
}

.down-icon {
    margin-top: -12px;
}

.percentage-text {
    font-size: 16px;
    font-weight: bold;
    margin: 0px;
    color: white !important;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.main-price {
    font-size: 22px;
    margin: 0px;
}

.converted-price {
    font-size: 14px;
    color: grey;
    margin: 0px;
}

.base-border {
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
}


/* استایل اصلی برای بخش تحلیل */
.analysis-container {
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 300px;
    overflow-y: auto;
}

/* جعبه هر تحلیل */
.analysis-box {
    border-radius: 12px;
    padding: 10px;
    background-color: #fff;
    width: 100%;
    margin-bottom: 12px;
}

/* بخش بالایی تحلیل (تصویر + نام) */
.analysis-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* تصویر پروفایل کاربر */
.user-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-left: 8px;
}

/* نام تحلیلگر */
.user-name {
    margin: 0;
    font-weight: bold;
    /*font-family: 'YekanBakh', sans-serif;*/
}

/* عنوان تحلیل */
.analysis-title {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    /*font-family: 'YekanBakh', sans-serif;*/
}

/* محتوای تحلیل */
.analysis-content {
    text-align: justify;
    direction: rtl;
}

.analysis-content p {
    margin: 0;
    font-size: 14px !important;
    /*font-family: 'YekanBakh', sans-serif;*/
}

.black-btn {
    padding: 6px;
    background-color: black;
    color: white;
    border-radius: 5px;
    border: none;
    font-size: 20px
}

.white-btn {
    padding: 6px;
    background-color: white;
    color: black;
    border-radius: 5px;
    border: 1px solid black;
    font-size: 20px;
}

th{
    color : #4B546E !important;
}
.th-color{
    color : #4B546E !important;
}

.balck-title{
    font-size: 22px !important;
    font-weight: 800;
}

/*/////////////////*/

/* Container styles */
.card-container {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

/* Left section styles */
.card-left {
    width: 40vw;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Profile section */
.card-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Price and growth section */
.card-price {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
}

.card-price .growth {
    background-color: #2d8a2d;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    width: 70px;
    text-align: center;
    font-size: 14px;
}

/* Technical analysis section */
.card-analysis {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Button and like section */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 75px;
}

.card-actions .btn-custom {
    background-color: #f9f9f9;
    color: #4a4a4a;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
}

.card-actions .likes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c;
}

.card-actions .time {
    text-align: left;
    color: #999;
    font-size: 12px;
}

/* Chart section */
.card-chart {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.card-chart img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* Small images section */
.card-small-images {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.card-small-images img {
    width: 80px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.font-size-12{
    font-size: 12px !important;
}
.font-size-14{
    font-size: 14px !important;
}
.font-size-16{
    font-size: 16px !important;
}
.font-size-18{
    font-size: 18px !important;
}

.border-none{
    border: none !important;
}

.border-collapse{
    border-collapse: collapse !important;
}

table{
    border-color: #D3D3D3 !important;
}

.th-base-color{
    background-color: #f0f0f0 !important;
}

.th-base-color-2{
    background-color: #f2f2f2 !important;
}






 .containerTxt {
     position: relative;
     margin-bottom: 20px;
     overflow: hidden;
     padding-left: 20px;
     padding-right: 20px;
     padding-bottom: 20px;
 }

.contentTxt {
    height: 200px;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
}

.contentTxt.expanded {
    height: auto;
}

.fadeTxt {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 155px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
#show-more-text{
    display: block;
    margin: 0 auto;
    background-color: #282828;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 14px;

}
#aboutTxt{
    text-align: justify;
}

.bg-green{
    background-color: #14d199 !important;
}

.bg-red{
    background-color: red !important;
}

.color-white{
    color: white !important;
}

.bg-black2{
    background-color: #2b2b2b !important;
}

.flex-item {
    flex: 1; /* هر المان به طور مساوی فضای موجود را اشغال می‌کند */
    min-width: 0; /* جلوگیری از تأثیر محتوا روی عرض المان */
}

.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f8f8f8 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}



/*.user-img {*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    border-radius: 50%;*/
/*    object-fit: cover;*/
/*}*/

.skeleton-text {
    height: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.el-center{
    margin: 0 auto !important;
}

.text-gray-2{
    color: gray !important;
}

/* استایل پایه منو */
.nav-item.dropdown {
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    background: rgb(40, 40, 40);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(10px);
    display: none;
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 20px;
    margin: 4px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: #f0f0f0; /* رنگ متن روشن برای کنتراست بهتر */
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white !important;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dropdown-item:hover .dropdown-icon {
    color: white;
    transform: scale(1.1);
}

.dropdown-icon {
    margin-left: 10px;
    color: #f0f0f0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* استایل آیتم فعال */
.dropdown-item.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    color: white !important;
    font-weight: 600;
    position: relative;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-item.active .dropdown-icon {
    color: white !important;
    transform: scale(1.1);
}

.dropdown-item.active::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.3); }
    100% { transform: translateY(-50%) scale(1); }
}


/*/////////////////////////*/


/* استایل برای div سفید */
#fullscreen-overlay {
    display: none; /* مخفی بودن اولیه */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* فقط اسکرول در این پنجره */
    background-color: rgba(255, 255, 255, 1); /* رنگ پس‌زمینه تیره با شفافیت */
    z-index: 9999;
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%); /* شروع از پایین */
}

/* استایل برای دکمه ضربدر */
#close-overlay {
    position: absolute;
    top: 33px;
    left: 22px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    color: #ff4d4d; /* رنگ قرمز تیره برای دکمه */
}

#close-overlay:hover {
    color: #ff6666; /* رنگ قرمز کمی روشن‌تر هنگام هاور */
}

/* استایل برای search-bar */
.search-bar {
    width: 50%;
    margin-top: 75px !important;
    margin: 20px auto;
    background-color: #333; /* پس‌زمینه خاکستری تیره */
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

.search-bar input {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: #ddd; /* رنگ متن خاکستری روشن */
    padding: 8px;
}

.search-bar input::placeholder {
    color: #666; /* رنگ placeholder خاکستری تیره */
}

.search-bar .icons {
    display: flex;
    gap: 10px;
}

.search-bar .icon {
    color: #aaa; /* رنگ آیکون خاکستری روشن */
    font-size: 20px;
    cursor: pointer;
}

.search-bar .icon:hover {
    color: #ddd; /* رنگ آیکون هنگام هاور */
}

/* استایل اصلی برای icon-search */
.icon-search {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

.icon-search figure {
    width: 78px;
    border-radius: 8px;
    background-color: #2a2a2a; /* پس‌زمینه خاکستری تیره */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); /* سایه عمیق‌تر */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: perspective(500px) translateZ(0);
}

.icon-search figure:hover {
    background-color: #444; /* رنگ تیره‌تر هنگام هاور */
    transform: scale(1.05) translateY(-5px) rotateX(5deg) rotateY(5deg); /* افکت 3D */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4); /* سایه بزرگ‌تر */
}

.icon-search figure.selected {
    border: 2px dashed #666; /* خط دور خاکستری تیره */
    background-color: #1a1a1a; /* پس‌زمینه مشکی-خاکستری */
    transform: scale(1.1) translateY(-7px) rotateX(7deg);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.6); /* سایه عمیق‌تر */
}

.icon-search figure svg {
    display: block;
    margin: 0 auto 5px;
    border-bottom: 2px solid transparent;
    padding: 5px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.icon-search figure.selected svg {
    border-color: #777; /* خط دور خاکستری متوسط */
    transform: scale(1.2);
}

.icon-search figure:hover svg {
    transform: scale(1.3);
}

.icon-search figure figcaption {
    font-size: 14px;
    color: #ccc; /* متن خاکستری روشن */
    margin-top: 5px;
}

/* برای فیگورهایی که کلاس selected ندارند */
.icon-search figure:not(.selected) {
    border: 2px solid #444; /* خط دور خاکستری تیره */
    background-color: #333; /* پس‌زمینه خاکستری تیره */
}

.icon-search figure:not(.selected):hover {
    border-color: #666; /* رنگ خط دور هنگام هاور */
}

/* استایل متفاوت برای icon-search-type */
.icon-search-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

.icon-search-type figure {
    width: 75px;
    border-radius: 8px;
    background-color: #2a2a2a; /* پس‌زمینه خاکستری تیره */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: perspective(500px) translateZ(0);
}

.icon-search-type figure:hover {
    background-color: #444;
    transform: scale(1.05) translateY(-5px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.icon-search-type figure.selected {
    border: 2px solid #777; /* خط دور خاکستری متوسط */
    background-color: #1a1a1a; /* پس‌زمینه تیره‌تر */
    transform: scale(1.1) translateY(-7px) rotateX(7deg);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

.icon-search-type figure img {
    display: block;
    margin: 0 auto 5px;
    padding: 5px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.icon-search-type figure.selected img {
    border-color: #777; /* خط دور خاکستری متوسط */
    transform: scale(1.2);
}

.icon-search-type figure:hover img {
    transform: scale(1.1);
}

.icon-search-type figure figcaption {
    font-size: 14px;
    color: #ccc;
    margin-top: 5px;
}

/* برای فیگورهایی که کلاس selected ندارند */
.icon-search-type figure:not(.selected) {
    border: 2px solid #444;
    background-color: #333;
}

.icon-search-type figure:not(.selected):hover {
    border-color: #666;
}

#didbanHandle {
    /*color: white !important;*/
    font-size: 16px;
    font-weight: 100 !important;
    /*padding: 10px;*/
}



