@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
nav {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  position: fixed;
  top: 15px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
  overflow: hidden;
}
nav.expanded {
  padding: 12px 0 20px 0;
}
nav .nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
nav .nav-links li {
  margin: 0 15px;
  display: flex;
  align-items: center;
}
nav .nav-links li img {
  border-radius: 50%;
  max-height: 40px;
  display: block;
}
nav .nav-links a {
  color: #ececec;
  text-decoration: none;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav .nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .nav-links a:hover {
  color: white;
}
nav .nav-links a:hover::after {
  width: 100%;
  left: 0;
}
nav .nav-links a:has(img)::after {
  display: none;
}
nav .expanded-menu-items {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav .expanded-menu-items::-webkit-scrollbar {
  display: none;
}
nav .expanded-menu-items li {
  display: flex;
  align-items: center;
  width: 100%;
}
nav .expanded-menu-items li a {
  color: #ececec;
  text-decoration: none;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 8px;
  width: calc(100% - 40px);
  background: rgba(255, 255, 255, 0.05);
  gap: 10px;
}
nav .expanded-menu-items li a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}
nav .expanded-menu-items li a.premium-mobile {
  background: linear-gradient(135deg, #daa520, #ffd700, #ffec8b);
  color: #2a2a2a;
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}
nav .expanded-menu-items li a.premium-mobile span {
  color: #2a2a2a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
nav .expanded-menu-items li a.premium-mobile .premium-icon {
  color: #2a2a2a;
  width: 23px;
  height: 23px;
  transition: all 0.3s ease;
}
nav .expanded-menu-items li a.premium-mobile:hover {
  transform: translateX(2px) translateY(-1px);
}
nav .expanded-menu-items li a.premium-mobile:hover .premium-icon {
  transform: scale(1.1) rotate(10deg);
}
nav .expanded-menu-items li a.premium-mobile:hover span {
  color: #2a2a2a;
}
nav .expanded-menu-items li a.invite-mobile {
  background: rgb(0, 140, 255);
  color: white;
  box-shadow: 0 0 8px rgba(0, 140, 255, 0.4);
}
nav .expanded-menu-items li a.invite-mobile span {
  color: white;
}
nav .expanded-menu-items li a.invite-mobile .icon {
  color: white;
  width: 23px;
  height: 23px;
  transition: all 0.3s ease;
}
nav .expanded-menu-items li a.invite-mobile:hover {
  transform: translateX(2px) translateY(-1px);
}
nav .expanded-menu-items li a.invite-mobile:hover .icon {
  rotate: -30deg;
  transform: translateX(1px);
}
nav .expanded-menu-items li a.invite-mobile:hover span {
  color: white;
}
nav .expanded-menu-items.show {
  max-height: min(720px, 100vh - 105px);
  opacity: 1;
  margin-top: 15px;
  overflow-y: auto;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav .menu-icon {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
}
nav #checkbox {
  display: none;
}
nav .toggle {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: 0.5s;
}
nav .bars {
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 4px;
}
nav #bar2 {
  transition-duration: 0.3s;
}
nav #bar1, nav #bar2, nav #bar3 {
  width: 100%;
}
nav #checkbox:checked + .toggle .bars {
  position: absolute;
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: 0.5s;
}
nav #checkbox:checked + .toggle {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}
nav .premium-btn {
  margin-right: 15px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background: linear-gradient(135deg, #daa520, #ffd700, #ffec8b);
  box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}
nav .premium-btn:hover {
  transform: translateY(-1px);
}
nav .premium-btn:active {
  transform: translateY(1px);
}
nav .premium-btn span {
  color: #2a2a2a;
  text-decoration: none;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
nav .premium-btn span::after {
  content: "";
  display: block;
  height: 2px;
  background: #2a2a2a;
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .premium-btn:hover span::after {
  width: 100%;
  left: 0;
}
nav .premium-btn .premium-icon {
  color: #2a2a2a;
  width: 22px;
  height: 22px;
  transition: all 0.5s ease;
  text-decoration: none;
  z-index: 2;
}
nav .premium-btn:hover .premium-icon {
  transform: scale(1.2) rotate(15deg);
}
nav .premium-btn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 1;
}
nav .premium-btn:hover::before {
  animation: shine 1.4s ease;
}
nav .premium-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
nav .premium-btn:hover::after {
  opacity: 1;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  }
  50% {
    box-shadow: 0 0 16px rgba(218, 165, 32, 0.6);
  }
  100% {
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
  }
}
nav .invite {
  margin-left: auto;
  margin-right: 25px;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background: rgb(0, 140, 255);
  box-shadow: 0 0 15px rgba(0, 140, 255, 0.5);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
nav .invite:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.6);
}
nav .invite:active {
  transform: translateY(1px);
}
nav .invite span {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  position: relative;
}
nav .invite span::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
nav .invite:hover span::after {
  width: 100%;
  left: 0;
}
nav .invite .icon {
  color: white;
  width: 24px;
  height: 24px;
  transition: all 0.5s ease;
  text-decoration: none;
}
nav .invite:hover .icon {
  rotate: -50deg;
  transform: translateX(1px);
}
nav .invite::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.3;
}
nav .invite:hover::before {
  animation: shine 1.5s ease;
}
@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  to {
    left: 100%;
  }
}

@media (max-width: 1200px) {
  nav .nav-links .menu-item {
    display: none;
  }
  nav .invite, nav .premium-btn {
    display: none !important;
  }
  nav .menu-icon {
    display: flex !important;
    justify-content: center;
    align-items: center;
    right: 20px;
    position: absolute;
    top: 16px;
  }
}
html.dashboard-session-message main > :not(h1):not(.dashboard-session-card) {
  display: none !important;
}

html.dashboard-session-message main > .dashboard-session-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 32px 24px;
  margin: 0 auto 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #303030;
  text-align: center;
}
html.dashboard-session-message main > .dashboard-session-card h2 {
  margin: 0 0 8px;
  color: #ececec;
  font-size: 1.5rem;
  font-weight: 500;
}
html.dashboard-session-message main > .dashboard-session-card p {
  margin: 0;
  color: #9e9e9e;
  font-size: 1rem;
}
html.dashboard-session-message main > .dashboard-session-card button {
  margin-top: 20px;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  background: #e76969;
  color: white;
  font: inherit;
  cursor: pointer;
}

.dashboard-session-spinner {
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  border: 3px solid rgba(231, 105, 105, 0.2);
  border-top-color: #e76969;
  border-radius: 50%;
  animation: dashboard-session-spin 900ms linear infinite;
}

@keyframes dashboard-session-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-session-spinner {
    animation: none;
  }
}
body {
  font-family: "Kanit", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #262626;
  margin: 0;
}
body main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-top: 150px;
}
body main h1 {
  color: white;
  margin-bottom: 100px;
  font-size: 4rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
  text-align: center;
  transition: font-size 0.3s ease, margin-bottom 0.3s ease;
}
body main h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #e76969;
  margin-top: 3px;
}
@media (max-width: 768px) {
  body main {
    margin-top: 100px;
  }
  body main h1 {
    font-size: 3rem;
  }
}
@media (max-width: 480px) {
  body main h1 {
    font-size: 2.5rem;
  }
}
body main #user-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
body main #user-profile #user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e76969;
  transition: width 0.3s ease, height 0.3s ease;
}
body main #user-profile #user-info {
  text-align: left;
  flex: 1;
}
body main #user-profile #user-info #user-display-name {
  color: white;
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
  transition: font-size 0.3s ease;
}
body main #user-profile #user-info #user-username {
  color: #e76969;
  font-size: 1.2rem;
  margin: 0;
  transition: font-size 0.3s ease;
}
body main #user-profile .Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: rgb(255, 65, 65);
  margin-left: auto;
}
body main #user-profile .Btn .sign {
  width: 100%;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
body main #user-profile .Btn .sign svg {
  width: 17px;
}
body main #user-profile .Btn .sign svg path {
  fill: white;
}
body main #user-profile .Btn .text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition-duration: 0.3s;
}
body main #user-profile .Btn:hover {
  width: 125px;
  border-radius: 40px;
  transition-duration: 0.3s;
}
body main #user-profile .Btn:hover .sign {
  width: 30%;
  transition-duration: 0.3s;
  padding-left: 5px;
}
body main #user-profile .Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: 0.3s;
  padding-right: 10px;
}
body main #user-profile .Btn:active {
  transform: translate(2px, 2px);
}
@media (max-width: 768px) {
  body main #user-profile {
    gap: 15px;
  }
  body main #user-profile #user-avatar {
    width: 60px;
    height: 60px;
  }
  body main #user-profile #user-info #user-display-name {
    font-size: 1.5rem;
  }
  body main #user-profile #user-info #user-username {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  body main #user-profile {
    gap: 10px;
  }
  body main #user-profile #user-avatar {
    width: 50px;
    height: 50px;
  }
  body main #user-profile #user-info #user-display-name {
    font-size: 1.2rem;
  }
  body main #user-profile #user-info #user-username {
    font-size: 0.9rem;
  }
}
body main .ownbot-dashboard-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 18px 20px;
  background: #303030;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #9e9e9e;
  box-sizing: border-box;
  text-align: left;
}
body main .ownbot-dashboard-card .ownbot-eyebrow {
  color: #e76969;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px;
  text-transform: uppercase;
}
body main .ownbot-dashboard-card h2 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 6px;
}
body main .ownbot-dashboard-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}
body main .ownbot-dashboard-card a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  background: #e76969;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
body main .ownbot-dashboard-card a:hover {
  background: rgb(88.6572008114%, 29.107505071%, 29.107505071%);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  body main .ownbot-dashboard-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  body main .ownbot-dashboard-card a {
    width: 100%;
    box-sizing: border-box;
  }
}
body main #guilds-container {
  background-color: #303030;
  border-radius: 10px;
  padding: 20px;
  color: #9e9e9e;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}
body main #guilds-container h2 {
  margin-top: -0.1em;
  color: white;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 500;
  display: inline-block;
  position: relative;
  text-align: left;
}
body main #guilds-container h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #e76969;
  margin-top: 3px;
}
body main #guilds-container #guilds-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
body main #guilds-container #guilds-list .guild {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body main #guilds-container #guilds-list .guild:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
body main #guilds-container #guilds-list .guild img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
}
body main #guilds-container #guilds-list .guild.view-all {
  outline: 3px solid #e76969;
}
body main #guilds-container #guilds-list .guild.view-all .view-all-img {
  width: 100px;
  height: 100px;
  border-radius: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
body main #guilds-container #guilds-list .guild.view-all .view-all-img .view-all-plus {
  width: 56px;
  height: 56px;
  stroke: #333;
}
body main #guilds-container #guilds-list .guild.view-all p {
  margin: 0;
  color: white;
  font-size: 1.2rem;
  text-align: center;
}
body main #guilds-container #guilds-list .guild p {
  margin: 0;
  color: white;
  font-size: 1.2rem;
  text-align: center;
}
body main #guilds-container #guilds-list .guild {
  /* note shown under greyed-out guilds — text remains readable (white)
     and gets a small colored pill background depending on reason */
}
body main #guilds-container #guilds-list .guild .guild-note {
  margin-top: 6px;
  font-size: 0.9rem;
  color: white; /* keep the explanation text readable */
  opacity: 1;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: -2px; /* tuck slightly closer to the guild box */
  font-weight: 600;
}
body main #guilds-container #guilds-list .guild {
  /* Permission error: deeper red but subtle/translucent */
}
body main #guilds-container #guilds-list .guild.no-permission .guild-note {
  background-color: rgba(179, 58, 58, 0.16);
  color: white;
}
body main #guilds-container #guilds-list .guild {
  /* Not installed: single solid translucent blue (no gradient) */
}
body main #guilds-container #guilds-list .guild.not-installed .guild-note {
  background-color: rgba(59, 130, 246, 0.12);
  color: white;
}
body main #guilds-container #guilds-list .guild {
  /* Disabled / greyed states: only affect the icon image, not the text */
}
body main #guilds-container #guilds-list .guild.not-installed img, body main #guilds-container #guilds-list .guild.no-permission img {
  filter: grayscale(100%) brightness(0.6) saturate(0);
  opacity: 0.6;
  border-radius: 12px;
}
body main #guilds-container #guilds-list .guild.not-installed {
  cursor: pointer;
}
body main #guilds-container #guilds-list .guild.no-permission {
  cursor: not-allowed;
}
body footer {
  background: #303030;
  color: white;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}
body footer p {
  margin: 0;
  margin-bottom: 10px;
  color: #9e9e9e;
  font-size: 18px;
}
body footer a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  position: relative;
}
body footer a::after {
  content: "";
  display: block;
  height: 2px;
  background: #e76969;
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  transition: width 0.4s ease, left 0.4s ease;
}
body footer a:hover::after {
  width: 100%;
  left: 0;
}

/*# sourceMappingURL=dashboard.css.map */
