/* !public/components/_layout.css */
*{box-sizing:border-box;}
hide{ display: none; }
html{
  user-select:none;
  -user-select: none;
  -webkit-user-select: none; /* Chrome/Safari */        
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  display: block;
}


body{
  padding:0;
  font-family: monospace;
  font-family: "JetBrains Mono", monospace;
  font-family: "Poppins", sans-serif;
  font-family: system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: 0.36px;
  overflow:hidden;
  
}

body.theme-light{--light:#8881;}
body.theme-dark{--light:#8881;}


.theme-dark{
  --front:#FFF!important;
  --back: #171819!important;
  color-scheme: dark;
}
.theme-light{
  color-scheme: light;
}


h1,h2,h3,h4,h5,h6{ margin:8px 0;margin-top:0; }
h1{font-size:1.3em;}
h2{font-size:1.2em;}
h3{font-size:1.1em;}
b{ font-weight:400;}
input,select,textarea{color:inherit;}
a{
  text-decoration:none;
  color:inherit;
}


[button] svg,button svg,[icon-button] svg,.button svg{
  width: 1.5em;
  height: 1.5em;
}


hr{
  height: 1px;
  background: var(--light);
  border: none;
}

[documenter-progress-element]{
  display:none!important;
}
[documenter-modal]{
  backdrop-filter: blur(4px)!important;
  background:transparent!important;
}
[documenter-modal-content]{
  box-shadow: 0 0 100px #0008,0 0 0 1.5px #FFF!important;
  max-width:720px!important;
}

[mute],.mute{
  font-size:0.75em;
  opacity:0.75;
}

[image-3em]{
  width: 3em;
  height: 3em;
  object-fit: cover;
  border-radius: 3em;
}
[image-2em]{
  width: 2em;
  height: 2em;
  object-fit: cover;
  border-radius: 2em;
}
[image-1em]{
  width: 1em;
  height: 1em;
  object-fit: cover;
  border-radius: 2em;
}

[documenter-icon]{
  display: flex;
}

.IS_APP [IS_APP_hide]{
  display:none;
}
  

/* webkit-scrollbar */
::-webkit-scrollbar {
  width: 8px; 
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
  background: var(--back);
  background: transparent;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #888;
  background-color: var(--light);
  background-color: transparent;
  border-radius: 8px;
  min-height: 25%;
  transition: all .2s;
}
:hover::-webkit-scrollbar-thumb{
  background-color: var(--light);
}
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
  background-color: var(--primary); 
}



/*@ header */
header{ 
  box-shadow: unset;
  background:transparent;
}

/*@ channels */
.left-menu{
  width:300px;
}

.channels{
  margin-left: 62px;
  width: calc(100% - 62px);
  height: 100%;
  overflow: hidden;
}
body[url=""] .channels, body[page-type="only-content"] .channels {
  display: none;
}
body[url=""] .left-menu, body[page-type="only-content"] .left-menu {
  width:56px!important;
  left:0!important;
  position: relative;
}
body[url=""] .content, body[page-type="only-content"] .content {
  position: relative;
  left: 0;
}
body[url=""] .right-menu, body[page-type="only-content"] .right-menu {
  display: none;
}

[view=channels]{
  overflow-x:hidden;
  overflow-y:auto;
  padding:0.5em;
  padding-left:0;
}

.channel{
  font-weight:bold;
}
.channel-sort-icon{
  touch-action:none;
}
.channel.menu-item{
  position:relative; 
}

.menu-item{
  font-size:.8em;
}

.channel.menu-item [channel-users]{
  position:absolute;
  left: 0em;
  top: 2.5em;
  width: 100%;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.channel.menu-item [channel-users]:empty{
  display: none;
}
.channel.menu-item [channel-users] img{
  width:1.5em;
  height:1.5em;
  border-radius:100%;
}

.channel.menu-item:not([user-count="0"]){
  padding-bottom:1.5em;
  position:relative; 
}



/*@ groups  */
.groups .group img{
  width:36px;
  height:36px;
  border-radius:4px;
}
.groups .group:hover img{
  transform:scale(1.1);
}
 
.groups::-webkit-scrollbar{
  width:6px;
}


  .menu-link{
    padding:.4em .8em;
    width:100%;
    border-radius:.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  a.menu-link.selected-href,a.menu-link.selected-href-channel{
    background:var(--primary);
    color:var(--primary-text);
  }

  .channel-message{
    width:.6em;
    display:none;
    height:.6em;
    border-radius: 4px;
    background:var(--primary);
  }
  .unreaded .channel-message{
    display:block;
  }
  
/* .content */
.content{
  overflow:auto; 
  position:relative;
}

.right-menu{
  width: 300px;
  overflow: hidden;
}

/* footer */
footer{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  z-index:1;
}
  

/* [markdown]  */
  [markdown]{
    white-space: break-spaces;
    overflow-wrap: anywhere;
  }
  [markdown] strong{ color: var(--primary); }
  [markdown] code{font-family:monospace;}
  [markdown] pre,[markdown] code{
    user-select:text;
    cursor:text;
  }
  [markdown] a{text-decoration:underline;}
  [youtube-iframe],[kick-iframe],[video-iframe]{
    width:100%;
  }
  .content [youtube-iframe],.content [kick-iframe],.content [video-iframe]{
    height:320px;
  }
  
  [image-iframe]{
    width:100%;
  }


@media only screen and (max-width: 600px) {
  .left-menu{
    width:100%!important;
    background: transparent!important;
  }
  .right-menu{
    width:100%!important;
    background: transparent!important;
  }
  .content{
    transition: all .4s;;
  }
  .open-left-menu .content,.open-right-menu .content{
    opacity: 0;
    transform: scale(0.8);
  }
}

@media only screen and (max-width: 900px) {
  .left-menu{
    position:absolute;
    left:-100%;
    top:0;
    height:100%;
    background:var(--back);
    z-index:10;
  }
  body.allow-animation .left-menu{
    transition:left .4s;
  }

  .open-left-menu .left-menu{
    left:0;
  }
  

  .right-menu{
    position:absolute;
    right:-100%;
    top:0;
    height:100%;
    background:var(--back);
    z-index:10;
  }
  body.allow-animation .right-menu{
    transition:right .4s;
  }
  .open-right-menu .right-menu{
    right:0;
  }
}


/* DESKTOP */
@media only screen and (min-width: 900px) {
  .left-menu{
    position:absolute;
    left:-100%;
    top:0;
    height:100%;
    z-index:10;
  }

  .open-left-menu .left-menu{
    left:0;
  }
  .content{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
  }
  body.allow-animation .content{
    transition:all .2s;
  }
  .open-left-menu .content{
    left:300px;
  }  

  .right-menu{
    position:absolute;
    right:-100%;
    top:0;
    height:100%;
    z-index:10;
  }
  .open-right-menu .right-menu{
    right:0;
  }
  .open-right-menu .content{
    right:300px;
  }  

  body.allow-animation .right-menu,body.allow-animation .left-menu,body.allow-animation .content{
    transition:all .2s;
  }
}




/* theme-blurx */


body{
  font-size:15px;
}


body.theme-dark{
  --front:#DDD!important;
}
body button,body .button,body [button],body input:not([type=checkbox]):not([type=radio]),body textarea,body select,body dropdown,body .input{
  font-size:1em;
}


body.theme-inbox .content{
  background: #0004;
  background: color-mix(in xyz, var(--back) 40%, transparent 60%);
  margin: 0 1em;
  border-radius: 4px;
  box-shadow: 0 0 5px #0004;
  x-backdrop-filter: blur(4px);
}
@media only screen and (max-width: 600px) {
  body.theme-inbox .content{
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
    background: transparent;
  }
}


body [background-image]{
  opacity: .3;
  filter:blur(10px);
}



/* bluread area */

/*

body.opening [background-image]{
  animation: opening 1s;
  animation-fill-mode: forwards;
}

body.opening x--footer,body.opening .content,body.opening .channels,body.opening .right-menu{
  opacity: 0;
  animation: fade-in 1s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

body.loading x--footer,body.loading .content,body.loading .channels,body.loading .right-menu{
  opacity: 0;
}

body.loading [background-image]{
  opacity: 0;
  filter:blur(0px);
}

@keyframes fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes opening {
  0% {opacity: 1;filter:blur(0px);}
  50% {opacity: 1;filter:blur(0px);}
  100% {opacity: .3;filter:blur(10px);}
}

*/
/* !public/components/_style.css */
[book]{
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--back, #1a1a1a);
  padding:.8em;
  border-radius:.5em;
}
/* !public/components/base.css */
button, .button, [button], input:not([type=checkbox]):not([type=radio]), textarea, select, dropdown, .input{
  font-size:16px;
  border-radius: .5em;
  font-weight: 500;
}



html,body{
  overflow: hidden!important;
  -webkit-font-smoothing: antialiased!important;
  -moz-osx-font-smoothing: grayscale!important;
  text-rendering: optimizeLegibility!important;
}

body{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
/* !public/components/box.css */
[over],.over{
  padding:.2em;
  border-radius:.2em;
  height:2.6em;
}
[box],.box{
  padding:1em 2em;
}
.menu [box]{
  padding:8px;
}
[box]>h1:first-child{
  font-size: 1em;
  border-bottom: 2px solid #8882;
  align-items: center;
}
[box] [grid-form]{
  gap:0.5em;
}
[box] [grid-form] label{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}


@media only screen and (max-width: 600px) {
  [box],.box{
    padding:1em;
  } 
}
/* !public/components/button.css */
button.loading, .button.loading{
  color: transparent;
  position: relative;
}

button.loading:after, .button.loading:after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1em;
  height: 1em;
  border-radius: 100%;
  border:2px solid var(--front);
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* !public/components/channels.css */
[channel-nick^="uygulama."] a {
  background-color: #66ff77;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cdefs%3E%3CradialGradient id='a' cx='500' cy='500' r='975' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2366ff77'/%3E%3Cstop offset='1' stop-color='%23240'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='500' cy='500' r='975' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23EF5' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23EF5' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1000' height='1000'/%3E%3Cg fill='none' stroke='%23081' stroke-width='10' stroke-miterlimit='10' stroke-opacity='.2'%3E%3Cpolygon points='-500%2C500 500%2C-500 1500%2C500 500%2C1500'/%3E%3Cpolygon points='-475%2C500 500%2C-475 1475%2C500 500%2C1475'/%3E%3Cpolygon points='-450%2C500 500%2C-450 1450%2C500 500%2C1450'/%3E%3Cpolygon points='-425%2C500 500%2C-425 1425%2C500 500%2C1425'/%3E%3Cpolygon points='-400%2C500 500%2C-400 1400%2C500 500%2C1400'/%3E%3Cpolygon points='-375%2C500 500%2C-375 1375%2C500 500%2C1375'/%3E%3Cpolygon points='-350%2C500 500%2C-350 1350%2C500 500%2C1350'/%3E%3Cpolygon points='-325%2C500 500%2C-325 1325%2C500 500%2C1325'/%3E%3Cpolygon points='-300%2C500 500%2C-300 1300%2C500 500%2C1300'/%3E%3Cpolygon points='-275%2C500 500%2C-275 1275%2C500 500%2C1275'/%3E%3Cpolygon points='-250%2C500 500%2C-250 1250%2C500 500%2C1250'/%3E%3Cpolygon points='-225%2C500 500%2C-225 1225%2C500 500%2C1225'/%3E%3Cpolygon points='-200%2C500 500%2C-200 1200%2C500 500%2C1200'/%3E%3Cpolygon points='-175%2C500 500%2C-175 1175%2C500 500%2C1175'/%3E%3Cpolygon points='-150%2C500 500%2C-150 1150%2C500 500%2C1150'/%3E%3Cpolygon points='-125%2C500 500%2C-125 1125%2C500 500%2C1125'/%3E%3Cpolygon points='-100%2C500 500%2C-100 1100%2C500 500%2C1100'/%3E%3Cpolygon points='-75%2C500 500%2C-75 1075%2C500 500%2C1075'/%3E%3Cpolygon points='-50%2C500 500%2C-50 1050%2C500 500%2C1050'/%3E%3Cpolygon points='-25%2C500 500%2C-25 1025%2C500 500%2C1025'/%3E%3Cpolygon points='0%2C500 500%2C0 1000%2C500 500%2C1000'/%3E%3Cpolygon points='25%2C500 500%2C25 975%2C500 500%2C975'/%3E%3Cpolygon points='50%2C500 500%2C50 950%2C500 500%2C950'/%3E%3Cpolygon points='75%2C500 500%2C75 925%2C500 500%2C925'/%3E%3Cpolygon points='100%2C500 500%2C100 900%2C500 500%2C900'/%3E%3Cpolygon points='125%2C500 500%2C125 875%2C500 500%2C875'/%3E%3Cpolygon points='150%2C500 500%2C150 850%2C500 500%2C850'/%3E%3Cpolygon points='175%2C500 500%2C175 825%2C500 500%2C825'/%3E%3Cpolygon points='200%2C500 500%2C200 800%2C500 500%2C800'/%3E%3Cpolygon points='225%2C500 500%2C225 775%2C500 500%2C775'/%3E%3Cpolygon points='250%2C500 500%2C250 750%2C500 500%2C750'/%3E%3Cpolygon points='275%2C500 500%2C275 725%2C500 500%2C725'/%3E%3Cpolygon points='300%2C500 500%2C300 700%2C500 500%2C700'/%3E%3Cpolygon points='325%2C500 500%2C325 675%2C500 500%2C675'/%3E%3Cpolygon points='350%2C500 500%2C350 650%2C500 500%2C650'/%3E%3Cpolygon points='375%2C500 500%2C375 625%2C500 500%2C625'/%3E%3Cpolygon points='400%2C500 500%2C400 600%2C500 500%2C600'/%3E%3Cpolygon points='425%2C500 500%2C425 575%2C500 500%2C575'/%3E%3Cpolygon points='450%2C500 500%2C450 550%2C500 500%2C550'/%3E%3Cpolygon points='475%2C500 500%2C475 525%2C500 500%2C525'/%3E%3C/g%3E%3Crect fill-opacity='.2' fill='url(%23b)' width='1000' height='1000'/%3E %3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

.groups [tooltip-right] {
  position: relative;
}

.groups [tooltip-right]:after {
  content: attr(tooltip-right);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark, #2c2c2c);
  color: var(--light, #fff);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1000;
}

.groups [tooltip-right]:before {
  content: '';
  position: absolute;
  left: calc(100% + 5px);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--dark, #2c2c2c);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.groups [tooltip-right]:hover:after,
.groups [tooltip-right]:hover:before {
  opacity: 1;
  visibility: visible;
}

.groups [tooltip-right]:hover:after {
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.context-menu {
  display: none;
  position: fixed;
  background: var(--back);
  border: 1px solid var(--light);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.context-menu-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--front);
  font-size: 12px;
  transition: all 0.2s ease;
}

.context-menu-item:hover {
  background: var(--light);
  opacity: 0.9;
}

.context-menu-item svg {
  opacity: 0.8;
}

.context-menu-item:hover svg {
  opacity: 1;
}

/* !public/components/graf.css */
graf,graf svg{width:100%!important;}
/* !public/components/media-room.css */
[web-connect][view=divide] [web-connect-persons]{
  height: calc(100% - 50px);
  top: 0;
  overflow: hidden;
  position: absolute;
}

[web-connect][view=divide] [web-connect-full-video]{
  display: none;
}

[web-connect][view=divide] [web-connect-person]{
  width: 100%;
  height: 100%;
  min-width: unset;
}

[web-connect][view=divide].full-view [web-connect-person]{
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: calc(var(--window-width)* 0.1px);
}


[web-connect][view=divide] [web-connect-person-view]{
  position: relative;
}
[web-connect][view=divide] [web-connect-person] video{
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

[web-connect][view=divide][person-count="1"] [web-connect-persons]{
  display: grid;
  grid-template-columns: 1fr;
}
[web-connect][view=divide][person-count="2"] [web-connect-persons]{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
[web-connect][view=divide][person-count="3"] [web-connect-persons]{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
[web-connect][view=divide][person-count="4"] [web-connect-persons]{
  display: grid;
  grid-template-columns: repeat(2,calc(50% - 4px));
}

[web-connect][view=divide][person-count="5"] [web-connect-persons]{
  display: grid;
  grid-template-columns: repeat(3,calc(33.33% - 6px));
}

[web-connect][view=divide][person-count="6"] [web-connect-persons],
[web-connect][view=divide][person-count="7"] [web-connect-persons],
[web-connect][view=divide][person-count="8"] [web-connect-persons],
[web-connect][view=divide][person-count="9"] [web-connect-persons]{
  display: grid;
  grid-template-columns: repeat(3,calc(33.33% - 6px));
}

[web-connect][view=divide][person-count="10"] [web-connect-persons],
[web-connect][view=divide][person-count="11"] [web-connect-persons],
[web-connect][view=divide][person-count="12"] [web-connect-persons],
[web-connect][view=divide][person-count="13"] [web-connect-persons],
[web-connect][view=divide][person-count="14"] [web-connect-persons],
[web-connect][view=divide][person-count="15"] [web-connect-persons],
[web-connect][view=divide][person-count="16"] [web-connect-persons]{
  display: grid;
  grid-template-columns: repeat(3,calc(25% - 4px));
}

@media only screen and (max-width: 600px) {
  [web-connect][view=divide][person-count="5"] [web-connect-persons]{
    grid-template-columns: repeat(2,calc(50% - 4px));
  }
  [web-connect][view=divide][person-count="6"] [web-connect-persons]{
    grid-template-columns: repeat(2,calc(50% - 4px));
  }
}




[web-connect][view=divide].full-view [web-connect-persons]{
  display: flex;
  flex-direction: column;
  left: 0;
  top: 0;
  width: 25%;
  overflow-y: auto;
}
[web-connect][view=divide].full-view [web-connect-full-video]{
  position: absolute;
  left: calc(25% + 8px);
  top: 8px;
  width: calc(75% - 16px);
  height: calc(100% - 66px);
  display: block;
}

[web-connect][view=divide] [web-connect-person-title]{
  position: absolute;
  z-index: 2;
  padding: 4px;
  font-size: 12px;
  background: linear-gradient(180deg, var(--back), transparent);
  width: 100%;
}


/*
[web-connect][view=divide].full-view .full-screen-person{
  position: absolute;
  left: calc(25% + 8px);
  top: 8px;
  width: calc(75% - 16px);
  height: calc(100% - 66px); 
}
*/
/* !public/components/members.css */
[user]{
  height: 3.4em;
  min-height: 3.4em;
  order: var(--order, 999999999);
  white-space: nowrap;
  text-overflow: ellipsis;
  padding:.25em;
  border-radius:0.25em;
  border-radius:100px;
}
[user]:hover{
  cursor: pointer;
  background-color: var(--light);
}
[user]:not(.online) b{
  opacity:0.6;
  position: relative;
}
[user].online:not([order="-4"]):not([team-member]){
  order: calc(var(--order,999999999) - 1);
  order:-1;
}
[user].online b{
  opacity:1;
}
[user].online[order="MEMBER"]{
  /* order:999999998; */

}
[user] img[user-image]{
  width: 2.8em;
  height: 2.8em;
  min-width:2.8em;
  min-height: 2.8em;
  border-radius:100%;
  object-fit:cover;
}
[user].online img{
  box-shadow:0 0 0 2px var(--primary);
}
[user].online.online-user-clone{
  order:-1!important;
}

none{
  position: absolute;
  opacity: 0;
  z-index: -1000;
}
[role-name][count="0"]{
  display: none;
}
.member-popup {
  position: fixed;
  background: var(--background);
  border-radius: 16px;
  padding: 20px;
  width: 340px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  z-index: 9999;
  animation: popupFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.member-popup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.member-popup-header img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 2px solid rgba(255,255,255,0.1);
}

.member-popup-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-popup-info h3 {
  margin: 0;
  font-size: 1.4em;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

.member-popup-nickname {
  color: var(--text);
  opacity: 0.7;
  font-size: 1em;
  font-weight: 500;
}

.member-popup-roles {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-popup-role-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.member-popup-role-tag:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.member-popup-profile-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: var(--primary);
  color: var(--primary-text);
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.member-popup-profile-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
}

.member-role-users {
  display: flex;
  flex-direction: column;
}

.member-role-users [user].online {
  order: -1 !important;
}

.member-role-users [user]:not(.online) {
  order: 1;
}

@keyframes spotify-playing {
  0%, 100% { height: 8px; }
  50% { height: 3px; }
}


.role-title{
  font-size: 0.9em;
  color: var(--primary);
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  padding-left: .2em;
  margin-top: 1em;
}


[tp-badge]{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap:4px;
}

[tp-badge] img{
  width: 1.5em;
  height: 1.5em;
  box-shadow: none !important;
}

[tp-badge=""]{
  display: none;
}

.members-list [style*="color: #000000"],.members-list [style*="color:#000000"] {
  color: var(--front)!important;
}
/* !public/components/my-groups.css */
/* Benzersiz bir class ekleyelim */
.groups {
  position: absolute;
  left: -6px;
  top: 0;
  height: 100%;
  width: 64px;
  background: var(--dark-100);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 4px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden; /* Yatay scroll'u engelle */
  direction: rtl;
}

/* Sidebar içeriğini ortalamak için */
.groups .sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 48px; /* Minimum genişlik */
}

.groups > * {
  direction: ltr;
}

.groups::-webkit-scrollbar {
  width: 4px;
}

.groups::-webkit-scrollbar-thumb {
  background: var(--dark-300);
  border-radius: 4px;
}

.groups::-webkit-scrollbar-track {
  background: transparent;
}

.groups .sidebar-item {
  width: 48px;
  min-width: 48px; /* Minimum genişlik */
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
  margin-bottom: 2px;
}

.groups .sidebar-item:hover {
  background: var(--dark-200);
}

.groups .sidebar-item img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: none;
}

.groups .sidebar-item svg {
  width: 22px;
  height: 22px;
  color: var(--text);
}

.groups .sidebar-divider {
  height: 2px;
  background: var(--border);
  margin: 2px 8px;
  opacity: 0.5;
}

/* Tooltip için stil */
.groups .tooltip {
  position: fixed;
  left: 70px;
  background: var(--dark-300, #2a2a2a);
  color: var(--text, #fff);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* Tooltip stilleri */
.tooltip-container {
  position: fixed;
  left: 76px;
  background: var(--dark-300, #2a2a2a);
  color: var(--text, #fff);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 1px solid var(--border, #3a3a3a);
  transition: opacity 0.15s ease;
}

.tooltip-container:before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--dark-300, #2a2a2a);
}

/* Ana sayfa ve sunucu oluştur butonları için özel stil */
.groups .sidebar-item[data-name="Ana Sayfa"] a,
.groups .sidebar-item[data-name="Sunucu Oluştur"] a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg, var(--light, #ffffff));
  border-radius: 10px;
  transition: all 0.2s ease;
}

.groups .sidebar-item[data-name="Ana Sayfa"] svg,
.groups .sidebar-item[data-name="Sunucu Oluştur"] svg {
  width: 20px;
  height: 20px;
  color: var(--text, #000);
  opacity: 1;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
}

/* Dark theme için özel stil */
body.theme-dark .groups .sidebar-item[data-name="Ana Sayfa"] a,
body.theme-dark .groups .sidebar-item[data-name="Sunucu Oluştur"] a {
  background: var(--dark-300, #2a2a2a);
}

body.theme-dark .groups .sidebar-item[data-name="Ana Sayfa"] svg,
body.theme-dark .groups .sidebar-item[data-name="Sunucu Oluştur"] svg {
  color: #ffffff !important; /* Tam beyaz ve !important ile */
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* Hover efektleri */
body.theme-dark .groups .sidebar-item[data-name="Ana Sayfa"] a:hover,
body.theme-dark .groups .sidebar-item[data-name="Sunucu Oluştur"] a:hover {
  background: var(--dark-400, #333);
}

/* Sunucu ikonları için özel stil */
.groups .sidebar-item a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-200, #2a2a2a) 0%, var(--dark-300, #1a1a1a) 100%);
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.groups .sidebar-item a:hover {
  transform: scale(1.05);
}

.groups .sidebar-item img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: none;
}

/* Ana sayfa ve sunucu oluştur butonları için özel stil */
.groups .sidebar-item[data-name="Ana Sayfa"] a,
.groups .sidebar-item[data-name="Sunucu Oluştur"] a {
  background: var(--light, #ffffff);
}

.groups .sidebar-item[data-name="Ana Sayfa"] a:hover,
.groups .sidebar-item[data-name="Sunucu Oluştur"] a:hover,
.groups .sidebar-item a:hover {
  transform: scale(1.05);
}

/* Sağ Tık Menüsü Stilleri */
.server-context-menu {
  position: fixed;
  background: var(--dark-200);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 180px;
  padding: 4px;
  z-index: 99999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: menuFadeIn 0.1s ease;
  backdrop-filter: blur(10px);
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.server-context-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 2px;
  color: var(--text);
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.server-context-menu .menu-item.danger {
  color: #ff5555;
}

.server-context-menu .menu-item:hover {
  background: var(--dark-300);
}

.server-context-menu .menu-item.danger:hover {
  background: rgba(255, 85, 85, 0.1);
}

.server-context-menu .menu-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
} 
/* !public/components/notification.css */
[component-notification-panel]{
  position: absolute;
  width: 280px;
  height: 320px;
  transform: translate(-50%);
  box-sizing: border-box;
  z-index: 11;
  
}

[component-notification-panel-inner]{
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: var(--back);
  color: var(--front);
  border-radius: .5em;
  border: 1.5px solid var(--light);
}

[component-notification-panel-content]{
  overflow: auto;
  height: 100%;
  width: 100%;
}

[component-notification-link]{
  padding: .5em 1em;
  position: relative;
}
[component-notification-link][readed="0"]{
  padding-left: 2em;
}
[component-notification-link][readed="0"]:before{
  content: "";
  position: absolute;
  top: 50%;
  left: 1em;
  transform: translate(-50%,-50%);
  background-color: var(--primary);
  width:  .5em;
  height: .5em;
  border-radius: 100%;
}

[component-notification-title],[component-notification-text]{
  font-size:.75em;
  white-space: pre;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
[component-notification-text]{
  opacity: 0.75;
}

[component-notification-link] a{
  position: relative;
  z-index: 2;
}
[component-notification-link] a:hover{
  color: var(--primary);
}


[component-panel-close]{
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  transform: translate(50%, -50%);
  background: var(--back);
  color: var(--front);
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--light);
  border-radius: 100%;
  display: none;
}


/* @library */
[center-in-box]{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
[border-bottom]{
  border-bottom: 1.5px solid var(--light);
}

[badge]{
  position: absolute;
  right: 12%;
  bottom: 12%;
  background: var(--primary);
  color: var(--primary-text);
  font-size: .6em;
  font-weight: 500;
  width: 1.4em;
  height: 1.4em;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0;
}
[badge]:not(:empty){
  transition: opacity .4s;
  opacity: 1;
}
/* !public/components/question.css */
.topluyo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 1;
  visibility: visible;
}


/* Modal Container */
.topluyo-modal-container {
  background: var(--back, #1a1a1a);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  transform: translateY(-10px) scale(0.95);
  opacity: 0;
  transition: all 0.2s ease;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.topluyo-modal.w-80-modal .topluyo-modal-container{
  max-width: 80%;
  width: 80%;
  height: 80%; 
  display: flex;
  flex-direction: column;
}

.topluyo-modal.fullscreen-modal{
  top: 50px;
  bottom: 50px;
}
.topluyo-modal.fullscreen-modal .topluyo-modal-container{
  max-width: 100%;
  width: 100%;
  height: 100%; 
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border:none;
}

.topluyo-modal-container .topluyo-modal-content{
  overflow-y: auto;
  flex: 1;
}

body:not(.theme-dark) .topluyo-modal-container {
  background: var(--back, #ffffff);
  border-color: var(--border, rgba(0, 0, 0, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.topluyo-modal .topluyo-modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Header */
.topluyo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.topluyo-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--front, #ffffff);
}

body:not(.theme-dark) .topluyo-modal-title {
  color: var(--front, #000000);
}


/* FIXED BY SEKO */
.topluyo-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  color: var(--front, #ffffff);
  opacity: 0.8;
  font-size: 16px;
  white-space: nowrap;
}

body:not(.theme-dark) .topluyo-modal-close {
  color: var(--front, #000000);
}

.topluyo-modal-close:hover {
  background: var(--light, rgba(255, 255, 255, 0.1));
  opacity: 1;
}

body:not(.theme-dark) .topluyo-modal-close:hover {
  background: var(--light, rgba(0, 0, 0, 0.1));
}

/* Modal Content */
.topluyo-modal-content {
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  font-size: 14px;
  line-height: 1.5;
}

body:not(.theme-dark) .topluyo-modal-content {
  color: var(--text-secondary, rgba(0, 0, 0, 0.7));
}

/* Modal Footer */
.topluyo-modal-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.topluyo-modal-button {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.topluyo-modal-button.cancel {
  background: var(--light, rgba(255, 255, 255, 0.1));
  color: var(--front, #ffffff);
}

body:not(.theme-dark) .topluyo-modal-button.cancel {
  background: var(--light, rgba(0, 0, 0, 0.1));
  color: var(--front, #000000);
}

.topluyo-modal-button.cancel:hover {
  background: var(--light-hover, rgba(255, 255, 255, 0.15));
}

body:not(.theme-dark) .topluyo-modal-button.cancel:hover {
  background: var(--light-hover, rgba(0, 0, 0, 0.15));
}

.topluyo-modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  
  border: none;
  opacity: 0.8;
  white-space: nowrap;
}

.topluyo-modal-button.danger{
  background: #ff1111;
  color: #ffffff;
}

.topluyo-modal-button:hover {
  opacity: 1;
  white-space: nowrap;
  transform: scale(0.98);
}


#full-content .topluyo-modal-container .topluyo-modal-content{
  margin: 0 -24px;
  margin-bottom: -24px;
}

#full-content .topluyo-modal-header{
  margin-left: calc(-24px + 1em);
  margin-bottom: 4px;
  padding-bottom: 16px;
  margin-top: -8px;
}
/* !public/components/tab-panel.css */

[tab-panel]{
  display: flex;
  flex-direction: row;
  height: 100%;
}
[tab-menus]{
  overflow-y:auto;
  width:300px;
}
[tab-menu]{
  padding: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  cursor:pointer;
}
[tab-menu]:hover{
  background:var(--light);
}
[tab-menu].active{
  background:var(--primary);
  color:var(--primary-text);
}
[tab-areas]{
  flex:1
}
[tab-area]{
  height: 100%;
  display:none;
  padding:1em;
  overflow-y:auto;
}
[tab-title]{
  display:none;
}

@media screen and (max-width: 600px) {
  [tab-panel]{
    position:relative;
    overflow:hidden;
  }
  [tab-menus]{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    transition:all .2s linear;
  }
  [tab-areas]{
    position:absolute;
    left:100%;
    top:50px;
    width:100%;
    height:calc(100% - 50px);
    transition:all .2s linear;
  }
  [tab-title]{
    position:absolute;
    left:100%;
    top:0px;
    width:100%;
    height:50px;
    display:flex;
    flex-direction:row;
    gap:1em;
    padding:0 .5em;
    align-items:center;
    transition:all .2s linear;
  }
  [tab-panel][tab-panel-position=right] [tab-menus]{ left:-100%;}
  [tab-panel][tab-panel-position=right] [tab-areas]{ left:0;}
  [tab-panel][tab-panel-position=right] [tab-title]{ left:0;}
}


