.stock-detail {
    margin: 50px 0;
    padding: 20px;
}
.stock-chart-alignment-container {
    direction: rtl;
    text-align: right;
    width: 60%;
    margin: 0 auto;
    padding: 20px;
}
.stock-chart-alignment-container h2, .stock-chart-alignment-container h3 {
    text-align: right;
}
.stock-chart-alignment-container h3 {
    font-size: clamp(12px, 2vw, 18px);
}
.stock-chart-alignment-container h2 {
    font-size: clamp(14px, 2vw, 22px);
    font-weight: bold;
}
.price {
    font-size: clamp(10px, 2vw, 14px);
    line-height: 25px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.stock-price-difference-prev-day{
    direction: ltr;
    text-align: right;
    font-size: clamp(10px, 2vw, 14px);
    line-height: 17px;
    margin: 5px;
}
.price-last-updated{
    font-size: clamp(10px, 2vw, 14px);
    line-height: 17px;
}
.negative {
    color: red;
}
.positive {
    color: green;
}
.rankings, .ai-score {
    text-align: right;
    margin-top: 20px;
}
.ai-score{
    display: flex;
    align-items: center;
    width: 95%; /* Ensure it takes the full width of the container */
    /* justify-content: space-between;  */
}
.stock-chart{
    direction: rtl;
    margin: 0 auto;
    width: 60%;
    border:1px solid #ddd;
    background-color: #fff;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    height: auto;
    overflow: hidden; /* جلوگیری از بیرون زدن */
}
.stock-chart iframe {
    width: 60% !important; /* اطمینان از اینکه iframe به درستی واکنش‌گرا می‌شود */
    height: 400px; /* می‌توانید ارتفاع را ثابت یا متغیر بگذارید */
}
#sentiment-chart {
    width: 100%;
    height: auto;
}

.scores-explanation-wrapper{
    direction: rtl;
    margin: 0 auto;
    width: 60%;
    border:1px solid #ddd;
    background-color: #fff;
}
.scores-explanation-wrapper h2{
    font-size: clamp(14px, 2vw, 22px);
    padding: 15px;
}

.smart-score-punctuation-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 18px;  
    padding: 10px;
}
.smart-score-big-ticker {
    width: 113px;
    height: 140px;
    border:1px solid #ddd;
    border-radius: 10px;
    /* flex: 1; */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

}
.analysis-smart-score-mobile{
    display: none;
}
@media (max-width: 700px) {
    .ticker-page-smart-scores-mobile {
        display: flex; /* فعال‌سازی نمایش flex */
        /* flex-direction: row; */
        align-items: center; /* مرکزیت عناصر */
        width: 100%; /* کل عرض نمایشگر */
        padding: 0; /* حذف فاصله‌های اضافی */
        margin: 0; /* حذف حاشیه‌های اضافی */
        background-color: #fff;
        border:1px solid #ddd;
        border-top: none;
    }
    .ticker-page-smart-scores, .analysis-smart-score{
        display: none;

    }
    .ai-score {
        justify-content: center; /* ترازبندی مرکز برای المان باقی‌مانده */
    
        gap: 0; /* حذف فاصله بین آیتم‌ها */
        padding: 0; /* حذف Padding اضافی */
    }
    .ai-score {
        align-items: center; /* ترازبندی مرکز */
        justify-content: center; /* ترازبندی افقی مرکز */
        width: 80%;
      }
    .smart-score-big-ticker {
        display: flex;
        flex-direction: column; /* چینش امتیاز بزرگ به صورت ستونی */
        align-items: center; /* مرکزیت امتیاز */
        text-align: center;
        max-width: 100%; /* کل عرض نمایشگر */
        width: 90%;
        margin: 0; /* حذف فاصله‌های اضافی */


        max-height: max-content;
        justify-content: center;
        position: relative;
    }

    .smart-score-punctuation-section-mobile {
        display: flex; /* چینش flex */
        flex-direction: row; /* دایره‌ها به صورت افقی */
        justify-content: center; /* مرکزیت چینش */
        width: 100%; /* پهنای کل */
        margin: 5px 0; /* فاصله مناسب بین خطوط */
        padding-left: 10PX;
    }
    .analysis-smart-score-mobile{
        max-width: 100%;
        display: flex;
        align-items: center;

    }
}

.score-details {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.stock-detail-container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 60%;
    border:1px solid #ddd;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #fff;
    padding-bottom: 20px;
}
@media (max-width: 420px) {
    .stock-detail-container {
        display: inline-block;
        direction: rtl;
    }
    .smart-score-punctuation-container{
        width: 60%;
    }
}

.circle-container2 {
    position: relative;
    width: 60%;
    /* height: 50%; */
    display: inline-block;
    text-align: center;
    font-weight: bold;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    
}
.circle-container3 {
    position: relative;
    /* width: 50%; */
    /* height: 50%; */
    height: 100px; 
    display: inline-block;
    text-align: center;
    font-weight: bold;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    
}
.score {
    font-size: clamp(10px, 2vw, 14px);
    margin-bottom: 8px;
}


.circle-svg2 {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.circle-bg2 {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 4;
}

.circle-progress2 {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s;
    transform: rotate(90deg);
    transform-origin: center;
}

.circle-text2 {
    position: absolute;
    font-size: clamp(10px, 2vw, 14px);
    fill: #666;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top: 5%; */
    /* padding-right: 2%; */
    /* padding-left: 2%; */
}

.circle-text4 {
    position: absolute;
    font-size: clamp(12px, 2vw, 18px);
    fill: #666;
    /* top: 0;
    left: 0; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top: 30%; */
    /* padding-right: 2%; */
    /* padding-left: 2%; */
}

.circle-buy-sell{
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 2vw, 14px);
    margin-bottom: 8px;
}


/* *************************************************** */
.circle-text3 {
    position: absolute;
    font-size: clamp(12px, 2vw, 18px);
    fill: #666;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top: 3%; */
}
.ticker-page-smart-scores {
    max-width: 50%;
    justify-content: flex-start;
    /* align-items: right; */
    padding-right: 8px;
    display: flex;
    flex: 1;
    
}
.analysis-smart-score {
    width: 100%;
    direction: rtl;
    padding-top: 0;
    padding-bottom: 0;
}
.smart-score-punctuation-section {
    position: relative;
    align-items: center;
    display: flex;
    padding-bottom: 2px;
}
.smart-score-puntuations-small .smart-score-punctuation-section {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.smart-score-puntuations-small{
    margin: 7px;
    font-size: clamp(9px, 2vw, 12px);

}

.top-table-stock-page{
    padding: 20px;
    display: flex;
    justify-content: space-between;
}
.top-table-text{
    text-align: right;
    padding: 5px;
    width: 85%;
    font-size: clamp(10px, 2vw, 16px);
}
.top-table-score{
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    width: 15%;
    /* padding-bottom: 6%; */
}
@media (max-width: 500px) {
    .top-table-score {
        width: 50%;
    }
}

.probability-scores-exp{
    border-bottom:1px solid #ddd;
    width: 95%;
    margin: 0 auto;
    text-align: right;
    padding: 10px;
}
.probability-text{
    font-size: clamp(10px, 2vw, 14px);
}
.bold-text{
    font-weight: bold;
}
.beating-market-explanation{
    margin-top: 24px;
    margin-bottom: 8px;
    text-align: right;
    padding: 15px;
    font-size: clamp(10px, 2vw, 16px);
}
.probability-explanation{
    text-align: right;
    padding: 15px; 
    font-size: clamp(10px, 2vw, 16px);
}
.list{
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}
.hidden-row {
    display: none;
}

.tr-view-all, .tr-view-less {
    text-align: rigth;
}

.scores-explanation-view-all {
    display: flex;
    align-items: center;

    height: 63px;
    padding-left: 30px;
    padding-right: 47px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    text-align: right;
    color: var(--clr-links);
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.view-all {
    cursor: pointer;
    color: #007bff;
}
.view-all img {
    margin-left: 5px;
}
.show-less-rows img {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-bottom: 2px;
}
.progress-bar-view-more {
    display: inline-block;
    margin-left: 10px;
}
/* ------------------------------------ */
.hidden-row {
    display: none;
}
.overall-punctuation-section{
    position: relative;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px;
    border-top: 2px solid #dfdfdf;
    font-size: clamp(10px, 2vw, 14px);
}
.overall-explanation{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 23px;
    padding-right: 20px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /* padding-top: 10px; */
}
.overall-score-donut {
    padding-top: 10px;
    padding-bottom: 20px;
}
.overall-alpha-odds-item-title{
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.overall-text{
    padding-right: 10px;
    font-weight: bold;
}
.significant-changes{
    padding-right: 20px;
    padding-bottom: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    direction: rtl;
    font-size: clamp(11px, 2vw, 16px);
}
.ticker_page_section {
    margin: 0 auto;
    width: 60%;
    background-color: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    direction: rtl;
    padding-right: 20px;

}
.average-past-container, .ScoresEvolution{
    margin: 0 auto;
    width: 60%;
    background-color: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding-top: 20px;
    direction: rtl;
}
.generic-ticker-file-title {
    font-size: clamp(14px, 2vw, 20px);
    line-height: 26px;
    font-weight: bold;
    text-align: right;

}
.generic-ticker-file-description, .generic-ticker-file-texts{
    direction: rtl;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 40px;
}

.chart-section {
    top: 20%;
    right: 0;
    padding: 15px;
    z-index: 1000;
    text-align: right;}

@media (max-width: 1400px) {
    .stock-chart-alignment-container, .stock-chart, .scores-explanation-wrapper, .stock-detail-container, .average-past-container {
        width: 100%;
    }
}
.generic-ticker-file-texts h1{
    font-size:  clamp(14px, 2vw, 22px);
    
}
.stock-detail-table{
    font-size: clamp(10px, 2vw, 16px);
}
@media (min-width: 700px) and (max-width: 1100px) {
    .smart-score-big-ticker {
        max-width: 50%;
    }
}
