/* header on the left  main on right */
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans", "Arial", sans-serif;
  background-color: #1e1f22;
  color: #c1c5cb;
}
/* nice scroll */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1e1f22;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #2b2d31;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
a {
  color: #06aafc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* header */
header {
  background-color: #1e1f22;
  color: #fff;
  text-align: center;
  flex: 0 0 90px;
  width: 90px;
  min-width: 90px;
  max-height: calc(100dvh - 20px);
}

/* main */
main {
  background-color: #313338;
  flex: 1 0 0;
  min-width: 500px;
  height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
}
footer {
  background-color: #2b2d31;
  color: #fff;
  flex: 0 0 210px;
  text-align: center;
  width: 210px;
  min-width: 210px;
  padding: 0px 10px 0px 0px;
  z-index: 999;
  min-height: calc(100dvh - 20px);
}

/* header STYLE */
header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: inherit;
  padding: 10px 12px 10px 0px;
}
header .container .nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100dvh - 40px);
  gap: 10px;
}
header .container .nav a {
  position: relative;
  display: block;
  padding-left: 15px;
}
header .container .nav a.to_bottom {
  margin-top: auto;
}
header .container .nav a img {
  width: 100%;
  border-radius: 50%;
  transition: all 0.3s ease;
}
header .container .nav a img:hover {
  border-radius: 20%;
}
header .container .nav a.active:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 70%;
  transform: translateY(15%);
  background-color: #f2f3f5;
  border-radius: 0px 20px 20px 0px;
}
header .container .nav a.active img {
  border-radius: 20%;
}
header .container .nav a .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 150px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  top: 0;
  bottom: 0;
  text-align: center;
  right: -250px;
  left: 0;
  margin: auto;
  background-color: #111214a9;
  color: #c1c4c7;
  text-decoration: none;
  padding: 5px 5px;
  backdrop-filter: blur(5px);
  z-index: 999999;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}
header .container .nav a .info.hidden {
  visibility: hidden;
  opacity: 0;
}

/* main STYLE */
main .top {
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 20px;
  gap: 5px;
}
main .top .icon {
  font-size: 35px;
  font-weight: 400;
  opacity: 0.6;
  padding: 0;
  padding-right: 15px;
}
main .top h1 {
  font-size: 20px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  color: #dbdee1;
}
main .top hr {
  width: 1px;
  background-color: #3f4147;
  border: none;
  height: 40px;
  display: block;
  margin: 0px 10px;
  padding: 0;
}
/* chat */
main .chat {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 17px;
  padding: 10px 20px;
  overflow-y: auto;
  height: calc(100% - 100px);
  box-shadow: 0px 3px 6px 0px #00000050 inset;
  padding-top: 40px;
}
main .chat::-webkit-scrollbar {
  width: 10px;
}
main .chat::-webkit-scrollbar-track {
  background: #313338;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
main .chat::-webkit-scrollbar-thumb {
  background: #1e1f22;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
main .chat .message {
  display: flex;
  gap: 15px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5px;
  border-radius: 5px;
}
main .chat .message .user-avatar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
main .chat .message .user-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
main .chat .message .message-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
  max-width: 1000px;
}
main .chat .message .message-content .message-about {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-start;
}
main .chat .message .message-content .message-about .username {
  font-size: 1.2em;
  font-weight: 600;
  color: #dbdee1;
  padding: 0;
  margin: 0;
}
main .chat .message .message-content .message-about .username a {
  color: #98ddff;
}
main .chat .message .message-content .message-about .username.skull {
  color: #ff4f4f;
}

main .chat .message .message-content .message-about .username.skullbot {
  color: #fff;
}
main .chat .message .message-content .message-about .timestamp {
  font-size: 0.8em;
  color: #8a8d91;
  margin-left: 10px;
}
main .chat .message .message-content p {
  font-size: 1em;
  color: #c1c5cb;
  font-weight: 400;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}
main .chat .message .message-content p a {
  pointer-events: all;
  z-index: 9999;
}
main .chat .message.glow {
  background-color: #2d2e31;
}
main .chat .message {
  opacity: 1;
  visibility: visible;
  transition: all 0.7s ease;
}
main .chat .message.hidden {
  visibility: hidden;
  opacity: 0;
}

/* footer STYLE */
footer .user-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 5px 10px;
  height: calc(100% - 100px);
}
footer .user-list .single_container {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer .user-list .single_container p {
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12px;
  opacity: 0.7;
  padding: 0;
  margin: 0;
}
footer .user-list .user-status {
  display: flex;
  width: 100%;
  font-size: 14px;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  border-radius: 5px;
  padding: 5px;
}
footer .user-list #discord_link {
  cursor: pointer;
}
footer .user-list .user-status:hover {
  background-color: #35373c;
}
footer .user-list .user-status .user-avatar img {
  width: 40px;
  position: relative;
  height: 40px;
  border-radius: 50%;
  z-index: 8;
}
footer .user-list .user-status .user-avatar .status_single {
  display: block;
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #2f3136;
  bottom: 0;
  left: 30px;
  background-color: #43b581;
  border-radius: 50%;
  z-index: 9;
}
footer .user-list .user-status .message-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}
footer .user-list .user-status .message-about .username {
  font-size: 1.1em;
  font-weight: 600;
  color: #dbdee1;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
footer .user-list .user-status .message-about .username.skull {
  color: #ff4f4f;
}
footer .user-list .user-status .message-about .username.skullbot {
  color: #fff;
}
footer .user-list .user-status .message-about .current-status {
  font-size: 0.9em;
  color: #8a8d91;
  text-align: left;
  pointer-events: none;
}
.infomsg {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 5px;
  color: #c1c5cb;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  transition: all 0.3s ease;
}
.round-img {
  border-radius: 15px;
  width: 100px;
  transition: all 0.3s ease;
}
.round-img:hover {
  transform: scale(1.1);
}
#ban_appeal,
#admin_ban_appeal {
  background-color: #383a40;
  color: #6a6c75;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 15px 10px;
  width: calc(100% - 20px);
  font-size: 16px;
  transition: all 0.3s ease;
  resize: none;
}
#ban_appeal:focus,
#admin_ban_appeal:focus {
  background-color: #2d2e31;
  border: 1px solid #333;
  outline: none;
  color: #c1c5cb;
}
#send_ban_appeal,
#send_ban_appeal_admin {
  background-color: #1eb414;
  color: #0a0317;
  border: 1px solid #1eb414;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  width: max-content;
  display: inline-block;
  margin-left: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}
#send_ban_appeal:hover,
#send_ban_appeal_admin:hover {
  background-color: #27e41a;
  color: #0a0317;
}
/* tickets */

main .chat .message.main_ticket {
  background-color: #2b2d31;
  padding: 40px 10px;
}
main .chat .message.main_ticket_url {
  text-decoration: none;
  transition: all 0.3s ease;
}
main .chat .message.main_ticket_url:hover {
  background-color: #1e1f22;
}
main .chat .message.main_ticket:has(span.closed) {
  /* display: none !important;*/
  font-size: 10px;
  padding: 10px 10px;
  opacity: 0.7;
}
main .chat .message.main_ticket:has(span.closed) img {
  height: 30px;
  width: 30px;
}
main .chat .message.main_ticket:has(span.closed):hover {
  opacity: 1;
}

main .chat:nth-child(1n):has(.message.small_message) {
  gap: 10px;
}
main .chat .message.small_message {
  padding: 5px;
  border-radius: 5px;
  background-color: #2b2d31;
  font-size: 12px;
  color: #c1c5cb;
  transition: all 0.3s ease;
}

main
  .chat:nth-child(1n):has(.message.small_message)
  .message.message.small_message {
  margin-bottom: 40px;
}
main .chat .message.small_message img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
main .chat:nth-child(1n):has(.message.small_message_closed) {
  gap: 5px;
}
main
  .chat:nth-child(1n):has(.message.small_message_closed)
  .message.message:not(.small_message_closed) {
  margin-bottom: 20px;
}
main
  .chat:nth-child(1n):has(.message.small_message_closed)
  .message.message.main_ticket_closed:not(.small_message_closed) {
  margin-bottom: 10px;
}
main .chat .message.small_message_closed {
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  color: #c1c5cb;
}
main .chat .message.small_message_closed.last_message {
  margin-bottom: 30px;
}

main .chat .message.small_message_closed img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
main .chat .message.ticket_message.small_message_closed,
.message.ticket_message.small_message_closed .message-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 7px;
  justify-content: flex-start;
  align-items: center;
}
main
  .chat
  .message.ticket_message.small_message_closed
  .message-content
  .message-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
main
  .chat
  .message.ticket_message.small_message_closed
  .message-content
  .message-about
  .username {
  font-size: 13px;
}
main
  .chat
  .message.ticket_message.small_message_closed
  .message-content
  .message-about
  .timestamp {
  margin: 0;
  font-size: 8px;
}
main .chat .message.ticket_message.small_message_closed .user-avatar img {
  width: 20px;
  height: 20px;
}
main .chat .message.ticket_message.small_message_closed .message-content p {
  font-size: 13px;
  border-left: 1px solid #2b2d31;
  padding-left: 10px;
  margin-left: 5px;
}
main .chat .message.small_message {
  background-color: #2b2d3170;
}
main .chat .message.small_message,
main .chat .message.small_message .message-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 7px;
  justify-content: flex-start;
  align-items: center;
}
main .chat .message.small_message .message-content .message-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
main .chat .message.small_message .message-content .message-about .username {
  font-size: 13px;
}
main .chat .message.small_message .message-content .message-about .timestamp {
  margin: 0;
  font-size: 8px;
}
main .chat .message.small_message .user-avatar img {
  width: 20px;
  height: 20px;
}
main .chat .message.small_message .message-content p {
  font-size: 13px;
  border-left: 1px solid #2b2d31;
  padding-left: 10px;
  margin-left: 5px;
}
main .chat .message.has_message {
  /*border-radius: 5px 5px 0px 0px;*/
}
main .chat .message.has_message_to_ticket {
  margin-top: -10px;
  background-color: #2b2d31;
  border-radius: 0px 0px 12px 12px;
  margin-left: 25px;
  margin-right: 25px;
}
.inprogress {
  color: #1eb414;
  text-shadow: 1px 1px 1px #0a0317;
  font-weight: 600;
}
.closed {
  color: #7f2727;
  text-shadow: 1px 1px 1px #0a0317;
  font-weight: 600;
}
.ban_info {
  color: #9d3131;
  text-shadow: 1px 1px 1px #0a0317;
  font-weight: 600;
}
.ban_info.not_banned {
  color: #1eb414;
}
main .chat .message .message-content .roles_infomsg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: flex-start;
}
main .chat .message .message-content .roles_infomsg .role::before {
  content: "•";
  left: -15px;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  position: absolute;
  background-color: transparent;
  color: #131415;
  font-size: 20px;
  margin-right: 5px;
}
main .chat .message .message-content .roles_infomsg .role {
  position: relative;
  background-color: #2b2d31;
  padding: 2px 5px;
  border-radius: 5px;
  margin-left: 25px;
}
main .chat .message .message-content .roles_infomsg .role:hover {
  background-color: rgb(62, 63, 67);
}
/* ############################################## */
/* mobile  css */
@media only screen and (max-width: 1270px) {
  main .top h1 {
    font-size: 17px;
  }
  main .top p {
    font-size: 14px;
  }
}
@media only screen and (max-width: 1150px) {
  footer {
    display: none;
  }
  main .top h1 {
    font-size: 17px;
  }
  main .top p {
    font-size: 13px;
  }
  main .chat .message .message-content {
    font-size: 17px;
  }
}
@media only screen and (max-width: 900px) {
  footer {
    display: none;
  }
  main {
    min-width: 200px;
  }
  main .top h1 {
    font-size: 15px;
  }
  main .top p {
    font-size: 12px;
  }

  header .container .nav a.active::before {
    display: none;
  }
  header .container .nav a img {
    width: 50px;
  }
  main .top h1 {
    font-size: 14px;
  }
  main .top p {
    font-size: 12px;
  }
  main .chat .message .message-content {
    font-size: 16px;
  }
  main .chat .message {
    gap: 10px;
  }
}
@media only screen and (max-width: 800px) {
  header {
    flex: 0 0 70px;
    width: 100%;
    min-width: 70px;
  }
  header .container .nav a.active::before {
    display: none;
  }
  main .top h1 {
    font-size: 13px;
  }
  main .top p {
    font-size: 11px;
  }
  main .chat .message .message-content {
    font-size: 14px;
  }
  main .chat .message .user-avatar img {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 600px) {
  main .chat .message .message-content {
    font-size: 12px;
  }
  main .chat .message .user-avatar img {
    width: 30px;
    height: 30px;
  }
  main .chat .message {
    gap: 5px;
  }
}
.smalltext {
  font-size: 0.7em;
}
