html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-Light.ttf') format('truetype');
font-weight: 300;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-Regular.ttf') format('truetype');
font-weight: 400;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-Medium.ttf') format('truetype');
font-weight: 500;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-SemiBold.ttf') format('truetype');
font-weight: 600;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-Bold.ttf') format('truetype');
font-weight: 700;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-display: swap;
}

@font-face {
font-family: 'BeiruTi';
src: url('../fonT/BeiruTi/BeiruTi-Black.ttf') format('truetype');
font-weight: 900;
font-display: swap;
}
  

    
body 
{
    font-family: 'BeiruTi', sans-serif;
    font-size: 18px;
    background-color: #000;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    font-weight: bold;
}

textarea
{
    font-family: "BeiruTi", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: right;
    font-size: 18px;
    font-weight: bold;

}
textarea:focus {
    outline: none;
    border: initial;
}


::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #000; /* تغییر رنگ به مشکی */
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #333; /* رنگ پس‌زمینه اسکرول بار */
}


* {
scrollbar-width: thin;
scrollbar-color: #ccc #f1f1f1;
}

html {
scrollbar-color: #ccc #f1f1f1;
}


#side
{
    position: fixed;
    top: 0;
    bottom: 0;
    width: 260px;
    background: #171717;
    transition: right 0.26s ease-in-out;
    z-index: 1000;
}

#side ul {
    margin: 64px 0 0 0;
    padding: 8px;
    background-color: #171717; 
    color: #d1d5db; 
    width: calc(100% - 16px); 
    border-radius: 8px; 
    list-style: none;
}

#side ul li {
    padding: 8px 16px;
    margin: 8px 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    width: 212px;
}

#side ul a{
    color: #FFF;
    text-decoration: none;
}


#side ul li:hover {
    background-color: #2a2b2e;
}

#side ul li.active {
    background-color: #3e3f42; 
    font-weight: bold;
}

#side footer
{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
}

#side footer a
{
    color: #FFF;
    font-size: 13px;
    text-decoration: none;
}




#SideMask
{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    opacity: 0.6;
    z-index: 900;
}




















main 
{
    background: #212121;
    position: relative;
    width: calc(100%);
    height: 100vh;
    height: 100dvh;
    direction: ltr;
    margin: 0 0 0 0;
    transition: margin-right 0.26s ease-in-out;
}


main #in
{
    width: 100%;
    bottom: 0;
    padding: 1rem;
    margin: auto;
    position: absolute;
    width: 100%;
    max-width: 758px;
    border-radius: 32px;
    background: #2f2f2f;
    padding: 0.6rem 20px 0.6rem 20px;
    color: #EEE;
    font-size: 16px;
    bottom: calc(50% - 70px);
    left: calc(50% - 389px);
    border: solid 1px #ffffff1a;
}

main #in .ToolbTn
{
    border: solid 1px #ffffff1a;
    padding:6px 12px;
    border-radius:32px;
    display: inline-block;
    cursor: pointer;
    margin: 0 6px 0 0;
}

main #in .ToolbTnAcTive
{
    background:#EEE;
    color: #333;
    border:solid 1px #EEE;
}


main #in #sub
{
    position: absolute;
    right: 21px;
    bottom: 11px;
    border-radius: 32px;
    background: #676767;
    color: #2f2f2f;
    border: none;
    cursor: pointer;
    height: 2rem;
    width: 2rem;
    font-size: 10px;
    text-align: center;
}
main #in #sub svg
{
    margin: -1px 0 0 -5px;
}



#Thread .loader 
{
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
    margin: 1rem auto;
    display: none;
}
@keyframes l5 
{
    0%   { box-shadow: 20px 0 #fff, -20px 0 #fff2; background: #fff; }
    33%  { box-shadow: 20px 0 #fff, -20px 0 #fff2; background: #fff2;}
    66%  { box-shadow: 20px 0 #fff2, -20px 0 #fff; background: #fff2;}
    100% { box-shadow: 20px 0 #fff2, -20px 0 #fff; background: #fff; }
}






#infoBox
{
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin: auto;
    position: absolute;
    width: 100%;
    max-width: 666px;
    border-radius: 32px;
    padding: 0.6rem 66px 0.6rem 66px;
    color: #DDD;
    font-size: 16px;
    top: calc(50% - 192px);
    left: calc(50% - 389px);
}
#infoBox h1
{
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 12px;
}
#infoBox h1 span
{
    font-size: 28px;
    margin: 0 8px;
    color: #FFF;

}
#infoBox h2
{
    font-weight: bold;
    font-size: 18px;
    color: #FFF;
}
#infoBox h2 span
{
    color: #FFF;
}
#infoBox #logo
{
    margin: 0 0 16px 0;
}
#infoBox #logo img
{
    max-height: 42px;
    border-radius: 8px;
}


#Thread #alarm
{
    width: 100%;
    text-align: center;
    position: absolute;
    width: 100%;
    max-width: 666px;
    padding: 0 0 0.6rem 0;
    color: #DDD;
    font-size: 14px;
    bottom: 0;
    left: calc(50% - 333px);
}



main #in textarea
{
    resize: none;
    border: none;
    background: none;
    height: 32px;
    line-height: 32px;
    overflow: auto;
    width: calc(100% - 24px);
    color: #EEE;
    direction: rtl;
    padding: 0 12px;
    margin: 0 0 16px 0;
}

#Thread
{
    color: #FFF;
    margin: auto;
    padding: 1rem;
    text-align: center;
    height: calc(100vh - 182px);
    height: calc(100dvh - 182px);
    overflow: auto;
    direction: rtl;
}
.newThreadbTn
{
    color: #b4b4b4;
    cursor: pointer;
    padding: 6px 12px;
    position: absolute;
    right: 60px;
}
#side .newThreadbTn
{
    right: 200px;
    margin-top: 14px;
}
.menuTogglebTn
{
    color: #b4b4b4;
    cursor: pointer;
    padding: 6px 12px;
    position: absolute;
    right: 16px;
}
#side .menuTogglebTn
{
    margin-top: 14px;
}


#helpbTn
{
    color: #b4b4b4;
    cursor: pointer;
    position: absolute;
    left: 16px;
    bottom: 16px;
    border-radius: 32px;
    height: 22px;
    width: 22px;
    padding: 0;
    border: solid 1px #b4b4b4;
    background: #000;
}









#UserbTn
{
    color: #ececec;
    cursor: pointer;
    position: absolute;
    left: 16px;
    top: 16px;
    border-radius: 1.5rem;
    border: solid 1px hsla(0,0%,100%,.15);
    background: none;
    font-family: 'BeiruTi', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 4px 16px 6px;
    text-decoration: none;
    line-height: 22px;
  }




#Thread #Threadbox
{
    color: #FFF;
    width: 100%;
    max-width: calc(666px);
    margin: auto;
}

#Thread #Threadbox .LinkbTn
{
    background: #eee;
    padding: 0px 12px;
    border-radius: 6px;
    text-decoration:none;
    margin:6px;
    display: inline-block;
}
#Thread #Threadbox .bold
{
    font-size: 22px;
}

#Thread .PrompT
{
    display: block;
    margin: auto;
    margin:0 0 1.5rem 0;
    text-align: right;
    border-radius: 8px;
    word-wrap: break-word;
    line-height: 2;
}
#Thread .PrompT .mainres
{
    display: inline-block;
    background-color: #2f2f2f;
    padding: 0.6rem 1rem;
    border-radius: 1.5rem;
}
#Thread .res
{
    position: relative;
    margin:0 0 1.5rem 0;
    text-align: right;
    max-width: calc(666px + 6rem);
    word-wrap: break-word;
    line-height: 2;
}





#Thread .code
{
    display: block;
    background: #0d0d0d;
    color: #f8f8f2;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: left;
    direction: ltr;
    font-family: monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    overflow-x: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 23px;
    position: relative;
    border: solid 1px #2f2f2f;
}

#Thread .code .copy
{
    background: no-repeat;
    border: none;
    color: white;
    display: block;
    width: 94px;
    height: 42px;
    cursor: pointer;
    right: 12px;
    position: absolute;
    top: 0;
    text-align: right;
}
#Thread .code .copy svg
{
    float: left;
    height: 16px;
}

#Thread .code .lang
{
    display: block;
    background-color: #2f2f2f;
    padding: 0.6rem 1rem;
    border-radius: 8px 8px 0 0;
}

#Thread .code .maincode
{
    padding: 1rem;
}














.lighT {
    background-color: #FFFFFF;

}
.lighT #side 
{
    background :#f9f9f9;
}

.lighT .menuTogglebTn,.lighT .newThreadbTn
{
    color: #ef7200;
}

.lighT #side ul
{
    background-color: #f9f9f9;
}
.lighT #side ul a
{
    color: #0d0d0d;
}


.lighT #side ul li:hover 
{
background-color: #e3e3e3;
}
.lighT main
{
    background: #FFFFFF;
}


.lighT #infoBox h1 span
{
    color: #ef7200;
}
.lighT #infoBox
{
    color: #0d0d0d;

}
.lighT #infoBox h2
{
    color: #0d0d0d;
}
.lighT main #in
{
    background: #FFFFFF;
    border: solid 1px #ef7200;
    color: #0d0d0d;
    box-shadow: 0px 6px 12px #EEE;
}
main #in .ToolbTn
{
    border: solid 1px #ef7200;
    color:#ef7200 ;
}
.lighT main #in textarea
{
    color: #0d0d0d;
}
.lighT #UserbTn 
{
    color: #ef7200;
    border: solid 1px #ef7200; 
}

.lighT main #in #sub {
    background:#FFFFFF;
    border: solid 1px #ef7200;
    color: #ef7200;
}

.lighT #helpbTn
{
    background:#FFFFFF;
    border: solid 1px #ef7200;
    color: #ef7200;
}


.lighT #Thread .PrompT .mainres 
{
    background-color: #f4f4f4;
    color: #000;
}

.lighT #Thread .res
{
    color: #000;
}

.lighT #Thread .loader {
    animation: l5-light 1s infinite linear alternate !important;
}
@keyframes l5-light {
    0%   { box-shadow: 20px 0 #000, -20px 0 #0002; background: #000; }
    33%  { box-shadow: 20px 0 #000, -20px 0 #0002; background: #0002;}
    66%  { box-shadow: 20px 0 #0002, -20px 0 #000; background: #0002;}
    100% { box-shadow: 20px 0 #0002, -20px 0 #000; background: #000; }
}
