﻿.text-truncate-100 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100px; /* یا هر عرض دلخواه */
}

.text-truncate-200 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px; /* یا هر عرض دلخواه */
}

.text-truncate-400 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 400px; /* یا هر عرض دلخواه */
}

.text-truncate-500 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 500px; /* یا هر عرض دلخواه */
}

@import url(font/primary-iran-yekan.css);
@import url(font/secondary-iran-yekan.css);

@font-face {
    font-family: 'yekanbakhfanum-regular';
    src: url('../font/yekanbakhfanum-regular.woff2') format('woff2');
}
* {
    font-family: 'yekanbakhfanum-regular', sans-serif !important;
}

::-webkit-scrollbar {
    display: none;
}

.gradient-bg {
    background: linear-gradient(120deg, #E61E4D 0%, #F23D5E 100%);
}

.highlighted-section {
    outline: 2px solid #3F20FB;
    background-color: rgba(63, 32, 251, 0.1);
}

.edit-button {
    position: absolute;
    z-index: 1000;
}

::-webkit-scrollbar {
    display: none;
}

html,
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.tab-item.active {
    border-bottom-color: #E61E4D;
    color: #E61E4D;
    background-color: white;
}

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

#tabs li {
    transition: all 0.2s;
}

    #tabs li.active {
        color: #E61E4D;
        border-bottom: 2px solid #E61E4D;
        background-color: white;
        font-weight: bold;
    }

    #tabs li:not(.active) {
        color: #6B7280;
        /* text-gray-500 */
        border-bottom: 2px solid transparent;
    }

.alavan-carbon-black {
    background-color: #032d60;
}

.alavan-carbon-black-font {
    color: #032d60;
}

.alavan-cyan-blue {
    background-color: rgba(25, 191, 211, 0.09);
    color: #0a6270;
}


.spinner-border {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
    border-width: 0.3em;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    z-index: 9999 !important;
}

.text-card {
    display: flex;
    width: 137px;
    height: 138px;
    padding: 24px 24px 16px 24px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

    .text-card:hover {
        background-color: #f8f9fa;
    }

.text-card-img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.audio-card {
    display: flex;
    width: 137px;
    height: 138px;
    padding: 24px 24px 16px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

    .audio-card:hover {
        background-color: #f8f9fa;
    }

.selected {
    border-color: #ED1944 !important;
    /*    background-color: #ffe6e9;
*/
}

.selected-text {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.audio-container {
    border: 2px #aaa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.audio-card-img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
/* Container for the audio player */
/*.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 400px;
}

.audio-player-Asr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    border-radius: 10px;
    padding-bottom: 20px;
    width: 87%;
}*/

/* The audio progress slider */

/*input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    background-color: white;
    border: 4px solid #e60046;
    direction: rtl;
    transition: background 0.1s ease;
    transform: scaleX(-1);
}

input[type="range"] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
    direction: rtl;
    transition: background 0.1s ease;
    transform: scaleX(-1);
}

    input[type="range"]:hover {
        background: linear-gradient(to right, #e60046, #ff4081);
    }

    input[type="range"]:active {
        background: linear-gradient(to right, #ff4081, #e60046);
    }

#audio-progress {
    direction: rtl;
}*/
/* Styling for the play/pause button */
.play-pause-btn {
    background-color: #e60046;
    border: none;
    padding: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .play-pause-btn:hover {
        background-color: #c6003e;
    }

    .play-pause-btn:focus {
        outline: none;
    }

    .play-pause-btn i {
        color: white;
        font-size: 20px;
    }

.audio-player > input[type="range"] {
    flex-grow: 1;
    max-width: 100%;
}

@media (max-width: 480px) {
    .audio-player {
        flex-direction: column;
        width: 100%;
    }

    input[type="range"] {
        max-width: 100%;
    }
}

.time {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
}

#loadingIndicator {
    z-index: 9999 !important;
}

.loadingIndicator {
    z-index: 9999 !important;
}

#ResponseModel {
    position: relative;
}

#ocrLoadingIndicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
}

#outputText {
    margin: 20px;
}

#outputTextDemo {
    margin: 20px;
}

.pre {
    font-family: "Courier New", monospace;
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ccc;
    white-space: pre-wrap;
}

#playPauseBtnDemo:hover {
    background-color: #ff4081;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#playPauseIconDemo {
    transition: transform 0.3s ease, color 0.3s ease;
}

#current-time {
    max-width: 10px;
}

#current-timeDemo {
    max-width: 10px;
}

button:disabled {
    background-color: #98999B;
    cursor: progress !important;
}

    button:disabled:hover {
        background-color: #98999B;
        cursor: progress !important;
    }

.selected-image {
    border: 2px solid #ED1944;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

#uploadImage {
    flex-direction: column-reverse;
    justify-content: start !important;
    align-items: start !important;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

svg text {
    font-family: "YekanBakh" !important;
}

.close {
    position: absolute;
    left: 15px;
    top: 15px;
    transform: translateY(-50%);
}

.invalid-feedback {
    display: none; /* در ابتدا مخفی است */
    font-size: 0.875rem;
    color: red;
    position: absolute;
    margin-top: 2px;
}

form#report-form > div {
    border-bottom: none !important;
}

.custom-readonly {
    background-color: #fff !important;
    color: #000 !important;
    cursor: pointer;
    pointer-events: auto;
    border-color: #ced4da; /* برای ظاهر بهتر فرم */
}

/* مطمئن شو که همه حالت‌های readonly پوشش داده شده */
input[readonly].custom-readonly {
    background-color: #fff !important;
    opacity: 1 !important;
}

.toast-title {
    font-weight: bold;
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

    .toast-message a,
    .toast-message label {
        color: #ffffff;
    }

        .toast-message a:hover {
            color: #cccccc;
            text-decoration: none;
        }

.toast-close-button {
    position: relative;
    left: -0.3em;
    top: -0.3em;
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.8;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
}

    .toast-close-button:hover,
    .toast-close-button:focus {
        color: #000000;
        text-decoration: none;
        cursor: pointer;
        opacity: 0.4;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
        filter: alpha(opacity=40);
    }

/*Additional properties for button version
 iOS requires the button element instead of an anchor tag.
 If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.toast-top-center {
    top: 0;
    left: 0;
    width: 100%;
}

.toast-bottom-center {
    bottom: 0;
    left: 0;
    width: 100%;
}

.toast-top-full-width {
    top: 0;
    left: 0;
    width: 100%;
}

.toast-bottom-full-width {
    bottom: 0;
    left: 0;
    width: 100%;
}

.toast-top-left {
    top: 33px;
    right: 33px;
}

.toast-top-right {
    top: 33px;
    left: 33px;
}

.toast-bottom-right {
    left: 33px;
    bottom: 33px;
}

.toast-bottom-left {
    bottom: 33px;
    right: 33px;
}

#toast-container {
    position: fixed;
    z-index: 999999;
    /*overrides*/
}

    #toast-container * {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #toast-container > div {
        position: relative;
        overflow: hidden;
        margin: 0 0 6px;
        padding: 15px 50px 15px 15px;
        width: 300px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background-position: right 15px top 50%;
        background-repeat: no-repeat;
        color: #ffffff;
        opacity: 1;
    }

        #toast-container > div:hover {
            cursor: pointer;
        }

    #toast-container > .toast-info {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
    }

    #toast-container > .toast-error {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=") !important;
    }

    #toast-container > .toast-success {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
    }

    #toast-container > .toast-warning {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
    }

    #toast-container.toast-top-center > div,
    #toast-container.toast-bottom-center > div {
        width: 300px;
        margin-right: auto;
        margin-left: auto;
    }

    #toast-container.toast-top-full-width > div,
    #toast-container.toast-bottom-full-width > div {
        width: 96%;
        margin-right: auto;
        margin-left: auto;
    }

.toast {
    background-color: #242328;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.toast-success {
    background-color: #0abb87 !important;
}

.toast-error {
    background-color: #e04b4b !important;
}

.toast-info {
    background-color: #55a6eb !important;
}

.toast-warning {
    background-color: #ffb822 !important;
}

.toast-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #000000;
    opacity: 0.2;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=20);
    filter: alpha(opacity=20);
}
/*Responsive Design*/
@media all and (max-width: 240px) {
    #toast-container > div {
        padding: 8px 50px 8px 8px;
        width: 11em;
    }

    #toast-container .toast-close-button {
        left: -0.2em;
        top: -0.2em;
    }
}

@media all and (min-width: 241px) and (max-width: 480px) {
    #toast-container > div {
        padding: 8px 50px 8px 8px;
        width: 18em;
    }

    #toast-container .toast-close-button {
        left: -0.2em;
        top: -0.2em;
    }
}

@media all and (min-width: 481px) and (max-width: 767px) {
    #toast-container > div {
        padding: 15px 50px 15px 15px;
        width: 25em;
    }
}

.speaker-option.selected {
    border-color: #E61E4D !important;
    box-shadow: 0 0 10px rgba(230, 30, 77, 0.2);
    transition: all 0.3s ease;
}

#outputContent {
    position: relative;
}

#ocrLoadingIndicator {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 50;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* کانتینر پلیر */
.plyr {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* کنترل‌ها */
.plyr__controls {
    background-color: transparent;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* دکمه‌ها */
.plyr__control {
    background: none;
    border: none;
    color: #E61E4D !important;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px;
    border-radius: 4px;
}

    .plyr__control:hover,
    .plyr__control:focus {
        color: #B7153A !important;
        outline: none;
        background-color: rgba(230, 30, 77, 0.1);
    }

    .plyr__control svg {
        fill: currentColor;
        width: 20px;
        height: 20px;
    }

.plyr__progress {
    flex: 1;
    height: 6px;
    background-color: #ddd !important; /* رنگ خاکستری کم‌رنگ */
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* نوار پر شده (played progress bar) */
.plyr__progress--played {
    background-color: #E61E4D !important; /* رنگ دلخواه شما */
    border-radius: 3px 0 0 3px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0 !important; /* این خط تضمین می‌کند که از سمت چپ پر شود */
    width: 0%; /* عرض این نوار را JS به‌روزرسانی می‌کند */
    transition: width 0.3s ease;
}

    /* جلوگیری از چرخش یا تغییر جهت توسط JS یا Plyr */
    .plyr__progress--played[style*="right"] {
        right: auto !important;
        left: 0 !important;
    }

.plyr--full-ui input[type=range] {
    height: 5px !important;
}
/* کنترل‌های اضافی مخفی */
.plyr__controls > [data-plyr="pip"],
.plyr__controls > [data-plyr="captions"],
.plyr__controls > [data-plyr="settings"],
.plyr__controls > [data-plyr="fullscreen"] {
    display: none;
}

.plyr__control:hover {
    background: #e61e4d33 !important;
}

:root {
    --plyr-color-main: #E61E4D !important;
    --plyr-range-fill-background: #E61E4D !important; /* این هم در صورت استفاده */
}


#model .copy-button {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

.markdown-body hr {
    display: none;
}
/* متن فارسی راست‌چین */
.markdown-body {
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    color: #222;
}

    /* کدها چپ‌چین */
    .markdown-body pre,
    .markdown-body code {
        direction: ltr !important;
        text-align: left;
        font-family: 'Courier New', monospace;
        padding: 1rem;
        border-radius: 6px;
        overflow-x: auto;
        position: relative;
    }

/* هدر بالا برای دکمه */
.header-pre {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.3rem;
}

/* دکمه کپی */
.copy-button {
    background-color: #3f51b5;
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: 0.3s ease;
}

    .copy-button:hover {
        opacity: 1;
    }

.json-format {
    font-family: monospace;
    white-space: pre;
    direction: ltr;
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #333;
    overflow-x: auto;
    text-align: left; /* این مهمه */
    display: inline-block; /* برای جلوگیری از center شدن در بعضی layoutها */
}

#model-card-1 {
    height: 400px;
}
.gradient-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-buttons {
    display: flex;
    border-bottom: 2px solid #ddd;
    justify-content: flex-start;
    padding: 0;
    gap: 0.25rem;
    direction: ltr;
    text-align: left;
}

    .tab-buttons button {
        background: #f9f9f9;
        border: 1px solid #ccc;
        border-bottom: none;
        padding: 0.5rem 1.25rem;
        cursor: pointer;
        font-weight: 500;
        border-radius: 8px 8px 0 0;
        transition: all 0.3s ease;
        color: #333;
    }

        .tab-buttons button:hover {
            background: #eee;
        }

        .tab-buttons button.active {
            background: #fff;
            border-color: #ccc;
            border-bottom: 2px solid white;
            font-weight: 600;
            color: #E61E4D;
            position: relative;
            top: 2px;
        }


    .tab-content.active {
        display: block;
    }

#notification-dropdown {
    position: absolute;
    left: 0; /* چپ‌چین برای باز شدن به سمت چپ */
    top: 100%;
    margin-top: 8px;
    width: 250px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 50;
    text-align: right; /* تنظیم جهت متن */
}
.markdown-body h1{
    font-size:24px !important;
}
.copy-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 4px;
}

.code-wrapper {
    margin-top: 1rem;
}

.copy-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

select {
    cursor: pointer;
}
.empty-state {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 1rem;
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease-in-out;
}

    .empty-state:hover {
        background-color: #f1f3f5;
    }

.empty-icon {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
    color: #6c757d;
}

.empty-text {
    font-size: 1.25rem;
    color: #6c757d;
    margin-top: 1rem;
    font-weight: 500;
}
