.sep {
      border-top: 1px solid #58585b;
      width: 91%;
      margin: 0 auto;
  }

/* General Body Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #8b8da5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
  padding: 20px;
  box-sizing: border-box;
}

/* Dark Mode */
body.dark-mode {background-color: #151515;color: #e4e4e4;}

/* Main Container */
.container {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  padding: 25px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  transition: background-color 0.2s;

  /* make scrollable */
  overflow-y: scroll;
  scrollbar-color:#1f1f1fa9 #1f1f1f00;
  scrollbar-width: thin;
  max-height: calc(100vh - 50px - 40px); /* 100% of the height minus the padding of the containers */
}
body.dark-mode .container {background-color: #1f1f1f;}

.container::-webkit-scrollbar-thumb {background: #1f1f1f00;}
.container::-webkit-scrollbar-thumb:hover {background: #1f1f1f;}

/* Headings */
h1 {
  color: #5865f2;
  margin-bottom: 15px;
}

.dark-mode h1 {
  color: #7777ee;
}

/* Input Field */
input[type="text"] {
  width: calc(100% - 20px);
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
}
input[type="text"]:focus {
  outline: 2px solid #5865f2;
}

body.dark-mode input[type="text"] {
  background-color: #2d2d2d;
  color: #e4e4e4;
  border: 2px solid #444;
}
body.dark-mode input[type="text"]:focus {
  outline: 2px solid #0c0c0c;
}

/* Buttons */
button {
  padding: 10px 15px;
  background-color: #5865f2;
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
  margin: 5px;
}

button:hover {
  background-color: #7777ee;
}

/* Toggle Dark Mode & Additional Buttons */
.toggle-dark-mode,
.view-raw-button,
.more-details-button {
  background-color: #444;
}

.toggle-dark-mode:hover,
.view-raw-button:hover,
.more-details-button:hover {
  background-color: #333;
}

/* Response Section */
.response {
  margin-top: 15px;
  padding: 15px;
  text-align: left;
  display: none;
  border-radius: 15px;
  background-color: #f8f8f8;
}

body.dark-mode .response {
  background-color: #2d2d2d;
}

/* Server Info Layout */
.server-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.server-banner img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  max-height: 200px;
  display: block;
  margin: 0 auto;
}

.server-icon {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.server-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.server-members{
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.inviter-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.inviter-avatar{
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.inviter-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Response Details */
.response p {
  font-size: 14px;
  color: #555;
  margin: 3px 0;
}

.response .label {
  font-weight: bold;
  color: #333;
}

/* Dark Mode Text */
body.dark-mode .response p {
  color: #ccc;
}

body.dark-mode .response .label {
  color: #fff;
}

/* More Details */
.more-details {
  display: none;
  margin-top: 15px;
  padding: 10px;
  border-radius: 12px;
  background-color: #f0f0f0;
}

body.dark-mode .more-details {
  background-color: #2d2d2d;
}

/* Raw Response */
.raw-response {
  margin-top: 15px;
  font-family: monospace;
  white-space: pre-wrap;
  text-align: left;
  display: none;
  background-color: #2d2d2d;
  color: #f8f8f2;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
}

body.dark-mode .raw-response {
  background-color: #121212;
}
