
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #2f3136;
  color: white;
  display: flex;
}


strong {
  position: relative !important;
  display: inline-block !important;
}

.copy-link {
  display: none !important; /* Standardmäßig ausgeblendet */
  margin-left: 10px !important;
  font-size: 16px !important;
  color: #7289da !important; /* Discord-Blau */
  text-decoration: none !important;
}

strong:hover .copy-link {
  display: inline !important; /* Beim Hover anzeigen */
}

.copy-link:hover {
  color: #ffffff !important; /* Weiß beim Hover */
  display: block !important; /* Standardmäßig ausgeblendet */
}

h2 {
  position: relative !important; /* Ermöglicht die korrekte Positionierung des Icons */
  display: inline-block !important; /* Verhindert, dass das Icon auf eine neue Zeile springt */
}

h2:hover .copy-link {
  display: inline !important; /* Beim Hover anzeigen */
}

h3 {
  position: relative !important; /* Ermöglicht die korrekte Positionierung des Icons */
  display: inline-block !important; /* Verhindert, dass das Icon auf eine neue Zeile springt */
}

h3:hover .copy-link {
  display: inline !important; /* Beim Hover anzeigen */
}

pre {
  background-color: #2b2d31; /* Dunkler Hintergrund */
  color: #ffffff; /* Weißer Text */
  padding: 4px 8px; /* Minimaler Innenabstand */
  border-radius: 4px; /* Leicht abgerundete Ecken */
  overflow-x: auto; /* Horizontal scrollen bei langen Zeilen */
  font-family: "Consolas", "Courier New", Courier, monospace; /* Monospace-Schriftart */
  font-size: 13px; /* Schriftgröße */
  margin: 4px 0; /* Minimaler Abstand oben und unten */
  border: 1px solid #202225; /* Dünner Rahmen */
  line-height: 1.4; /* Zeilenhöhe für bessere Lesbarkeit */
  max-width: 100%; /* Verhindert, dass die Box breiter als der Container wird */
}

code {
  display: block;
  white-space: pre-wrap; /* Zeilenumbrüche beibehalten */
  word-wrap: break-word; /* Lange Wörter umbrechen */
  margin: 0; /* Kein zusätzlicher Abstand innerhalb der Codebox */
  padding: 0; /* Kein zusätzlicher Innenabstand */
  text-align: left; /* Text linksbündig */
}

.sidebar {
  width: 220px;
  background-color: #2f3136;
  padding: 20px;
  position: fixed;
  height: 100vh;
  border-right: 1px solid #232428; /* Optional: Rechter Rand */
}

.sidebar h1 { /* API Name */
  font-size: 40px;
  margin-bottom: 30px;
  color: #3aa8ff;
  text-align: left; /* Text linksbündig */
}

.sidebar nav a {
  display: block !important;
  color: white !important;
  text-decoration: none !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  margin: 3px 0 !important;
  transition: background-color 0.2s ease !important;
}

.sidebar nav a:hover {
  background-color: rgba(88, 101, 242, 0.2) !important; /* Discord-like hover */
}

main {
  margin-left: 400px; /* Abstand zur linken Sidebar */
  margin-right: 400px; /* Abstand zur rechten Sidebar */
  padding: 30px;
  flex-grow: 1;
  background-color: #2f3136; /* Gleiche Farbe wie die Sidebars */
  text-align: left; /* Text linksbündig */
}

.endpoint {
  background-color: #313338;
  padding: 15px;
  border-left: 3px solid transparent;
  margin: 20px 0;
  border-radius: 6px;
}

.method {
  padding: 2px 8px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  font-size: 0.9em;
  margin-right: 10px;
}

.method.get { background-color: #00b894; }
.method.post { background-color: #0984e3; }
.method.patch { background-color: #fdcb6e; color: black; }
.method.delete { background-color: #d63031; }

p {
  text-align: left; /* Text linksbündig */
}

.right-nav {
  width: 200px;
  background-color: #2f3136;
  padding: 20px;
  position: fixed;
  right: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000; /* Falls nötig, zum Hervorheben */
  border-left: 1px solid #232428; /* Optional: Linker Rand */
}


.right-nav h3 {
  font-size: 16px;
  color: #A9AEB5;
  margin-bottom: 10px;
}

.right-nav ul {
  list-style: none;
  padding: 0;
}

.right-nav li {
  margin: 8px 0;
}

aside.right-nav a,
aside.right-nav a:visited,
aside.right-nav a:link {
  color: #ccc !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

aside.right-nav a:hover {
  color: #B5BAC1 !important;
}

.intro-page {
  padding: 40px;
  margin-bottom: 60px;
}

.intro-banner {
  text-align: center;
  margin-bottom: 40px;
}

.intro-banner h1 {
  font-size: 36px;
  color: white;
  margin-bottom: 10px;
  text-align: left; /* Text linksbündig */
}

.intro-banner p {
  font-size: 18px;
  color: #ccc;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.intro-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #3aa8ff;
}

.intro-box:hover {
  background-color: rgba(255,255,255,0.08);
}

.intro-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.intro-box p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.intro-box a {
  color: #3aa8ff;
  text-decoration: none;
}

.intro-box a:hover {
  text-decoration: underline;
}

.sidebar-category {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  color: #80848e;
  padding-left: 5px;
}









/* 🔷 InfoBox Styles (like Discord docs) */
.info-box {
  border-left: 4px solid #3aa8ff;
  background-color: rgba(58, 168, 255, 0.1);
  color: #ccc;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}

.warning-box {
  border-left: 4px solid #faa61a;
  background-color: rgba(250, 166, 26, 0.1);
  color: #ccc;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}

.error-box {
  border-left: 4px solid #d63031;
  background-color: rgba(214, 48, 49, 0.1);
  color: #ccc;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  margin-left: 10px;
  text-transform: uppercase;
}

.status.red {
  background-color: #d63031; /* Rot für Deprecated */
}

.status.yellow {
  background-color: #fdcb6e; /* Gelb für Locked */
  color: black; /* Schwarzer Text */
}

.status.blue {
  background-color: #0984e3; /* Blau für Under Maintenance */
}














/* Optional: style inner <strong> or <a> tags */
.info-box a,
.warning-box a,
.error-box a {
  color: #3aa8ff;
  text-decoration: underline;
}

.info-box strong,
.warning-box strong,
.error-box strong {
  color: white;
}

/* Tabelle Styling */
.table {
  margin-top: 20px;
  width: 100%;
  font-family: Arial, sans-serif;
}

.table strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff; /* Weißer Text */
}

.table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #2c2f33; /* Dunkler Tabellenhintergrund */
  color: #ffffff; /* Weißer Text */
  border: 1px solid #23272a; /* Dunkler Rahmen */
}

.table th {
  background-color: #2B2D31; /* Dunkler Header-Hintergrund */
  color: #ffffff; /* Weißer Text */
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px;
  text-align: left; /* Überschriften bündig mit dem Text */
  border-bottom: 2px solid #232428; /* Dunkler Rand unter der Header-Zeile */
}

.table td {
  padding: 10px;
  border: 1px solid #2B2D31; /* Dunkler Zellenrahmen */
  font-size: 14px;
  color: #ffffff; /* Weißer Text */
  text-align: left; /* Text bündig */
}

.table tr:nth-child(even) {
  background-color: #232428; /* Dunkler Hintergrund für gerade Zeilen */
}

.table tr:nth-child(odd) {
  background-color: #2B2D31; /* Heller Hintergrund für ungerade Zeilen */
}


.discord-widget-container {
  display: flex;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
  margin: 20px 0; /* Optional: Abstand oben und unten */
}
/* Styling für das Link-Icon */


a {
  color: #7289da; /* Discord-Blau */
}



/* DropDown */

.dropdown {
  margin: 5px 0;
}

/* Haupt-Toggle */
.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-left 0.2s ease;
}

.dropdown-toggle:hover {
  background-color: rgba(88, 101, 242, 0.1);
}

/* Aktiver Zustand mit blauer Linie links */
.dropdown.open .dropdown-toggle {
  border-left: 3px solid rgba(88, 101, 242, 1);
}

/* Pfeil rechts */
.dropdown-arrow {
  transition: transform 0.2s ease;
}

/* Pfeil rotiert bei offenem Zustand */
.dropdown.open .dropdown-arrow {
  transform: rotate(90deg);
}

/* Menü selbst */
.dropdown-menu {
  display: none;
  flex-direction: column;
  margin-left: 10px;
  border-left: 2px solid rgba(88, 101, 242, 0.5);
  padding-left: 10px;
}

.dropdown.open .dropdown-menu {
  display: flex;
  padding: 3px 7px;
}

.dropdown-menu a {
  color: white;
  padding: 3px 7px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(88, 101, 242, 0.15);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Etwas weniger dunkel für Klarheit */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000; /* 🔥 Ganz oben */
  backdrop-filter: blur(4px); /* Optionaler Blur-Effekt */
}

.modal-window {
  background-color: #202225; /* Noch dunklerer Discord-Hintergrund */
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  color: white;
  border: 1px solid #5865F2;
}

.modal-window h2 {
  font-size: 20px;
  margin-top: 0;
  color: #ffffff;
}

.modal-window input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background-color: #1f2124;
  border: 1px solid #2c2f33;
  color: white;
  font-size: 14px;
}

.modal-window .team-box {
  background-color: #1f2124;
  padding: 10px;
  border-radius: 6px;
  margin: 10px 0;
  font-size: 14px;
}

.modal-window .checkbox {
  font-size: 14px;
  margin-bottom: 15px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-actions button {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-actions .btn-primary {
  background-color: #5865F2;
  color: white;
}

.modal-actions .btn-primary:disabled {
  background-color: #3f4ab2;
  cursor: not-allowed;
}

.modal-actions .btn-secondary {
  background-color: #4f545c;
  color: white;
}

.modal-actions .btn-secondary:hover {
  background-color: #686d73;
}
