/* Custom Discord Aesthetic Styles */
@layer utilities {
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1f22;
}
::-webkit-scrollbar-thumb {
  background: #35373c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4e5058;
}

/* Discord Markdown formatting styles */
.discord-embed {
  border-right-width: 4px;
  background-color: #2b2d31;
  border-radius: 4px 8px 8px 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scaleUp {
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Button active states and scale */
button:active {
  transform: scale(0.97);
}

/* RTL Support details */
[dir="rtl"] .message-avatar {
  margin-left: 0.75rem;
}