:root {
    --maxWidth: 685px;
    --color1: #ffffff;
    --color2: black;
    --hyperlink: #4c4c44;
    --hyperlink-hover: #363631;
    --color3: #564a51;
    --color4: #00000009;
    --color5: #587387;
    --color6: #ffffffa0;/*#e8e8e8aa;*/
    --color7: #c1c0b4;
    --color8: #626359;
    --color9: #33332d;
    --color10: #50514a;
    --color11: #42423f;
    --colorShort: #ffa8a8;
    --colorLong:#a2f3c5;
    --colorNeutral:#fff6b3;
    --color12:#2f2f2f;
    --color13: #454648;
    --svg-filter: invert(0.7) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(91%);
    /* --color14: #0000004f; */
    --color14: #2d000040;
    --color15: #d6d6d6;
    --color16: #5d5d5d;
    --footer-link: url('/static/images/footer-bg-3-light.png');
    --color17: #ff9500;
    --svg-filter2: invert(0.8);
    --color18: #ffffff40;
    --color19: #1f1f1f;
    --color20: #424242;
    --color21: #ffffff8f;
    --color22: #e6e6e6;
    --color23: #5c5c53;
    --color24: #ffffff8f;
    --color25:#e6eaf2;
    --color26:#ffffff;
    --color27:#47d63eed;
    --color28:#12801941;
    --color29:#ff6767e6;
    --color30:#ff3b3bb0;
    --color31:#47463f;
    --trclr1:#CF697890;
    --trclr2:#C5728690;
    --trclr3:#BA7B9590;
    --trclr4:#AF84A490;
    --trclr5:#A58CB190;
    --trclr6:#9996C290;
    --trclr7:#8F9FD090;
    --trclr8:#84A8DE90;
    --trclr9:#7AB0EC90;
    --trclr10:#6FBAFB90;

    --aiclr1:#f4404090;
    --aiclr2:#e8493c90;
    --aiclr3:#bb6d2b90;
    --aiclr4:#8e912290;
    --aiclr5:#76a41c90;
    --aiclr6:#6aaf2290;
    --aiclr7:#4acf3390;
    --aiclr8:#32e64090;
    --aiclr9:#21f84a90;
    --aiclr10:#1afe4d90;

    --aiclr11: #06806b;
    --aiclr12: #cc2f3c;

    /* --aiclr1:#F48C4090;
    --aiclr2:#E1954490;
    --aiclr3:#CDA04990;
    --aiclr4:#BAAA4E90;
    --aiclr5:#A6B45290;
    --aiclr6:#93BE5790;
    --aiclr7:#80C85B90;
    --aiclr8:#6CD36090;
    --aiclr9:#59DD6590;
    --aiclr10:#46E76A90; */

    --color32: #19264f;
    --color33:#00000080;
    --color34: #4e4e48;
    --color35: #c1c1c1;
    --colorcomment1: #2a2a2a; 
    --colorcomment2: #f9f9f9; 
    --colorcomment3: #ffffff; 
    --colorcomment4: #e6e6e6;  
    --colorcomment5: #d0d0d0;  
    --color36: #463c3c;
    --color37:#f2f2ec90;
    --color38:#4b4343;
    --color39:#edede5;
    --color40:#decfef;
    --color41:#f9d3d2;
    --color42:#c6afc160;
    --color44: #efefef;
    --color45:#838383;
    --color46:#f8f8f8;
    --color47: #c1c0b464;
    --color48: #d6d6d6;
    --color49: #6fbafb;
    --color50: #8b578717;
    --color51: #555;
    --color52: #ffffff;
    --color53: #f7f7f7;
    --color54: #949494;
    --color55: #564a51bf;



}

:root.dark-theme{
    --maxWidth: 685px;
    --color1: #111317;
    --color2: white;
    --hyperlink: #cacabb;
    --hyperlink-hover: #b0b0a3;
    --color3: #d8d6ca;
    --color4: #ffffff15;
    --color5: #b6cedf;
    --color6: #1e1e1eaa;
    --color7: #343434;
    --color8: #a7a89f;
    --color9: #fff;
    --color10: #a9ab9f;
    --color11: #BDBDB5;
    --colorShort: #580000;
    --colorLong:#005826;
    --colorNeutral:#5B5314;
    --color12:#e1e1e1;
    --color13: #B0B3B8;
    --svg-filter: none;
    /* --color14: #ffffff4f; */
    --color14: #2d000040;
    --color15: #383838;
    --color16: #A7A7A0;
    --footer-link: url('/static/images/footer-bg-3.png');
    --color17: #ffffff;
    --svg-filter2: invert(0);
    --color18: #1b1f23;
    --color19: #e8e8e8;
    --color20: #c9c9c9;
    --color21: #17181e;
    --color22: #272931;
    --color23: #adad9e;
    --color24: #181b1f70;
    --color25:#1b1e23;
    --color26: #14171b;
    --color27:#31a8294a;
    --color28:#12801941;
    --color29:#a829294a;
    --color30:#80121241;
    --color31: #939183;
    --trclr1:#cf697870;
    --trclr2:#C5728670;
    --trclr3:#BA7B9570;
    --trclr4:#AF84A470;
    --trclr5:#A58CB170;
    --trclr6:#9996C270;
    --trclr7:#8F9FD070;
    --trclr8:#84A8DE70;
    --trclr9:#7AB0EC70;
    --trclr10:#6FBAFB70;
    --aiclr1:#F48C4070;
    --aiclr2:#E1954470;
    --aiclr3:#CDA04970;
    --aiclr4:#BAAA4E70;
    --aiclr5:#A6B45270;
    --aiclr6:#93BE5770;
    --aiclr7:#80C85B70;
    --aiclr8:#6CD36070;
    --aiclr9:#59DD6570;
    --aiclr10:#46E76A70;
    --color32: #fff;
    --color33:#ffffff80;
    --color34: #c4c4b8;
    --color35: #363636;
    --colorcomment1: #dfdfdf;
    --colorcomment2: #111317;
    --colorcomment3: #1b1f28;
    --colorcomment4: #34353c;
    --colorcomment5: #242d36;
    --color36: #ddd;
    --color37:#2a2a2a;
    --color38:#ddd;
    --color39:#2a2a2a;
    --color40:#1a5358;
    --color41:#571a58;
    --color42:#35354760;
    --color44: #363636;
    --color45: #c9c9c9;
    --color46:#38262e;
    --color47: #343434;
    --color48: #757575;
    --color49: #6fbafb;
    --color50: #ba5ab317;
    --color51: #808080;
    --color52: #00000042;
    --color53: #e9e9e90a;
    --color54: #727272;
    --color55: #d8d6cabe;
}

/* --- Athiti Latin Letters --- */

@font-face {
    font-family: 'Athiti-Latin';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wAoDBCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0020-002F, U+003A-007E; /* basic Latin punctuation and letters */
}

@font-face {
    font-family: 'Athiti-Latin';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/athiti/pe0vMISdLIZIv1wICxJXKNWyAw.woff2') format('woff2');
    unicode-range: U+0020-002F, U+003A-007E;
}

@font-face {
    font-family: 'Athiti-Latin';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wA-DFCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0020-002F, U+003A-007E;
}

@font-face {
    font-family: 'Athiti-Latin';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wA1DZCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0020-002F, U+003A-007E;
}

/* --- Athiti Numbers --- */

@font-face {
    font-family: 'Athiti-Numbers';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wAoDBCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0030-0039; /* digits 0-9 */
}

@font-face {
    font-family: 'Athiti-Numbers';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/athiti/pe0vMISdLIZIv1wICxJXKNWyAw.woff2') format('woff2');
    unicode-range: U+0030-0039;
}

@font-face {
    font-family: 'Athiti-Numbers';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wA-DFCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0030-0039;
}

@font-face {
    font-family: 'Athiti-Numbers';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/athiti/pe0sMISdLIZIv1wA1DZCBfe_Kdxicw.woff2') format('woff2');
    unicode-range: U+0030-0039;
}

/* --- Vazirmatn Persian Letters --- */

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

@font-face {
    font-family: 'Vazirmatn-Persian';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF;
}

/* --- Vazirmatn Numbers (Persian/Arabic digits) --- */

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

@font-face {
    font-family: 'Vazirmatn-Numbers';
    src: url('../fonts/vazirmatn/Vazirmatn-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9;
}

/* Tajawal FD – Arabic-Indic replaced for english digits */

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}

@font-face {
    font-family: 'Arabic-Numbers';
    src: url('../fonts/tajawal/tajawal-fd-v12-arabic-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039, U+06F0-06F9, U+0660-0669;
}


html[dir="ltr"] body {
  font-family: 'Athiti-Latin', 'Athiti-Numbers', 'Vazirmatn-Persian', sans-serif;
}

/* html[dir="rtl"] body {
  font-family:   'Arabic-Numbers', 'Vazirmatn-Persian',  'Athiti-Latin', sans-serif;
} */

html[lang="fa"] body {
  font-family: 'Vazirmatn-Persian',  'Vazirmatn-Numbers', 'Athiti-Latin', sans-serif;
}

html[lang="ar"] body {
  font-family:   'Arabic-Numbers', 'Vazirmatn-Persian',  'Athiti-Latin', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--color1);
    color: var(--color2);
    overflow-x: hidden; 
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    width: 100vw; 
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    min-height: 100vh; 
}

input, textarea, select, button {
    font-family: inherit;
}

/* button {
    font-family:
        'Athiti',         
        'Vazirmatn', 
        sans-serif;
} */

.preloader,
.preloader-ar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--color7);
    z-index: 9999;
}

.preloader-ar {
    font-size: 19px;
}

.main {
    position: relative;
    width: 100%;
    max-width: var(--maxWidth); /* Lock max width */
    min-width: 400px;
    box-sizing: border-box; /* Include padding in width */
    
    border-left: 1px solid var(--color39);
    border-right: 1px solid  var(--color39) ;
    background-color: var(--color1); /* Ensure content background is visible */
    overflow-x: hidden; /* Prevent horizontal scroll */
    
    background-image: url('/static/images/bg_s.png'); /* Add the PNG as a background */
    background-size: cover; /* Ensure it fits the width of the page */
    background-position: center; /* Center the image vertically and horizontally */
    background-attachment: fixed; /* Prevent scrolling */

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


/* Container inside main */
.container,
.container-ar {
    padding: 15px;
    width: 100%; /* Make container fill the main area */
    box-sizing: border-box;
}

.container h1 {
    /* font-size: 2em; */
    font-size: 27px;
}

.container-ar h1 {
    font-size: 1.5em;
}

.container h2,
.container-ar h2 {
    display: block;
    font-size: 20px;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.container-ar h2 {
    font-size: 17px;
}


.right-side-panel {
    display: none;
    position: fixed;
    top: 0;
    width: 240px;
    height: calc(100dvh - 20px);
    box-sizing: border-box;
    margin-left: -255px;
    margin-top: 10px;
    overflow-y: auto;
    scrollbar-width: none; 
}

html[dir="rtl"] .right-side-panel {
    margin-left: auto;
    margin-right: -255px;
}

.left-side-panel {
    display: none;
    position: fixed;
    top: 0;
    width: 240px;
    height: calc(100dvh - 20px);
    box-sizing: border-box;
    margin-left: 698px;
    margin-top: 10px;
    overflow-y: auto;
    scrollbar-width: none; 
}

html[dir="rtl"] .left-side-panel {
    margin-left: auto;
    margin-right: 698px;
}

.side-content {
    /* height: 100%; */
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
    -ms-overflow-style: none; 
    scrollbar-width: none;    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}

.side-content::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1185px) {
    .right-side-panel {
        display: block;
    }

    .left-side-panel {
        display: block;
    }

}

.side-content-item,
.side-content-item-ar {
    flex: 0 0 auto;
    scroll-snap-align: center; /* center instead of end like .economics-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 205px;
    height: 70px;
    border: 1px solid var(--color22);
    border-radius: 12px;
    background-color: var(--color6);
    padding: 1rem;
    margin-left: -1px !important;
    margin-right: -1px !important;
}

.side-content-title,
.side-content-title-ar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 235px;
    height: 25px;
    border: 1px solid var(--color22);
    border-radius: 12px;
    margin-left: -1px !important;
    margin-right: -1px !important;
    font-weight: 700;
    font-size: 14px;
    /* color: #acacac; */
    color: var(--color54);
}

.side-content-item-title {
    position: absolute;
    /* top: 11.5px; */
    left: 15px;
    color: var(--color55);
    font-size: 12px;
    font-weight: 200;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 80%;             
    margin-right: 30px;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.side-content-item-title-ar {
    position: absolute;
    /* top: 10px; */
    right: 15px;
    color: var(--color55);
    font-size: 11.5px;
    font-weight: 200;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    margin-left: 30px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.left-side-content-item-title {
    position: absolute;
    /* top: 11.5px; */
    color: var(--color55);
    font-size: 12px;
    font-weight: 200;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 85%;             
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.left-side-content-item-title-ar {
    position: absolute;
    /* top: 10px; */
    color: var(--color55);
    font-size: 11.5px;
    font-weight: 200;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.side-content-item-icon {
    position: absolute;
    left: 5px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
}

html[dir="rtl"] .side-content-item-icon {
    right: 5px;
    left: auto;
}

.side-content-item-ai {
    position: absolute;
    /* top: 10.5px; */
    right: 10px;
    color: var(--color3);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 90%;             
    margin-left: 9px;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.side-content-item-ai-ar {
    position: absolute;
    /* top: 10px; */
    left: 10px;
    color: var(--color3);
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.side-content-item-sub {
    display: flex;
    justify-content: space-between;
    width: 88%;
    position: absolute;
    top: 70px;
    left: 17px;
}

.side-content-item-sub-ar {
    display: flex;
    justify-content: space-between;
    width: 88%;
    position: absolute;
    top: 70px;
    right: 17px;
}

.side-content-item-price {
    direction: ltr;
    text-align: end; 
    direction: ltr; 
    color: #858585; 
    font-size: 10px;
    margin-top: -5px;
    font-weight: 900;
    line-height: 2.3;
}

html[dir="rtl"] .side-content-item-price {
    direction: rtl;
    font-size: 14px;
    line-height: 1.8;
}

.side-content-item-name {
    text-align: start; 
    color: gray; 
    font-size: 13px;
    margin-top: -1px;
    font-weight: 900;
}

html[dir="rtl"] .side-content-item-name {
    margin-top: 0px;
    font-size: 11px;
    font-weight: 700;
}

.side-content-price-currency {
    font-weight: normal;
    margin-right: 5px;
    font-size: 13px;
    line-height: 2.1;
    margin-top: 12px;
    margin-left: 1px; 
    color: var(--hyperlink-hover);
}

.side-content-price-currency-ar {
    font-weight: normal;
    margin-left: 5px;
    margin-right: 3px;
    font-size: 12px;
}

.website-name {
    flex: 1; /* Take up as much space as possible */
    text-align: center; /* Center the text */
    font-size: 20px; /* Adjust size as needed */
    font-weight: bold; /* Make text bold */
    letter-spacing: 1px; /* Add letter spacing */
    text-transform: uppercase; /* Make all text uppercase */
    padding-bottom: 15px;
    
    /* Gradient Text Styling */
    background: linear-gradient(90deg, #CF6978, #6FBAFB); /* Define gradient colors */
    background-size: 200%; /* Increase background size to create animation effect */
    background-clip: text;
    -webkit-background-clip: text; /* Safari/Chrome */
    color: transparent; /* Set text color to transparent to show gradient */
    
    /* Animation */
    animation: gradient-animation 12s ease-in-out infinite; /* Animation definition */
}

/* Keyframes for moving gradient animation */
@keyframes gradient-animation {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}

.theme-icon1,
.theme-icon1-ar{
    width: 40px;
    position: absolute;
    right: 10px;
    top: 19px;
}

.theme-icon1-ar{
    width: 40px;
    position: absolute;
    right: auto;
    left: 10px;
    top: 19px;
}

.lang-switch,
.lang-switch-ar {
padding: 0px 0px;
    border: 1px solid var(--color8);
    border-radius: 20px;
    text-decoration: none;
    color: var(--color8);
    font-weight: 400;
    font-size: 10px;
    cursor: pointer;
    width: 32px;
    height: 14px;
    position: absolute;
    right: 58px;
    top: 23px;
    line-height: 11px;
}

.lang-switch-ar {
    font-size: 13px;
    line-height: 13px;
    right: auto;
    left: 58px;

}

h2 {
    display: block;
    font-size: 20px;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.hyperlink,
.hyperlink-ar {
    color: var(--hyperlink);
    text-decoration: none;
    font-weight:200;
}

.hyperlink-ar {
    font-size: 13px;
}

.hyperlink2,
.hyperlink2-ar {
    color: var(--hyperlink);
    text-decoration: none;
}

.hyperlink2-ar {
    font-size: 13px;
}

/* Inactive modifier */
.hyperlink2.inactive,
.hyperlink2-ar.inactive {
    opacity: 0;
    pointer-events: none; /* Optional: disable clicks */
}

.hyperlink a,
.hyperlink-ar a {
    color: var(--hyperlink);
    text-decoration: none;
    font-weight:200;
}

.hyperlink a:hover,
.hyperlink-ar a:hover {
    color: var(--hyperlink-hover); /* Darken slightly on hover for better UX */
}

.upload-message{
    color: var(--color3);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.user-info {
    display: flex;
    align-items: center;
    height: 0px;
    line-height: 0.1;
    color: var(--color3);
    margin-top: -10px;
}

html[dir="rtl"] .user-info {
    line-height: 0.9;
}


.user-info p{
    color: #44474B;
}

.user-info img {
    border-radius: 50%; /* Make the image circular */
    width: 40px;
    height: 40px;
    margin-right: 10px;
    padding: 2px; /* Add padding to create space between image and border */
    /* border: 2px solid transparent;  */
    box-shadow: 0 0 0 2px #5298FB; /* Blue border with 2px space */
}

html[dir="rtl"] .user-info img{
    margin-left: 10px; 
    margin-right: 0px;
}

.userprofile-info{
    display: flex;
    align-items: center;
    
    line-height: 1;
    color: var(--color3);
    margin-top: 5px;
}

.userprofile-info p{
    color: #44474B;
}

.userprofile-info-img, .userprofile-info-img-ar {
    border-radius: 50%; /* Make the image circular */
    width: 60px;
    height: 60px;
    margin-right: 10px;
    padding: 2px; /* Add padding to create space between image and border */
    /* border: 2px solid transparent;  */
    box-shadow: 0 0 0 2px #5298FB; /* Blue border with 2px space */
}

.userprofile-info-img-ar {
    margin-right: 0px;
    margin-left: 10px;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons img {
    width: 24px;
    height: 24px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color9);
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icon, .header-icon-back {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-icon-back {
    margin-left: -15px; /* 5px spacing between back and settings */
    margin-right: 3px;
}

.header-icon {
    /* margin-right: 5px;  */
    background: var(--color4); /* White background with 20% transparency */
    border-radius: 7px; /* Rounded corners */
    padding: 6px; /* Optional: Adds some spacing around the icon */
    display: inline-flex; /* Keeps the icon centered */
    align-items: center; 
    justify-content: center;
    margin-left: 7px;
    /* this is for now, later we need to remove opacity 0 */
    opacity: 0;
}

.header-icon img, .header-icon-back img {
    width: 21px;
    height: 21px;
    object-fit: contain;
    filter: var(--svg-filter);
}

.header-icon-back img {
    width: 15px;
    height: 15px;
    margin-left: 15px;
}

.header-profile {
    display: flex;
    align-items: center;
    gap:5px;
}

.header-profile img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #4a90e2; /* Blue border */
    margin-top: -5px;
}

.header-profile-info {
    display: flex;
    flex-direction: column;
    text-align: right; /* Align text to the right */
}

html[dir="rtl"] .header-profile-info {
    text-align: left; /* Align text to the left for RTL */
}

.header-profile-info .header-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: var(--color3);
    margin: 0;
}

.header-profile-info .header-title {
    font-size: 14px;
    color: #8e8e93; /* Lighter gray for the title */
    margin: 0;
}

html[dir="rtl"] .header-profile-info .header-title {
    font-size: 11px; /* Adjust size for RTL */
}

/* English usernames (LTR, truncate from right) */
.header-profile-info1 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    color: var(--color3);
    margin: 0;

    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14ch;
    display: inline-block;
}

/* Arabic usernames (RTL, truncate from left) */
.header-profile-info1-ar {
    font-weight: bold;
    color: var(--color3);
    margin: 0;
    font-size: 15px;
    line-height: 1.9;

    direction: rtl;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 14ch;
    display: inline-block;

    /* Mirror effect: truncate from left visually */
    unicode-bidi: plaintext; /* Ensures characters render naturally in RTL */
}


.header-profile-info-title {
    font-size: 14px;
    color: #8e8e93; /* Lighter gray for the title */
    margin: 0;
}

html[dir="rtl"] .header-profile-info-title {
    font-size: 11px; 
}




.chart-vote {
    position: relative;
    display: flex;
    align-items: flex-start; /* Align items at the top */
    width: 100%;
    margin-bottom: 40px;
}

.vote-panel {
    width: 80px;
    padding: 10px 10px;
    padding-top: 20px;
    padding-bottom: 5px;
    margin-left: 10px; /* Space between chart and vote panel */
    border-radius: 15px;
    background: linear-gradient(to bottom right, var(--color25), var(--color26)); /* Gradient from top-left to bottom-right */
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.time-periods {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 130px);
    margin-top: -30px; 
    z-index: 1;
}

.time-period {
    border-bottom: none; 
    border-left: none;
    border-right: none;
    border-top: none;
    transition: border-color 0.2s ease, color 0.2s ease;    
    font-size: 12px;
    color: var(--color51);
    text-align: center;
    flex: 1;
    margin: 0 5px;
    cursor: pointer;
    user-select: none;
}

.time-period.active {
    border-bottom: 3px solid  var(--aiclr11);
    color: var(--aiclr11);
}

.vote-title {
    font-size: 16px;
    color: var(--color3);
    font-weight: bold;
    margin: 0 0 5px 0;
    text-align: center;
    line-height: 1.2;
    margin-top: -10px;
    margin-bottom: 10px;
}

html[dir="rtl"] .vote-title {
    font-size: 12px;
}

.vote-response {
    font-size: 16px;
    color: #9c9d92;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-align: center;
    line-height: 1.2;
    margin-top: -10px;
    margin-bottom: 10px;
}

.vote-option1, .vote-option2 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0px 0;
    width: 90%;
    height: 20px;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-color: #ff0000;
    border-width: 3px;
}

.vote-option1{
    background: linear-gradient(to bottom right, var(--color27), var(--color28)); 
}

.vote-option2{
    background: linear-gradient(to bottom right, var(--color29), var(--color30)); 
}

.vote-arrow {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.up-arrow {
    background-color: #00FF00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.down-arrow {
    background-color: #FF0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    transform: rotate(180deg);
}

.vote-text {
    font-size: 14px;
    color: var(--color31);
    font-weight: 900;
    line-height: 0.5;
}

html[dir="rtl"] .vote-text {
    font-size: 10px;
}

.tab-container-gauge {
    display: flex;
    /*background-color: #17181e; /* Darker background for tab area */
    /* border-radius: 10px; */
    padding-top: 15px;
    /* box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5); */
    margin-bottom: 15px;
    line-height: 0.5;
    margin-left: 15px;
    margin-right: 15px;
}

.tab-container {
    display: flex;
    background-color: var(--color21); /* Darker background for tab area */
    /* border-radius: 10px;*/
    padding: 5px;
    /* box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5); */
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 0.5;
    margin-left: -15px;
    margin-right: -15px;
}

.tab {
    padding: 10px 20px;
    border-radius: 7px;
    color: var(--color23); /* Text color */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right:5px;
}

.tab.active {
    background-color: var(--color22); /* Dark gray background for active tab */
}

.tab:not(.active):hover {
    background-color: #1d1f27; /* Slightly darker on hover for inactive tab */
}

.securities-tab {
    padding: 10px 20px;
    border-radius: 7px;
    color: var(--color23); /* Text color */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right:5px;
}

html[dir="rtl"] .securities-tab {
    font-size: 12px;
}

.securities-tab.active {
    background-color: var(--color22); /* Dark gray background for active tab */
}

.securities-tab:not(.active):hover {
    background-color: #1d1f27; /* Slightly darker on hover for inactive tab */
}

.content-section {
    display: none;
}
.content-section.active {
    display: block;
}

.overview-tab {
    display: none;
}
.overview-tab.active {
    display: block;
}

.analysis-tab {
    display: none;
}
.analysis-tab.active {
    display: block;
}

.financials-tab {
    display: none;
}
.financials-tab.active {
    display: block;
}

.nets-tab {
    display: none;
}
.nets-tab.active {
    display: block;
    margin-top: -20px;
}


.price-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.price-row {
    display:flex;
    align-items: baseline; /* Align the price and currency vertically */
    margin-bottom: 5px;

}

.current-price-item {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.6;
    margin-top: -3px;
    color: var(--color19);
    filter: drop-shadow(0 0 0.3rem rgba(255, 230, 0, 0.676)); 
}    

.price-item,
.price-item-ar {
    background-color: #ffffff0d;
    border-radius: 7px;
    align-self: flex-start;
    font-size: 10px;
    line-height: 1.1;
    padding-bottom: 5px;
    color: var(--color20);
    padding: 3px;
    margin-left: 10px;
}        

.price-item-ar {
    margin-left: 0px;
    margin-right: 10px;
}        

.price-value {
    font-size: 16px;
    font-weight: bold;
    line-height: 0.8;
}

.price-value.positive {
    color: #3cb73e; /* Green for positive growth */
}

.price-value.negative {
    color: #b73c3c; /* Red for negative growth */
}

.price-value.neutral {
    color: #858585; /* Gray for zero growth */
}

/* H1 and Paragraph Section */
.triple-dot {
    margin: 0px 0;
    line-height: 1.0;
    color: var(--color3);
}

/* H1 and Paragraph Section */
 .description-section {
    margin: 0px 0;
    line-height: 1.0;
    color: var(--color3);
}

.description-section h1 {
    font-size: 20px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

/* Initially collapsed description content */
.description-section #description-text {
    max-height: 2.3em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

/* Expanded description content */
.description-section #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

.description-section-ar {
    margin: 0px 0;
    line-height: 1.6;
    color: var(--color3);
    font-size: 14px;
    font-weight: 300;
}

.description-section-ar h1 {
    font-size: 15px; /* Adjust font size as needed */
    margin-bottom: 0px; /* Space between h1 and p */
}

/* Initially collapsed description content */
.description-section-ar #description-text {
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    max-height: 2.5em;
}

.description-section-ar #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

.description-section-home2 {
    margin: 25px 0;
    line-height: 1.0;
    color: var(--color3);
}

.description-section-home2 h1 {
    font-size: 27px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

.description-section-home2 #description-text {
    max-height: 4.3em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.description-section-home2 #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

.description-section-singleLine,
.description-section-singleLine-ar {
    margin: 15px 0;
    line-height: 1.0;
    color: var(--color3);
}

.description-section-singleLine h1,
.description-section-singleLine-ar h1 {
    font-size: 27px; 
    margin-bottom: -5px;
}

/* Initially collapsed description content */
.description-section-singleLine #description-text,
.description-section-singleLine-ar #description-text {
    max-height: 3.0em; 
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

/* Expanded description content */
.description-section-singleLine #description-text.expanded,
.description-section-singleLine-ar #description-text.expanded {
    max-height: 2000px; 
}

.description-section-singleLine-ar {
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
}

.description-section-singleLine-ar h1 {
    font-size: 18.5px; 
}

/* H1 and Paragraph Section */
 .description-section-top10 {
    margin: 15px 0;
    line-height: 1.0;
    color: var(--color3);
}

.description-section-top10 h1 {
    font-size: 20px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

/* Initially collapsed description content */
.description-section-top10 #description-text {
    max-height: 3.9em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

/* Expanded description content */
.description-section-top10 #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

 .description-section-top10-ar {
    margin: 15px 0;
    line-height: 1.6;
    color: var(--color3);
    font-size: 14px;
    font-weight: 300;
}

.description-section-top10-ar h1 {
    font-size: 15px; /* Adjust font size as needed */
    margin-bottom: 0px; /* Space between h1 and p */
}

/* Initially collapsed description content */
.description-section-top10-ar #description-text {
    max-height: 2.6em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.description-section-top10-ar #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}




.followings-section-singleLine {
    margin: 20px 0;
    line-height: 1.0;
    color: var(--color3);
    margin-bottom: 20px
}

.followings-section-singleLine h1 {
    font-size: 27px; 
}

html[dir="rtl"] .followings-section-singleLine h1{
    font-size: 20px;
}   

.followings-space{
    margin-top: 20px;
}

/* H1 and Paragraph Section */
.description-section-noTitle {
    margin: 25px 0;
    line-height: 1.0;
    color: var(--color3);
}

.description-section-noTitle h1 {
    font-size: 27px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

.description-section-noTitle #description-text {
    max-height: 4.1em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.description-section-noTitle #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

.description-section-noTitle2 {
    /* margin: 25px 0; */ 
    line-height: 1.0;
    color: var(--color3);
    margin-top: -10px;
}

.description-section-follow {
    display: flex;
    /* justify-content: space-between;  */
    align-items: center;
    line-height: 1.0;
    color: var(--color3);
    margin-top: 0px;
    width: 100%; /* Make sure it spans full width */
    position: relative;
    gap: 20px;
}

/* Default order for LTR */
.description-section-follow[dir="ltr"] #follow_btn {
    order: 1; /* Move follow button to right */
}
.description-section-follow[dir="ltr"] .ai-percentage-date-home-sd,
.description-section-follow[dir="ltr"] .parent-div-sd {
    order: 2; /* Move AI elements to left */
}

/* Order for RTL */
.description-section-follow[dir="rtl"] #follow_btn {
    order: 2; /* Move follow button to left */
}
.description-section-follow[dir="rtl"] .ai-percentage-date-home-sd,
.description-section-follow[dir="rtl"] .parent-div-sd {
    order: 1; /* Move AI elements to right */
}

.description-section-noTitle3,
.description-section-noTitle3-ar {
    /* margin: 25px 0; */ 
    line-height: 1.0;
    color: var(--color3);
    margin-top: 0px;
}

.description-section-noTitle3 #description-text,
.description-section-noTitle3-ar #description-text {
    max-height: 0.3em; /* Roughly 3 lines, adjust if needed */
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.description-section-noTitle3 #description-text.expanded,
.description-section-noTitle3-ar #description-text.expanded {
    max-height: 2000px; /* Remove the height limit */
}

.description-section-noTitle3-ar {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

.description-section-noTitle4 {
    margin: 10px 0;
    line-height: 1.0;
    color: var(--color3);
    margin-top: -15px;
}

.description-section-noTitle4 h1 {
    font-size: 27px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

.description-section-noTitle4-ar {
    margin: 10px 0;
    line-height: 1.4;
    color: var(--color3);
    margin-top: -15px;
    font-size: 14px;
    font-weight: 300;
}

.description-section-noTitle4-ar h1 {
    font-size: 23px; /* Adjust font size as needed */
    margin-bottom: -5px; /* Space between h1 and p */
}

.security-header{
    display: flex; 
    margin-top: -10px;
    align-items: center;
    /* height: 0px; */
    /* line-height: 0.1; */
    color: var(--color3);
}

.security-header p{
    color: #44474B;
    margin-left: 10px;
    font-weight:800;
    margin-top: 7px;
}

.security-header h1{
   margin-left: 10px;
}

.security-header img {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    /* box-shadow: 0 0 0 1px #cccccc; */
    min-width: 59px;
}

.security-header-ar{
    display: flex; 
    margin-top: -10px;
    align-items: center;
    /* height: 0px; */
    /* line-height: 0.1; */
    color: var(--color3);
}

.security-header-ar p{
    color: var(--hyperlink);
    margin-right: 10px;
    font-weight:800;
    margin-top: 7px;
}

.security-header-ar h1{
   margin-right: 10px;
}

.security-header-ar img {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    min-width: 59px;
}

.show-more {
    cursor: pointer;
    font-style: italic;
    display: inline-block;
    margin: 0px 0;
    line-height: 1.5;
    color: var(--color5);
}

html[dir="rtl"] .show-more {
    font-size: 11px;
    margin-top: 5px
}   

.show-more:hover {
    text-decoration: none;
}

.economics-section {
    margin: 5px 0;
    margin-bottom: 0px;
    padding: 0px;
}

.economics-section h2 {
    margin-bottom: 5px;
}

.economics-cards {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    /* scroll-snap-type: x mandatory; */
    height: 115px;
    margin-left: -15px;
    margin-right: -15px;

    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.economics-cards::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.economics-cards > * {
    scrollbar-width: none; /* inner items */
}

.economics-cards::-webkit-scrollbar {
    height: 8px;
}

.economics-cards::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

.economics-card {    
    transform: scale(0.9);
    flex: 0 0 auto;
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-right: 5px;
    margin-left: 10px;
    margin-top: 20px;
    border-radius: 15px;
    width: 110px;
    scroll-snap-align: center;
    transition: transform 0.2s ease-in-out;
    height: 90px; /* Increased height to accommodate all content */
    position: relative; /* Position relative for absolute positioning of overlay */
    background-size: cover; /* Cover the entire card */
    background-position: center; /* Center the background image */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center align vertically */
    align-items: center; /* Center align horizontally */
    text-align: center; /* Center align text */
    color: white; /* Ensure text color is white for visibility */
    opacity: 80%;
    height: 80px;
}

/* Text styling */
.economics-card h3 {
    position: relative; 
    z-index: 2;
    color: white; 
    margin: 0; 
    /* line-height: 0.9; */
}

html[dir="rtl"] .economics-card h3 {

    line-height: 2.4;
}

.economics-card p {
    position: relative; 
    z-index: 2; 
    color: rgba(255, 255, 255, 0.809); 
    margin: 0;
}

.economics-card div {
    position: relative; 
    z-index: 2; 
    color: rgba(255, 255, 255, 0.809); 
    margin: 0; 
}

.economics-card.active {
    transform: scale(1.03);
    box-shadow: 0 6px 6px 2px var(--color14);
    opacity: 100%;
}

html[dir="rtl"] .economics-card {
    margin-right: 10px;
    margin-left: 5px;
}


.country-name {
    font-size: 17px; /* Adjust font size for country name */
    margin: 0; /* Remove default margin */
    padding: 0;
    height: 15px;
}

.country-name-ar {
    font-size: 15px;
    margin: 0px;
    padding: 0;
    height: 22px;
}

.chart-tabs {
    background:var(--color52);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 25px;
    margin-top: -5px;
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin: 0px auto;
}

.chart-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 50px;
    position: relative;
}

.chart-row.middle {

    height: auto; /* If you want a smaller height */

}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45px;
    position: relative;
    background: var(--color53);
    border-radius: 0px 0px 4px 4px;
}

.top .bar-wrapper {
    justify-content: flex-end; /* bars stick to bottom of top row */
    border-radius: 4px 4px 0px 0px;
}

.bottom .bar-wrapper {
    justify-content: flex-start; /* bars stick to top of bottom row */
}

.bar-wrapper-o {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45px;
    position: relative;
    border-radius: 0px 0px 4px 4px;
}

.top .bar-wrapper-o {
    justify-content: flex-end; /* bars stick to bottom of top row */
    border-radius: 4px 4px 0px 0px;
}

.bottom .bar-wrapper-o {
    justify-content: flex-start; /* bars stick to top of bottom row */
}

.bar {
    width: 40px;
    background: var(--aiclr11);
    transition: height 0.4s ease;
    border-radius: 3px 3px 0px 0px;
}


.bottom .bar {
    background: var(--aiclr12);
    border-radius: 0px 0px 3px 3px;
}

.value-bar {
    font-size: 11px;
    margin: 6px 0;
    line-height: 0.8;
    color: var(--aiclr12);
    margin: 3px 0px 0px 0px;
    direction: ltr;
}

.value-bar.top {
    color: var(--aiclr11);
    margin: 0px 0px 3px 0px;
}

.value-bar.bottom2 {
    font-size: 9px;
    color: var(--aiclr12);
    margin: 3px 0px 0px 0px;
}

.value-bar.top2 {
    font-size: 9px;
    color: var(--aiclr11);
    margin: 0px 0px 3px 0px;
}

.label-bar {
    width: 45px;
    text-align: center;
    font-size: 10px;
    background: var(--color53);
    font-weight: 300;
    line-height: 1.7;
}

html[dir="rtl"] .label-bar {
    font-size: 11px;
}

.label-bar-o {
    width: 45px;
    text-align: center;
    font-size: 10px;
    font-weight: 300;
    line-height: 1.7;
}

html[dir="rtl"] .label-bar-o {
    font-size: 11px;
}

.comparison-bar-link {
    text-decoration: none; 
    color: inherit; 
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* for top bars */
    /* width: 100%; */
    height: 100%;

}

.top .comparison-bar-link {
    justify-content: flex-end;
}

.bottom .comparison-bar-link {
    justify-content: flex-start;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 9px;
    margin-bottom: 3px;
    background: var(--color53);
    border-radius: 5px;
    padding: 4px;
}

.tabs button {
    background: none;
    border: none;
    font-size: 10px;
    color: var(--color51);
    padding: 0px 5px 0px 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    line-height: 1.3;
    font-weight: 900;
}

.tabs button::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--aiclr11);
    transition: width 0.3s ease;
}

.tabs button.active {
    color: var(--aiclr11);
}

.tabs button.active::after {
    width: 100%;
}

.investment-trend {
    font-size: 27px; 
    font-weight: bold; 
    margin-top: 7px !important;
    padding: 0;
    /* height: 40px; */
    transition: color 0.5s;
}

html[dir="rtl"] .investment-trend {
    font-size: 23px; 
}

.investment-trend-label {
    font-size: 10px;
    margin-top: -12px !important;
}

html[dir="rtl"] .investment-trend-label {
    font-size: 9px;
}

.investment-trend-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 5px; /* Small gap between columns */
    margin-top: 5px;
    height:60px;
}

.parent-div {
    display: flex;
    width: 89px;
    height: 17px;
    background-color: var(--color47);
    border-radius: 3px;
    position: absolute;
    top: 79px;
}

.parent-div-sl {
    display: flex;
    width: 89px;
    height: 17px;
    background-color: var(--color47);
    border-radius: 3px;
    position: absolute;
    top: 180px;
}

.left-div, .right-div {
    width: 50%;
    height: 100%;
    position: relative;
}

.middle-div {
    width: 1px;
    height: 100%;
    position: relative;
    background-color: var(--color45);
}

.inner-left {
    background-color: var(--aiclr12);
    width: 0%;
    height: 77%;
    position: absolute;
    right: 0;
    top: 2px;
    border-radius: 3px 0px 0px 3px;
}

.inner-right {
    background-color: var(--aiclr11);
    width: 0%;
    height: 77%;
    position: absolute;
    left: 0;
    top: 2px;
    border-radius: 0px 3px 3px 0px;
}

/* Base styles */
.side-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 250px;
    background-color: var(--color1);
    color: var(--color3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 20px;
    z-index: 9999;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

/* LTR - slides from left */
.side-menu.ltr {
    left: 0;
    transform: translateX(-100%);
}

/* RTL - slides from right */
.side-menu.rtl {
    right: 0;
    transform: translateX(100%);
}

.side-menu.open.ltr {
    transform: translateX(0);
}

.side-menu.open.rtl {
    transform: translateX(0);
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.side-menu ul li {
    margin: 15px 0;
    font-size: 18px;
    margin-left: 30px;
}

html[dir="rtl"] .side-menu ul li {
    font-size: 13px;
    margin-left: auto;
    margin-right: 30px;
}

.side-menu-profile-img {
    border-radius: 50%; 
    width: 60px;
    height: 60px;
    padding: 2px; 
    /* box-shadow: 0 0 0 2px #5298FB; */
    display: block;
    margin-bottom: 30px;
    margin-left: -30px;
}

html[dir="rtl"] .side-menu-profile-img {
    margin-bottom: 30px;
    margin-right: -30px;
    margin-left: auto;
}

.sidemenu-close-btn {
    color: #aeaeae;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    right: 15px;
}

.sidemenu-close-btn-ar {
    color: #aeaeae;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    left: 15px;
}


.trend-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Make all columns equal width */
}

.data-container {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(4, 1fr); /* Four columns */
    gap: 4px; /* Space between items */
    margin-top: 3px; /* Margin for spacing above indicators */
}

.data-item {
    display: flex; /* Flexbox for inner alignment */
    flex-direction: column; /* Stack value and indicator vertically */
    align-items: center; /* Center align */
}

.svg-icon {
    display: inline-block;
    margin-top: 7px;
    height: 15px;
    width: 15px;
}

.svg-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

.value {
    font-weight: bold; /* Bold font for values */
    font-size: 10px; /* Adjust font size for values */
    height: 9px
}

.indicator {
    font-size: 10px; /* Regular font size for indicators */
}

/* Trending Markets Section */
.trending-section,
.trending-section-ar {
    margin: 0px 0;
    margin-top: 20px;
}

.trending-section h2 {
    margin-top: -5px;
    margin-bottom: -5px;
}

.trending-section-ar h2 {
    font-size: 17px;
    line-height: 1.1;
    margin-bottom: 0px;
    margin-top: 5px;
}


/* Trending Markets Section */
.trending-section-security {
    margin: 0px 0;
    margin-top: 0px;
}

.trending-section-security h2 {
    margin: 15px 0;
}

/* Trending Markets Section */
.trending-section-security2 {
    margin: 0px 0;
    margin-top: 0px;
}

.trending-section-security2 h2 {
    margin: 15px 0;
    margin-top: 55px;
}

/* Trending Markets Section */
.financial-stats {
    margin: 0px 0;
    margin-top: 20px;
}

.financial-stats h2 {
    margin: 15px 0;
    margin-top: 0px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    gap: 10px; /* Space between columns */
    margin-bottom: 5px;
    padding-left: 8px;
}

.stat-item,
.stat-item-ar {
    width: 100%;
    font-size: 14px;
    line-height: 1.2;
    padding-bottom: 5px;
    color: var(--color8);
    padding-left: 4px;
    box-sizing: border-box;
    margin-bottom: 5px;
}  

.stat-item-ar {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
}      

.stat-value {
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.1;
}

html[dir="rtl"] .stat-value {
    text-align: right;
    direction: ltr;
}

.performances-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    gap: 10px; /* Space between columns */
    margin-bottom: 5px;
    padding-left: 8px;
}

.performances-item {
    border: 1px solid #61615e; /* Ensure border is visible */
    border-radius: 10px;
    padding: 15px; /* Add padding for better visual appearance */
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically (optional) */
    margin-left: 10px;
    margin-right: 10px;
}

.performance-item,
.performance-item-ar {
    width: 100%;
    font-size: 16px;
    font-weight: 900;
    line-height: 0.7;
    color: var(--color8);
    text-align: center; /* Center text horizontally */
    box-sizing: border-box;
    margin-bottom: 5px; /* Add spacing between item and value */
}

.performance-item-ar {
    font-size: 10px;
}

.performance-value {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    text-align: center; /* Center text horizontally */
}

.performance-value.positive {
    color: green; /* Positive values in green */
}

.performance-value.negative {
    color: red; /* Negative values in red */
}


/* Style for the two divs to be in a line with 50px space */
.ai-conventional-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between the two divs */
    margin-top: 5px;
    margin-bottom: 4px;
    color: var(--color10);
    font-size: 16px;
}

.ai-conventional-container div {
    display: flex;
    align-items: center;
}

/* Style for the images */
.ai-conventional-container img {
    width: 14px;
    height: 14px;
    margin-right: 5px; /* Small gap between image and text */
}

/* Style for the two divs to be in a line with 50px space */
.ai-conventional-container-ar {
    display: flex;
    align-items: center;
    gap: 50px; /* Space between the two divs */
    margin-top: 5px;
    margin-bottom: 4px;
    color: var(--color10);
    font-size: 11px;
}

.ai-conventional-container-ar div {
    display: flex;
    align-items: center;
}

.ai-conventional-container-ar img {
    width: 14px;
    height: 14px;
    margin-left: 5px;
}

.trending-list {
    background-color: var(--color24);
    border-radius: 30px;
}

.trending-list-hot .security-link {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    background-color: var(--color24);
    border-radius: 12px;
    line-height: 1;
    border: 1px solid var(--color15);
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.trending-list-hot .security-link > br {
  display: none;
}

.trending-list-hot .security-link > span:first-child {
    grid-column: 1 / -1;
    display: block;
    margin-bottom: 8px;
}

.security-hyperlink {
    text-decoration: none;
    color: inherit;
}

.security-hyperlink-more {
    text-decoration: none;
    color: inherit;
    text-align: end;
}

.breaking-hotinvests-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px; /* space between items */
    padding: 3px 3px 3px 10px;
}

html[dir="rtl"] .breaking-hotinvests-item {
    padding: 3px 10px 3px 3px;
}

.breaking-hotinvests-item img {
    margin-bottom: -1.5px;
}

.breaking-hotinvests-item .label-long {
    margin-left: auto;
    padding-right: 10px;
}

.breaking-hotinvests-item .label-long-ar {
    margin-right: auto;
    padding-left: 10px;
}

.breaking-hotinvests-item .label-short {
    margin-left: auto;
    padding-right: 10px;
}

.breaking-hotinvests-item .label-short-ar {
    margin-right: auto;
    padding-left: 10px;
}

@media (min-width: 620px) {
  .trending-list-hot .security-link {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-symbol-hot,
.security-symbol-hot-ar {
    font-weight: bold;
    margin-left: 5px;
    filter: blur(4px);
    pointer-events: none; 
    user-select: none; 
}

.security-symbol-hot-ar {
    font-size: 13px;
    margin-right: 5px;
}

.section-title-hot,
.section-title-hot-ar  {
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    background-color: var(--color50);
    border-radius: 12px 12px 0px 0px;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: -5px;
}

.section-title-hot-ar {
    font-size: 13px;
}

.section-title-top,
.section-title-top-ar  {
    font-size: 16px;
    font-weight: bold;
    padding: 5px;
    background-color: var(--color50);
    border-radius: 7px;
    text-decoration: none;
    padding-left: 15px;
    padding-right: 15px;
}

.section-title-top-ar {
    font-size: 13px;
}

.more-hot {
    padding-left: 10px;
    height: 25px;
    line-height: 2.5;
    font-size: 10px;
    font-style: italic;
    margin-right: 11px;
    margin-left: 11px;
}

html[dir="rtl"] .more-hot {
    padding-left: 0px;
    padding-right: 10px;
}

.trending-list2 {
    background-color: var(--color18);
    border-radius: 10px;
    padding: 10px;
    margin-top: 25px;
    box-shadow: 0px 0px 10px #00000021;
}

.three-years-comparison {
    background-color: var(--color18);
    border-radius: 30px;
    margin-top: -8px;
}

.market-item {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.market-item img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.market-info {
    flex-grow: 1;
}

.market-info h3 {
    margin: 0;
}

.chart-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.chart {
    width: 50px;
    height: 50px;
    margin: 0 5px;
}

.chart-security {
    width: calc(100% - 110px);
    margin: 0 0px;
    filter: drop-shadow(0 0 0.2rem rgb(255, 255, 255,0.4)); 
    margin-top: -30px;
}

.chart2 {
    width: 100%;
    margin: 0 0px;
    margin-top: 0px;
}


.news-list {
    background-color: var(--color24);
    border-radius: 30px;
    margin-top: 10px;
    padding: 15px;
    padding-top: 5px;
}

.news-list-single {
    margin-top: 10px;
    padding: 15px;
    padding-top: 5px;
}

.news-row {
    margin-bottom: 0px;
    border-bottom: 1px solid var(--color47);
    /* display: flex;
    justify-content: space-between; */
    align-items: flex-start; 
}

.news-row-wordcloud {
    margin-bottom: 0px;
    /* border-bottom: 1px solid var(--color47); */
    /* display: flex;
    justify-content: space-between; */
    align-items: flex-start; 
}

.news-row-wordcloud img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.news {
    /* border-bottom: 1px solid var(--color7); */
    display: flex;
    flex-direction: column;
}

.news-header,
.news-header-ar {
    /* position: relative;  */
    z-index: 1;
    font-size: 17px;
    line-height: 1;
    padding-bottom: 7px;
    padding-top: 20px;
    color: var(--color20);
    text-align: start;
    font-weight: 700;
}  

.news-header-ar {
    font-size: 13px;
    line-height: 1.5;
}  

.news-item,
.news-item-ar {
    flex-grow: 1; 
    font-size: 15px; 
    line-height: 1;
    color: var(--color8);
}  

.news-item-ar {
    font-size: 12px;
    line-height: 1.5;
}  

.news-date,
.news-date-ar {
    font-size: 14px;
    font-weight: 900;
    margin-top: -5px;
    color: var(--color8);
    text-align: right; 
    margin-left: auto;
    margin-bottom: -8px;
}

.news-date-ar {
    font-size: 11px;

}

.all-news {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    justify-content: flex-end; /* Push content to the right */
    gap: 6px; /* Add space between text and icon */
    font-size: 14px;
    font-weight: 700;
    color: var(--color20);
    margin-top: 5px;
    margin-bottom: 0px;
    line-height: 0.1;
}

.no-margin {
    margin-top: 5px;
    margin-bottom: 5px;
}

html[dir="rtl"] .no-margin {
    font-size: 15px;
}

.no-comments,
.no-comments-ar {
    line-height: 1.6;
    font-size: 16px;
    color: #888888;
}

.no-comments-ar {
    line-height: 1.8;
    font-size: 13px;
}

.span-h1,
.span-h1-ar {
    display: block;
    font-size: 27px;
    margin-block-start: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    margin-left: 10px;
    margin-bottom: -5px;
}

.span-h1-ar {
    font-size: 23px;
    margin-left: auto;
    margin-right: 10px;;
}

.container-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 110px; /* Increased height to fit gauges and labels */
    border-bottom: 1px solid var(--color7);
}

.horizontal-cards {
    display: flex;
    overflow-x: scroll; /* match .economics-cards */
    overflow-y: hidden;
    /* scroll-snap-type: x mandatory; */
    margin-left: -15px; /* match economics negative margin */
    margin-right: -15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* scroll-behavior: smooth;
    cursor: grab; */
}

.horizontal-cards::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.horizontal-cards::-webkit-scrollbar-thumb {
    background: #88888800; /* Optional: Scrollbar thumb color */
    border-radius: 4px; /* Optional: Rounded scrollbar thumb */
}

.horizontal-cards > * {
    scrollbar-width: none; /* inner items */
}

.horizontal-cards-rtl {
    direction: rtl;
}

/* .horizontal-cards:active {
  cursor: grabbing;
} */

.horizontal-cards a {
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
}


.responsive-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 8px; 
    padding: 10px 0;
    margin: 0 auto;
}

.responsive-cards > * {
    flex: 0 1 85px; 
    /* max-width: 100px;  */
    box-sizing: border-box;
}

/* @media (max-width: 600px) {
    .responsive-cards {
        gap: 6px;
    }
    .responsive-cards > * {
        flex: 0 1 70px;
    }
} */


.spacer-item {
    width: 200px;
    flex: 0 0 auto;
}


/* CSS for the dot paginator */
.dot-paginators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 18px;
}

.paginators-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: silver;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.paginators-dot.active {
    background-color: rgb(0, 136, 255);
}

.container-item-home2,
.container-item-home2-ar {
    flex: 0 0 auto;
    scroll-snap-align: center; /* center instead of end like .economics-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 70px;
    height: 70px;
    border: 1px solid var(--color7);
    border-radius: 12px;
    background-color: var(--color6);
    padding: 1rem;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 5px;

}

.container-item-home2-ar {
    margin-left: 5px;
    margin-right: 15px;
}


.responsive-item-home2,
.responsive-item-home2-ar {
    flex: 0 0 auto;
    scroll-snap-align: center; /* center instead of end like .economics-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 85px;
    height: 32px;
    border: 1px solid var(--color7);
    border-radius: 12px;
    background-color: var(--color6);
    padding: 1rem;
    margin-left: -1px !important;
    margin-right: -1px !important;
}

.responsive-item-home2-ar {
    margin-left: -1px !important;
    margin-right: -1px !important;
}

.container-item-section,
.container-item-section-ar {
    flex: 0 0 auto;
    scroll-snap-align: center; /* center instead of end like .economics-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 70px;
    height: 80px;
    border: 1px solid var(--color7);
    border-radius: 12px;
    background-color: var(--color6);
    padding: 1rem;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 5px;

}

.container-item-section-ar {
    margin-left: 5px;
    margin-right: 15px;
}

.container-item-list,
.container-item-list-ar {
    flex: 0 0 auto;
    scroll-snap-align: center;  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 70px;
    height: 175px;
    border: 1px solid var(--color7);
    border-radius: 12px;
    background-color: var(--color6);
    padding: 1rem;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 5px;
}

.container-item-list-ar {
    margin-left: 5px;
    margin-right: 15px;
}


.container-item-hot,
.container-item-hot-ar {
    flex: 0 0 auto; /* Ensures each item doesn't shrink or grow */
    scroll-snap-align: start; /* Snap each item to the start when scrolling */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 90px; /* Fixed width for each card */
    height: 257px; /* Height to fit gauges and labels */
    border: 1px solid var(--color7); 
    border-radius: 12px; /* Adds rounded corners */
    background-color: var(--color6); /* Adds a background color for better visibility */
    padding: 1rem; /* Adds internal spacing */
    margin-left: 15px;
    margin-right: 5px;
}

.container-item-hot-ar {
    margin-left: 5px;
    margin-right: 15px;
}

.percentage-title {
    font-size: 9px;
    color: var(--color8);
    transform: none; 
    /* writing-mode: vertical-rl; */
    vertical-align: middle;
    margin-left: -2px;
    position: absolute;
    left: 62px;
    top: 9px;
    line-height: 1.1;
}

html[dir="rtl"] .percentage-title {
    top: 14px;
}

.percentage,
.percentage-ar {
    font-size: 23px;
    font-weight: 900;
    vertical-align: middle;
    transform: none; 
    /* writing-mode: vertical-rl; */
    margin-left: -2px;
    position: absolute;
    left: 9px;
    top: 0px;
    /* Gradient Text Styling */
    background: linear-gradient(-45deg, #CF6978, #6FBAFB); 
    background-size: 50%;
    background-clip: text;
    -webkit-background-clip: text; 
    color: transparent;
}

.percentage-title-section {
    font-size: 9px;
    color: var(--color8);
    /* transform: none; 
    writing-mode: vertical-rl;
    vertical-align: middle; */
    /* align-content: center; */
    position: absolute;
    top: 10px;
    left: 60px;
}

.percentage-section {
    font-size: 23px;
    font-weight: 900;
    top: 0px;
    left: 9px;
    position: absolute;
    background: linear-gradient(0deg, #CF6978, #6FBAFB); /* Define gradient colors */
    background-size: 80%; /* Increase background size to create animation effect */
    background-clip: text;
    -webkit-background-clip: text; /* Safari/Chrome */
    color: transparent; /* Set text color to transparent to show gradient */
}

.icon-item {
    position: absolute;
    left: 22px;
    top: 15px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
}

.market-icon-wrapper {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 5px;
    top: 8px;
}

html[dir="rtl"] .market-icon-wrapper {
    right: 5px;
    left: auto;
}

.icon-item-market {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    z-index: 1;
}

.market-icon-wrapper::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid rgb(39 182 44);
    box-shadow: 0 0 6px rgba(37, 169, 41, 0.6);
    opacity: 0;
    z-index: 2;
}

.market-live::after {
    animation: liveBlink 1.5s infinite ease-in-out;
}

@keyframes liveBlink {
    0%   { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 0; }
}

.icon-item-home {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    z-index: 1;
    right: 5px;
    top: 6px;
    border: 0.5px solid var(--color7);
    border-radius: 12px;
}

.icon-item-seculist {
    position: absolute;
    left: 32px;
    top: 15px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
}

.security-image {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    /* box-shadow: 0 0 0 1px #cccccc; */
    object-fit: contain; /* Ensures the image fits within the box without being reshaped */
    object-position: center; /* Centers the image inside the box */
    /* background-color: #f0f0f0;  */
}

.title-item {
    position: absolute;
    top: 6px;
    left: 111px;
    color: var(--color3);
    font-size: 16px;
    font-weight: 900;

    overflow: hidden;         /* Hide any overflowing text */
    white-space: nowrap;      /* Prevent text from wrapping to a new line */
    text-overflow: ellipsis;  /* Show ellipsis (...) when text overflows */
    max-width: 68%;          /* Set maximum width as needed */
    display: block;           /* Make sure it's a block element */
}

.title-item-home2 {
    position: absolute;
    top: 11.5px;
    left: 30px;
    color: var(--color3);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 90%;             
    margin-right: 20px;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.title-item-home2-ar {
    position: absolute;
    top: 10px;
    right: 30px;
    color: var(--color3);
    font-size: 11.5px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    margin-left: 20px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.ai-item-home2 {
    position: absolute;
    /* top: 10.5px; */
    right: 7px;
    color: var(--color3);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 90%;             
    margin-left: 9px;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.ai-item-home2-ar {
    position: absolute;
    /* top: 10px; */
    left: 7px;
    color: var(--color3);
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.ai-item-sd {
    position: absolute;
    /* top: 10.5px; */
    right: -2px;
    color: var(--color3);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;             
    text-overflow: ellipsis; 
    max-width: 90%;             
    margin-left: 9px;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
    bottom: -7px;
}

.ai-item-sd-ar {
    position: absolute;
    /* top: 10px; */
    left: -2px;
    color: var(--color3);
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
    bottom: -7px;
}

.percentage-date-home {
    display: flex;
    justify-content: space-between;
    width: 80px;
    position: absolute;
    top: 42px;
    left: 7px;
}

.percentage-date-home-ar {
    display: flex;
    justify-content: space-between;
    width: 80px;
    position: absolute;
    top: 42px;
    right: 7px;
}

.percentage-date-home-sl {
    display: flex;
    justify-content: space-between;
    width: 87px;
    position: absolute;
    top: 75px;
}

.security-price-sl {
    display: flex;
    justify-content: space-between;
    width: 87px;
    position: absolute;
    top: 43px;
    font-weight: 900;
    font-size: 15px;
}

.percentage-home {
    text-align: end; 
    direction: ltr; 
    color: var(--aiclr12); 
    font-size: 10px;
    margin-top: -5px;
    font-weight: 900;
    line-height: 2.3;
}

html[dir="rtl"] .percentage-home {
    font-size: 14px;
    line-height: 1.8;
}

.date-home {
    text-align: start; 
    color: gray; 
    font-size: 10px;
    margin-top: -1px;
}

html[dir="rtl"] .date-home {
    margin-top: 0px;
}

.ai-percentage-date-home {
    display: flex;
    justify-content: space-between;
    width: 87px;
    position: absolute;
    top: 65px;
}

.ai-percentage-date-home-sl {
    display: flex;
    justify-content: space-between;
    width: 87px;
    position: absolute;
    top: 165px;
}

.ai-percentage-home {
    text-align: end; 
    direction: ltr; 
    color: var(--aiclr12);  
    font-size: 14px;
    margin-top: -5px;
    font-weight: 900;
}

.ai-date-home {
    flex: 1; /* Take up as much space as possible */


    font-weight: bold; /* Make text bold */
    letter-spacing: 1px; /* Add letter spacing */
    text-transform: uppercase; /* Make all text uppercase */
    padding-bottom: 15px;

    text-align: start; 

    font-size: 9px;
    line-height: 1;
    margin-top: 0px;
    
    /* Gradient Text Styling */
    background: linear-gradient(90deg, #CF6978, #6FBAFB); /* Define gradient colors */
    background-size: 200%; /* Increase background size to create animation effect */
    background-clip: text;
    -webkit-background-clip: text; /* Safari/Chrome */
    color: transparent; /* Set text color to transparent to show gradient */
    
    /* Animation */
    animation: gradient-animation-ai 12s ease-in-out infinite; /* Animation definition */
}

/* Keyframes for moving gradient animation */
@keyframes gradient-animation-ai {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}


html[dir="rtl"] .ai-date-home {
    font-size: 9px;
    line-height: 1.3;
    margin-top: -2px;
}

.ai-date-sd {
    flex: 1; /* Take up as much space as possible */
    font-weight: bold; /* Make text bold */
    letter-spacing: 1px; /* Add letter spacing */
    text-transform: uppercase; /* Make all text uppercase */
    padding-bottom: 1px;
    margin-right: -35px;

    text-align: start; 

    font-size: 11px;
    line-height: 1;
    
    /* Gradient Text Styling */
    background: linear-gradient(90deg, #CF6978, #6FBAFB); /* Define gradient colors */
    background-size: 200%; /* Increase background size to create animation effect */
    background-clip: text;
    -webkit-background-clip: text; /* Safari/Chrome */
    color: transparent; /* Set text color to transparent to show gradient */
    
    /* Animation */
    animation: gradient-animation-ai 12s ease-in-out infinite; /* Animation definition */
}

/* Keyframes for moving gradient animation */
@keyframes gradient-animation-ai {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 100%;
    }
    100% {
        background-position: 0%;
    }
}

html[dir="rtl"] .ai-date-sd {
    font-size: 9px;
    line-height: 1.3;
    margin-left: -45px;
    margin-right: auto;
}

.title-item-list {
    position: absolute;
    top: 11.5px;
    left: 20px;
    color: var(--color3);
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;      
    display: -webkit-box;
    -webkit-line-clamp: 1;    
    -webkit-box-orient: vertical; 
    text-overflow: ellipsis;  
    max-width: 70%;          /* Set maximum width as needed */
    margin-left: 8px;
    line-height: 1;
}

.title-item-list-ar {
    position: absolute;
    top: 10px;
    right: 22px;
    color: var(--color3);
    font-size: 11px;
    font-weight: 800;
    overflow: hidden;      
    display: -webkit-box;
    -webkit-line-clamp: 1;    
    -webkit-box-orient: vertical; 
    text-overflow: ellipsis;  
    max-width: 70%;                 
    margin-right: 6px;
    line-height: 1.3;
}

.currency-item-list {
    position: absolute;
    top: 30px;
    left: 8px;
    color: var(--color45);
    font-size: 14px;
    font-weight: 900;
}

html[dir="rtl"] .currency-item-list {
    position: absolute;
    top: 30px;
    left: 8px;
    color: var(--color45);
    font-size: 10px;
    font-weight: 800;
}

.title-item-sectors {
    position: absolute;
    top: 12px;
    left: 0px;
    color: var(--color3);
    font-size: 16px;
    font-weight: 900;
    overflow: hidden;      
    display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical; 
    text-overflow: ellipsis;  
    max-width: 90%;          /* Set maximum width as needed */
    margin-left: 8px;
    line-height: 0.9;
}

.title-item-sectors-ar {
    position: absolute;
    top: 12px;
    right: 7px;
    color: var(--color3);
    font-size: 10px;
    font-weight: 800;
    overflow: hidden;         /* Hide any overflowing text */
    display: -webkit-box;    
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical; 
    text-overflow: ellipsis;  
    max-width: 90%;          /* Set maximum width as needed */
    margin-right: 0px;
    line-height: 1.3;
}


.title-item-sector {
    position: absolute;
    top: 6px;
    left: 51px;
    color: var(--color3);
    font-size: 16px;
    font-weight: 900;

    overflow: hidden;         /* Hide any overflowing text */
    white-space: nowrap;      /* Prevent text from wrapping to a new line */
    text-overflow: ellipsis;  /* Show ellipsis (...) when text overflows */
    max-width: 85%;          /* Set maximum width as needed */
    display: block;           /* Make sure it's a block element */
}

/* Scrollable Gauge Container */
.gauge-container {
    position: absolute;
    top: 35px;
    left: 111px;
    width: 70%; /* Ensure the container doesn't exceed parent */
    overflow: hidden; /* Hide any overflow */
    /* Apply the mask to create the fade effect on the right side */
    mask-image: linear-gradient(to right, black 90%, transparent);
}

.gauge-container-home2 {
    position: absolute;
    top: 107px;
    left: 0px;
    margin-left: 5px;
    margin-right: 5px;
    /* margin-bottom: 32px; */
    display: none;
}

.gauge-container-list {
    position: absolute;
    top: 130px;
    left: 0px;
    margin-left: 8px;
    display: none;
}

.gauge-container-section {
    position: absolute;
    top: 54px;
    left: 0px;
    margin-left: 5px;
}

/* Hide scrollbar for WebKit browsers */
.gauge-container::-webkit-scrollbar {
    display: none;
}

/* Scrollable Gauge Container */
.gauge-container-sector {
    position: absolute;
    top: 35px;
    left: 51px;
    width: 86%; /* Ensure the container doesn't exceed parent */
    /* height: 234px; /* Set a fixed height to allow scrolling */
    overflow: scroll; /* Enable scrolling */
    /* Apply the mask to create the fade effect on the right side */
    mask-image: linear-gradient(to right, black 90%, transparent);
}

/* Hide scrollbar for WebKit browsers */
.gauge-container-sector::-webkit-scrollbar {
    display: none;
}

/* Gauge Scroll Wrapper */
.gauge-scroll-wrapper {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto; /* Enable horizontal scrolling */
    overflow-y:hidden;
    scroll-behavior: smooth; /* Optional: smooth scrolling */
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

/* Hide Scrollbar */
.gauge-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit-based browsers */
}

.gauge-scroll-wrapper {
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.gauge-scroll-wrapper-home2 {
    border: 1px solid var(--color7);
    border-radius: 7px;
    padding: 0px 0px 3px 0px;
}

.gauge-home2 {
    width: 90px;
    height: 16px;
    margin: 0 0px;
    margin-right: 0px;
    margin-left: 0px;
    position: relative;
}

.gauge-home3 {
    width: 104px;
    height: 16px;
    margin: 0 0px;
    margin-right: 0px;
    margin-left: 0px;
    position: relative;
}

/* Individual Gauge Styles */
.gauge {
    min-width: 130px; /* Set a fixed width for each gauge */
    height: 60px;
    margin: 0 15px; /* Space between gauges */
    margin-top: 10px;
    margin-right: -17px;
    margin-left: -25px;
    position: relative;
}

/* Individual Gauge Styles */
.gauge-after-chart {
    min-width: 130px; /* Set a fixed width for each gauge */
    height: 60px;
    margin: 0 15px; /* Space between gauges */
    margin-top: 10px;
    margin-right: -17px;
    margin-left: -47px;
    position: relative;
}

.gauge-label {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: var(--color32);
    font-weight: 500;
}

.gauge-label-home2 {
    margin-left: 5px;
    margin-top: -17px;
    transform: translate(0%, 0%);
    font-size: 10px;
    color: var(--color32);
    font-weight: 500;
}

.gauge-label-home2-ar {
    margin-right: 5px;
    margin-top: -17px;
    transform: translate(0%, 0%);
    font-size: 8px;
    color: var(--color32);
    font-weight: 500;
}


.chart-item {
    width: 200px;
    height: 100px;
    background-color: #222222;
    border: 1px solid var(--color9);
    margin-left: 0px;
}

/* Individual Gauge Styles */
.chart-a {
    min-width: 130px; /* Set a fixed width for each gauge */
    height: 60px;
    margin: 0 15px; /* Space between gauges */
    margin-top: -26px;
    margin-right: -17px;
    margin-left: -10px;
    position: relative;
    filter: drop-shadow(0 0 0.3rem rgb(255, 255, 255,0.7)); 
}

.chart-a-list {
    /* min-width: 130px; 
    height: 60px; */
    position: absolute;
    left: -5px;
    top: 60px;
    filter: drop-shadow(0 0 0.3rem rgb(255, 255, 255,0.7)); 
}

.chart-a-label {
    position: relative;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    margin-top: -97px;
    margin-left: 8px;
    color: var(--color9);
}

.chart-a-label-list,
.chart-a-label-list-ar {
    position: absolute;
    top: 140px;
    left: 8px;
    font-size: 9px;
    color: var(--color33);
}

.chart-a-label-list-ar {
    font-size: 8px;
}

.analytical-gauges {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 1px;
}

.statistical-gauges {
    text-align: left;
    padding-bottom: 1px;
}

.gauge-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 5px;
}

.gauge-container-security,
.gauge-container-security-ar {
    width: 45%;
    border: solid 1px #9999991b;
    border-radius: 20px;
    margin-bottom: 5px;
}

/* .gauge-container-security p,
.gauge-container-security-ar p {
    color: var(--color45);
    font-size: 15px;
    line-height: 1.0;
    margin-left: 3px;
    margin-right: 3px;
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gauge-container-security-ar p {
    font-size: 10px;
    line-height: 1.4;
} */

.gauge-description,
.gauge-description-ar {
    max-height: 3.8em;
    padding: 5px;
    color: var(--color45);
    font-size: 15px;
    line-height: 1.0;
    margin-left: 3px;
    margin-right: 3px;
    text-align: start;
    /* Multiline ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0px;
}

.gauge-description-ar {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 15px;
    padding-bottom: 5px;
    text-align: right;
}


/* Footer */
.footer {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    bottom: -37px;
    width:100%;
    max-width: var(--maxWidth); /* Match the main width */
    min-width: 400px;
    padding: 0;
    height: 130px;
    background-image: var(--footer-link);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    box-sizing: border-box;
    margin-left: -1px;
    z-index: 9999;
    /* border-left: 1px solid rgb(229, 229, 229); */
    /* border-right: 1px solid rgb(235, 235, 235); */
}

.footer-icon {
    text-align: center; /* Center the text or icons within each .footer-icon container */
    margin-bottom: 9px; /* Optional: Adds horizontal spacing between icons */
}

.footer-icon.active {
    text-align: center; /* Center the text or icons within each .footer-icon container */
    margin-bottom: 9px; /* Optional: Adds horizontal spacing between icons */
    filter: drop-shadow(0px 0px 7px var(--color17));
}

.footer-icon.active img {
    filter: var(--svg-filter2);
}

.footer-icon span {
    display: block;
    font-size: 10px;
}

.add-icon {
    position: fixed;
    bottom: 100px;
    margin-left: 20px;
    z-index: 11;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0px 2px 5px #136159dd;
}

html[dir="rtl"] .add-icon {
    margin-left: auto;
    margin-right: 20px;
}

.add-icon-biz {
    border-radius: 50%;
    width: 63px;
    height: 63px;
    margin-bottom: 40px; /* Optional: Adds horizontal spacing between icons */
    /* box-shadow: 0px 5px 120px #91b2ffdd;  */
    margin-left: -3px;
    margin-top: 15px;
    filter: drop-shadow(2px 4px 6px rgb(116, 116, 116));
}

.dis-add-icon {
    position: relative; /* Needed for pseudo-element positioning */
    border-radius: 50%;
    width: 63px;
    height: 63px;
    margin-bottom: 35px;
    margin-left: -3px;
    overflow: hidden; /* Ensure the shine stays inside the circle */
}

html[dir="rtl"] .dis-add-icon {
    margin-left: 6px;
}

.chatai-icon {
    position: relative; 
    border-radius: 50%;
    width: 63px;
    height: 63px;
    margin-bottom: 35px;
    margin-left: -3px;
    overflow: hidden; 
    box-shadow: 0px 2px 5px #136159dd;
}

html[dir="rtl"] .chatai-icon {
    margin-left: 6px;
}

/* The vertical shine line */
.chatai-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: -10px; /* start outside */
    width: 16px;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* white shine line */
    transform: skewX(-20deg); /* slight diagonal tilt looks nicer */
    animation: shine-sweep 5s infinite;
    opacity: 0;
}

@keyframes shine-sweep {
    0% {
        left: -10px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    20% {
        left: 70px; /* pass fully across */
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    100% {
        left: 70px;
        opacity: 0;
    }
}




.dis-add-icon-biz {
    border-radius: 50%;
    width: 63px;
    height: 63px;
    margin-bottom: 40px; /* Optional: Adds horizontal spacing between icons */
    margin-left: -3px;
    margin-top: 15px;
    filter: drop-shadow(2px 4px 6px rgb(116, 116, 116));
}


/* Footer */
.footer-biz {
    position: fixed;
    display: flex;
    justify-content: space-around;
    align-items: center;
    bottom: -27px;
    width:100%;
    max-width: var(--maxWidth); /* Match the main width */
    min-width: 400px;
    padding: 0;
    height: 130px;
    /* background-image: var(--footer-link);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center; */
    box-sizing: border-box;
    margin-left: -1px;
    /* border-left: 1px solid rgb(229, 229, 229); */
    /* border-right: 1px solid rgb(235, 235, 235); */
}

/* a general post in connect section */
.post {
    /* width: 70%; */
    /* background-color: #242731;  */
    padding: 16px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
    font-size: 14px;
    position: relative;
    margin-top: -5px;
}

.post-header {
    display: flex;
    /* align-items: center; */
    margin-bottom: 12px;
}

.repost-text {
    font-size: 12px;
    color: var(--color13);
    margin-right: 8px;
}

.profile-img,
.profile-img-ar {
    width: 40px;
    max-height: 40px;
    border-radius: 50%;
    border: 2px solid #34f6e6; /* Blue border around the profile image */
    margin-right: 10px;
    margin-left: -20px;
    margin-top: 5px;
}

.profile-img-ar {
    margin-right: -20px;
    margin-left: 10px;
}

.profile-img-offline,
.profile-img-offline-ar {
    width: 40px;
    max-height: 40px;
    border-radius: 50%;
    border: 2px solid #ababab; /* Blue border around the profile image */
    margin-right: 10px;
    margin-left: -20px;
    margin-top: 5px;
}

.profile-img-offline-ar {
    margin-right: -20px;
    margin-left: 10px;
}


.my-info {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.username,
.username-ar {
    font-weight: bold;
    font-size: 16px;
    color: var(--color8);
}

.username-ar {
    font-size: 13px;
}

.comment-text {
    font-size: 13px;
    line-height: 1.4;
}

.comment-text-ar {
    font-size: 10px;
    line-height: 2;
}

.verified-icon {
    /* width: 14px; */
    height: 14px;
    margin-top: 5px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: top;
}

.timestamp-right {
    position: absolute;
    right: 0; 
    color: var(--color13);
    font-size: 12px;
    font-weight: 300;
}

.timestamp-right-ar {
    position: absolute;
    left: 0; /* Align to the right side of the container */
    color: var(--color13);
    font-size: 12px;
    font-weight: 300;
}

.timestamp {
    color: var(--color45);
    font-size: 12px;
    font-weight: 300;
    position: absolute;
    right: 0px;
    margin-top: 15px;
}

.timestamp-ar {
    color: var(--color45);
    font-weight: 300;
    position: absolute;
    left: 0px;
    margin-top: 15px;
    font-size: 10px;
}

.post-content,
.post-content-ar {
    color: var(--color12);
    margin: 10px 0;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limits to 3 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight:700;
}

.post-content-ar {
    line-height: 1.4;
    font-weight: 600;
    font-size: 0.9em;
}

.image-video-thumbnail {
    position: relative;
    /* width: 100%; */
    overflow: hidden;
    margin-top: -10px;
    margin-left: -31px;
    margin-right: -31px;
    
}

.image-video-thumbnail img {
    width: 100%;
}

.image-video-thumbnail video {
    width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1B1E26;
    font-size: 20px;
}

.post-actions,
.post-actions-ar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
    color: var(--color13);
    padding-left: 40px;
}

.post-actions-ar {
    padding-left: 10px;
    padding-right: 30px;
}

.post-actions div,
.post-actions-ar div {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.post-actions img,
.post-actions-ar img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.post-actions-ar img {
    margin-left: 6px;
}

.repost-img {
    width: 15px;
    height: 15px;
    margin-right: 6px;
    margin-bottom: -3px;
}

.hyperlink-post,
.hyperlink-post-ar {
    color: var(--hyperlink);
    text-decoration: none;
}

.hyperlink-post-ar {
    font-size: 11px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap; 
    gap: 4px; 
    margin-top: -3px;
    margin-bottom: 7px;
    max-height: 2.8em; 
    overflow: hidden;
    position: relative;
}

.tag,
.tag-ar {
    background-color: var(--color15);
    color: var(--color16);
    padding: 4px 4px;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 0.7;
    white-space: nowrap;
}

.tag-ar {
    font-size: 0.65em;
    line-height: 0.9;
}

.post-maintag {
    display: flex;
    margin-top: 12px;
    margin-bottom: -5px;
}

.post-predictions {
    display: flex;
    gap: 4px; /* Add some space between tags */
    margin-top: 8px;
    margin-bottom: -5px;

}

.prediction,
.prediction-ar {
    color: var(--color13);
    padding: 2px 2px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 8px;
    font-size: 1em;
    line-height: 1.2;
}

.prediction-ar {
    font-size: 0.85em;
    line-height: 1.8;
}

.prediction img,
.prediction-ar img{
    width: 14px;
    height: 14px;
    margin-bottom: -3px;
}

.therefore-arrow,
.therefore-arrow-ar {
    width: 7px; 
    height: 7px; 
    transform: rotate(180deg); 
    margin-bottom: 1px;
}

.therefore-arrow-ar {
    transform: rotate(0deg); 
}

.forward-arrow,
.forward-arrow-ar {
    width: 7px; 
    height: 7px; 
    transform: rotate(180deg); 
    margin-bottom: 1px;
}

.forward-arrow-ar {
    transform: rotate(0deg); 
}

.prev-page {
    transform: rotate(0deg); 
}

.prev-page-ar {
    transform: rotate(180deg); 
}

.comment-action {
    padding: 5px;
}

.comment-action img {
    filter: var(--svg-filter);
}

.like-action {
    padding: 5px;
}

.like-action img {
    filter: var(--svg-filter);
}

.share-action {
    padding: 5px;
}

.share-action img {
    filter: var(--svg-filter);
}

.open-post-action {
    padding: 5px;
}

.open-post-action img {
    filter: var(--svg-filter);
}

.back-svg img {
    filter: var(--svg-filter);
}

.full-post-content,
.full-post-content-ar {
    color: var(--color12);
    margin: 10px 0;
    line-height: 1.4;
    font-weight:700;
    font-size: 1.25em;
}

.full-post-content-ar {
    line-height: 1.7;
    font-size: 0.9em;
}

.comments-container {
    background-color: var(--color24);
    border-radius: 20px;
    margin-top: -8px;
    line-height: 0.9;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--color34);
}

.comment-divider{
    border-bottom: 1px solid var(--color7);
    padding-bottom: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.comment-header {
    position: relative;
    padding-top: 15px;
}

.comment-profile-img {
    width: 30px;
    max-height: 30px;
    border-radius: 50%;
    border: 2px solid #2dca90; /* Blue border around the profile image */
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: -10px;
}

.comment-stats span {
    float: right;
    margin-left: 10px; /* Optional: space between Likes and Replies */
    font-size: 12px;
    margin-top: -10px;
}

.comment-stats::after {
    content: "";
    display: block;
    clear: both;
}

.new-comment textarea{
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid transparent; /* Transparent border to overlay the gradient */
    border-radius: 20px;
    font-family: inherit;
    background-color: transparent;
    color: var(--colorcomment1);
    font-size: 16px;
    resize: none; /* Prevents the user from resizing the textarea */
    max-height: 50px; /* Set a minimum height */
    background-image: linear-gradient(var(--colorcomment2), var(--colorcomment3)), linear-gradient(to right, var(--colorcomment4), var(--colorcomment5));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    line-height: 1.2;
}

.new-comment textarea::placeholder {
    direction: auto;
    text-align: center;
    color: #cecece;
}

.new-comment-ar {
    font-size: 12px !important; 
    line-height: 1.6 !important;
}

.send-icon,
.send-icon-ar {
    width: 37px;
    max-height: 37px;
    border-radius: 50%;
    margin-bottom: 22px;
    margin-left: 5px;
    /* border: 2px solid #f5c6dd; */
}

.send-icon-ar {
    margin-right: 5px;
    margin-right: auto;
    transform: rotate(180deg);
}

.no-posts-message, .end-of-posts-message {
    color: var(--color13);
    font-size: 14px;
    text-align: start;
    margin: 20px 0;
}

html[dir="rtl"] .no-posts-message, .end-of-posts-message {
    line-height: 0.9;
    font-size: 12px;
}


.news-item2,
.news-item2-ar {
    font-size: 14px;
    line-height: 1;
    text-align: start;
    color: var(--color8);
    margin-right: 5px;
    cursor: pointer; /* Make it clickable */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Show only 6 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
}

.news-item2-ar {
    font-size: 12px;
    line-height: 1.6;
}

.news-item2.expanded {
    -webkit-line-clamp: unset;
}

.news-item2-ar.expanded {
    -webkit-line-clamp: unset;
}
 

.news-item3,
.news-item3-ar {
    flex-grow: 1; 
    font-size: 14px;
    line-height: 1;
    margin-right: 5px;
    color: var(--color8);
    text-align: start;
    padding-bottom: 7px;
}  

.news-item3-ar {
    font-size: 12px;
    line-height: 1.6;
}  

.news-item4,
.news-item4-ar {
    line-height: 1.2;
    color: var(--color8);
    margin-top: -20px;
    margin-right: 5px;
    cursor: pointer; /* Make it clickable */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Show only 6 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
    text-align: start;
}

.news-item4-ar {
    line-height: 1.6;
    font-size : 13px;
}

.news-item4.expanded {
    -webkit-line-clamp: unset;
}
 
.news-item4-ar.expanded {
    -webkit-line-clamp: unset;
}

.news-date2,
.news-date2-ar {
    font-size: 14px;
    font-weight: 900;
    margin-top: -50px;
    color: var(--color8);
    text-align: right; 
    margin-left: auto;
    margin-bottom: -5px;
    margin-right:0px;
}

.news-date2-ar {
    font-size: 10px;
}

.news-date3,
.news-date3-ar {
    font-size: 14px;
    font-weight: 900;
    margin-top: -30px;
    color: var(--color8);
    text-align: right; 
    margin-left: auto;
    margin-bottom: -5px;
    margin-right:0px;
}

.news-date3-ar {
    font-size: 10px;
}

.gauges-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-right: 20px;
    height: 130px;
}

.gauges-container-ar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 130px;
}

.news-gauge {
    width: 170px; 
    margin-bottom: -40px;    
}

.new-post-container {
    width: 80%;
    margin: auto;
    padding: 20px;
    max-width: 600px;
}

.new-post-container h2 {
    text-align: center;
    color: var(--color36);
    font-size: 24px;
    margin-top: 0px;
}

.new-post-section {
    margin-bottom: 20px;
}

.new-post-section h3 {
    margin-bottom: 0px;
}

.new-post-list {
    background-color: var(--color18);
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
}

.new-post-textarea {
    width: 100%;
    padding: 10px;
    margin-top: 0px;
    border: 1px solid #666;
    background-color: var(--color37);
    color: var(--color38);
    border-radius: 8px;
    margin-left: -10px;
}

.new-post-input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #666;
    background-color: var(--color37);
    color: var(--color38);
    border-radius: 8px;
    margin-left: -10px;
}

.post-preview {
    display: flex; /* Use Flexbox for layout */
    justify-content: center; /* Horizontally center the content */
    align-items: center; /* Vertically center the content (optional) */
    flex-direction: column; /* Ensure items stack vertically */
    margin-top: 10px; /* Add some spacing above the preview */
    text-align: center; /* For any inline content */
    width: 100%; /* Ensure it spans the full container width */
}

.option-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.option-buttons button {
    padding: 10px 15px;
    border: 1px solid #666;
    background-color: var(--color39);
    color: var(--color38);
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}

/* Green color for selected button in the first list */
.direction-button.selected {
    background-color: var(--color40);
    color: var(--color9);
}

/* Blue color for selected button in the second list */
.period-button.selected {
    background-color: var(--color41);
    color: var(--color9);
}

.new-post-divider {
    height: 1px; /* Set the height of the line */
    background-color: var(--color44); /* Set the line color */
    margin: 0 5px; /* Add 5px space on the left and right */
    width: calc(100% - 10px); /* Ensure the line spans the full width minus the margins */
    margin-top: 5px;
    margin-bottom: 0px;
}

.new-post-tags-container {
    display: flex;
    /* gap: 10px; */
    flex-wrap: wrap;
    margin-top: 10px;
}
.new-post-tag {
    padding: 0px 10px;
    background-color: #444;
    color: #ddd;
    border-radius: 15px;
    margin-top: 0px;
}
.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #555;
    color: var(--color9);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.new-post-dropdown-list {
    display: none;
    position: absolute;
    max-width: 100%; /* Match the input width */
    max-height: 150px;
    overflow-y: auto;
    background-color: var(--color42); /* Semi-transparent background */
    margin-top: 4px; /* Aligns the dropdown below the input field */
    border-radius: 10px;
    z-index: 1;
    backdrop-filter: blur(3px); /* Apply blur to whatever is behind the dropdown */
    -webkit-backdrop-filter: blur(3px); /* Ensure compatibility with WebKit browsers */
}

.new-post-dropdown-item { 
    cursor: pointer; 
    padding: 5px; 
}

.new-post-dropdown-item:hover { 
    background-color: #5c5c5c; 
}

#selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Small gap between tags */
    align-items: center;
    margin-top: 5px;
}

#selected-tags .new-post-tag {
    padding: 0px 10px;
    background-color: #4f4f4f;
    color: #ddd;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

#selected-tags .new-post-tag button {
    background: none;
    border: none;
    color: #bbb;
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
}

.row-container-invest {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.parent-invest_ai, .parent-invest_tra {
    position: relative;
    max-width: 160px;
    background-size: cover;
    background-position: center;
    aspect-ratio: 167 / 121;
    border-radius: 15px;
    opacity: 100%;
}

.parent-invest_ai {
    background-image: url('/static/images/top_ai.png');
    border: 5px solid rgb(236, 223, 239);
}

.parent-invest_tra {
    background-image: url('/static/images/top_tra.png');
    border: 5px solid rgb(227, 239, 223);
}

/* Responsive layout */
@media (max-width: 600px) {
    .parent-invest_ai, .parent-invest_tra {
        width: calc(47% - 20px); /* 2 cards per row */
    }
}

@media (min-width: 600px) {
    .parent-invest_ai, .parent-invest_tra {
        width: calc(30% - 20px); /* 3 cards per row */
    }
}

.bgt-invest {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 23px;
    background: rgba(0, 0, 0, 0.30);
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    opacity: 100%;
}

.powered-invest {
    opacity: 0.20;
    color: white;
    font-size: 10px;
    font-weight: 300;
    text-transform: uppercase;
}

.ai-invest {
    opacity: 0.80;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.technicals-invest {
    margin-top:5px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 25px;
    opacity: 100%;
    margin-left: 10px;
}

.h1-invest {
    position: absolute;
    left: 20px;
    bottom: 40px;
    color: white;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 25px;
}

.top10-invest {
    position: absolute;
    left: 20px;
    bottom: 12px;
    text-align: center;
    color: #75CAA8;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.apexcharts-datalabel-label {
    fill: var(--hyperlink) !important; /* Set label color */
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    padding-top: 60px;
}
  
.modal-content {
    background-color: var(--color1);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--color7);
    width: 80%;
    border-radius: 15px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -15px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.h2-top10{
    color: #6a6a6a;
    font-size: 19px;
    line-height: 1;
}


.h3-top10{
    font-size: 17px;
    margin-bottom: 0px;
    color: #525248;
}


.breaking-invests {
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 3px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Enable manual scrolling */
    white-space: nowrap;
    margin-top: 5px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    margin-left: -17px;
    margin-right: -17px;
}

/* Hide scrollbar for WebKit browsers */
.breaking-invests::-webkit-scrollbar {
    display: none;
}

.breaking-invests-2 {
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 3px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Enable manual scrolling */
    white-space: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    margin-top: 10px;
}

/* Hide scrollbar for WebKit browsers */
.breaking-invests-2::-webkit-scrollbar {
    display: none;
}

.breaking-invests-biz {
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 3px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Enable manual scrolling */
    white-space: nowrap;
    margin-left: -16px;
    margin-right: -16px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Hide scrollbar for WebKit browsers */
.breaking-invests-biz::-webkit-scrollbar {
    display: none;
}

.breaking-invests-top10 {
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 2px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: auto; /* Enable manual scrolling */
    white-space: nowrap;
    margin-top: 5px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for WebKit browsers */
.breaking-invests-top10::-webkit-scrollbar {
    display: none;
}

.invests-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 130s linear infinite;
    padding-left: 100%;
}

.invests-ticker-ar {
    display: inline-block;
    white-space: nowrap;
    animation: scrollRight 120s linear infinite;
    padding-right: 100%;
}

.invests-ticker-biz {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 30s linear infinite;
    padding-left: 100%;
}

.invests-ticker-biz-ar {
    display: inline-block;
    white-space: nowrap;
    animation: scrollRight 80s linear infinite;
    padding-right: 50%;
}

.invests-ticker-top10 {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLeft 35s linear infinite;
    padding-left: 100%;
}

.invests-ticker-top10-ar {
    display: inline-block;
    white-space: nowrap;
    animation: scrollRight 80s linear infinite;
    padding-right: 50%;
}

.breaking-invests-item {
    display: inline-block;
    padding: 0 15px;
    font-size: 16px;
    color: #333;
}

.security-symbol,
.security-symbol-ar {
    font-weight: bold;
    margin-left: 5px;
}

.security-symbol-ar {
    font-size: 13px;
    margin-right: 5px;
}

.price-currency {
    font-weight: normal;
    margin-right: 5px;
    font-size: 16px;
    line-height: 0.8;
    margin-top: 12px;
    margin-left: 1px; 
    color: var(--hyperlink-hover);
}

.price-currency-ar {
    font-weight: normal;
    margin-left: 5px;
    margin-right: 3px;
    font-size: 12px;
}

.price-currency-ms {
    font-weight: normal;
    margin-right: 5px;
    font-size: 16px;
    line-height: 0.8;
    margin-left: 1px; 
    color: var(--hyperlink-hover);
}

.price-currency-ms-ar {
    font-weight: normal;
    margin-left: 5px;
    margin-right: 3px;
    font-size: 12px;
}

.label {
    font-weight: bold;
}

.label.long {
    color: #2EBD85; /* Green for long */
}

.label.short {
    color: #fd5e55; /* Red for short */
}

.label.neutral {
    color: #888; /* Gray for neutral */
}

.label-long, .label-long-ar {
    font-weight: bold;
    color: #2EBD85;
}

.label-long-ar {
    font-size: 13px;
    margin-right: 3px;
}

.label-short, .label-short-ar {
    font-weight: bold;
    color: #fd5e55;
}

.label-short-ar {
    font-size: 13px;
    margin-right: 3px;
}

.label-noposition-long, .label-noposition-long-ar {
    font-weight: bold;
    color: #2EBD85;
}

.label-noposition-long-ar {
    font-size: 13px;
    margin-right: 3px;
}

.label-noposition-short, .label-noposition-short-ar {
    font-weight: bold;
    color: #fd5e55;
}

.label-noposition-short-ar {
    font-size: 13px;
    margin-right: 3px;
}

.section-title-ai {
    margin-left: 30px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(90deg, #CF6978, #6FBAFB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-ai-ar {
    margin-right: 30px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, #CF6978, #6FBAFB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-tra {
    margin-left: 30px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff9c2c, #3ca83e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-tra-ar {
    margin-right: 30px;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff9c2c, #3ca83e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.invests-ticker img {
    height: 13px;
    width: auto;
    margin-bottom: -1.5px;
}

.invests-ticker:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

.security-link {
    text-decoration: none;      /* Remove underline */
    color: inherit;             /* Inherit text color from parent */
    display: inline-block;      /* Keep inline-block for layout */
}

.security-link:hover {
    text-decoration: none;      /* No underline on hover */
}

.follow-btn, .follow-btn-ar {
    background-color: transparent;
    border: 2px solid #535353;  
    border-radius: 15px;      
    /* padding: 5px 10px;        */
    font-size: 16px;           
    cursor: pointer;          
    transition: background-color 0.3s, color 0.3s; 
    color: #535353;
    width: 95px;
    margin-top: 35px;
}

.follow-btn-ar {
    font-size: 12px;
}

.follow-btn-security,
.follow-btn-security-ar {
    background-color: transparent;
    border: 2px solid var(--color34);  
    border-radius: 15px;
    font-size: 16px;           
    cursor: pointer;          
    transition: background-color 0.3s, color 0.3s;
    color: var(--color34);
    margin-top: 5px;
    width: 95px;
}


.follow-btn-security-ar {        
    /* padding: 4px 7px;         */
    font-size: 12px;           
}

.ai-percentage-date-home-sd {
    margin-left: 10px;
    margin-right: 10px;
}

.parent-div-sd {
    display: flex;
    width: 120px;
    height: 17px;
    background-color: var(--color47);
    border-radius: 3px;
}

/* .follow-btn:hover {
    background-color: #535353;  
    color: white;            
} */

.userprofile-desc{
    line-height: 1;
    color: #7c7c7c;
    font-size: 13px;
}

.userprofile-desc-ar{
    line-height: 1.7;
    color: #7c7c7c;
    font-size: 11px;
}

/* Slide-out effect for the current page */

/* body.slide-out-left {
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white; 
    z-index: 9999;
    transition: transform 0.03s ease-in-out;
}

.page-transition.active {
    transform: translateX(-100%);
} */

/* Container with responsive columns */
.cf_container {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 20px;
    padding: 20px;
}

/* On desktop (≥1024px), show 2 columns */
@media (min-width: 1024px) {
    .cf_container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Card styles */
.cf_card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--color15);
    overflow: hidden;
    padding: 10px;
}

/* Title */
.cf_title {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    color: #564a51;
    padding: 10px;
}

/* Predicted profit section */
.cf_predicted {
    display: flex;
    justify-content: space-between;
    background-color: #F2F8FF;
    color: #007AFF;
    padding: 0 10px;
}

/* Row styles */
.cf_row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding: 0 10px;
    align-items: center;
    height: 40px;
}

/* Text styles */
.cf_label {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.667;
}

.cf_value {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.bot-msg {
    background: var(--bot-bg, #f4f4f4);
    border-radius: 12px;
    padding: 10px 16px;
    color: #333;
    max-width: 90%;
    margin: 10px auto;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.intro-message h1,
.intro-message p {
    display: inline;
    white-space: pre-wrap;
}

.bot-msg h1{
    font-size: 20px !important;
}

.bot-msg .intro-message h1 {
    font-size: 20px !important;
}

.typewriter-cursor {
    display: inline-block;
    width: 6px;
    background: #555;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.chat-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 12vh;
}

.chat-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transform: scale(1);
  overflow: hidden; /* ensures shine doesn't overflow outside image */
  transition: transform 0.25s ease;
}

/* Button image */
.chat-btn img {
  display: block;
  width: 250px;
  height: auto;
}

/* Click scale animation using class */
.chat-btn.clicked {
  animation: clickScale 0.25s ease;
}

/* Vertical diagonal shine line */
.chat-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;          /* start outside */
  width: 16px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

/* Shine animation triggered by class */
.chat-btn.shine::after {
  animation: shineSweep 0.5s forwards;
}

/* Keyframes for shine */
@keyframes shineSweep {
  0% { left: -20px; opacity: 0; }
  5% { opacity: 1; }
  80% { left: 250px; opacity: 1; }
  100% { left: 250px; opacity: 0; }
}

/* Keyframes for click scale */
@keyframes clickScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.sentiment-box {
    background-color: #b38ad0;
    color: white;
    padding: 10px;
    margin: -5px 0 20px 0;
    border-radius: 15px;
    font-size: 13px;
}

.sentiment-tags {
    margin-bottom: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sentiment-tag {
    border: 1px solid #ecd8b4;
    border-radius: 5px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1.5;
    height: 16px;
    color: #ecd8b4;
}

.sentiment-text {
    margin: 0;
}

