body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111218;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-menu {
  background: #18181f;
  padding: 0.6em 0;
  border-bottom: 1px solid #23242d;
  width: 100%;
}
.main-menu ul {
  display: flex;
  gap: 1.6em;
  list-style: none;
  padding: 0 2em;
  margin: 0;
}
.main-menu li {
  display: inline-block;
}
.main-menu a {
  color: #45c1f5;
  text-decoration: none;
  font-size: 1.07em;
  font-weight: 500;
  padding: 0.35em 0.5em;
  border-radius: 5px;
  transition: background 0.2s;
}
.main-menu a:hover {
  background: #23242d;
  color: #41ec8b;
}

.content-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* Zentriert die Card vertikal & horizontal */
  min-height: 0;            /* Wichtiger Fix, verhindert zu großes Wachstum */
  padding-top: 3vh;
  box-sizing: border-box;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;   
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
}

.login-card {
  background: #1e1e2a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.05);
  color: #fff;
  width: 100%;
  max-width: 800px;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.login-card img {
  max-width: 200px;
  margin-bottom: 1rem;
}
.login-card h1 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}
.login-card h2 {
  font-size: 1rem;
  font-weight: normal;
  color: #ccc;
  margin-top: -0.5rem;
}
.discord-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: #5865F2;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
}
.discord-link:hover {
  background: #4752c4;
}
.discord-icon {
  width: 20px;
  height: 20px;
  filter: invert(1);
  vertical-align: middle;
}

footer {
  background: #18181f;
  color: #aaa;
  padding: 1.2rem 0 1.5rem 0;
  text-align: center;
  font-size: 0.98rem;
  border-top: 1px solid #23242d;
  flex-shrink: 0;
  width: 100%;
}


.ticket-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem 0;
  background: #1a1b23;
  border-radius: 8px;
  overflow: hidden;
}
.ticket-table th, .ticket-table td {
  padding: 0.7em 1.1em;
  text-align: left;
  border-bottom: 1px solid #23242d;
  font-size: 1.02em;
}
.ticket-table th {
  background: #191a1f;
  color: #45c1f5;
  font-weight: bold;
  border-bottom: 2px solid #23242d;
}
.ticket-table tr:last-child td {
  border-bottom: none;
}
.ticket-table tr:hover td {
  background: #23242d;
}
.status-label {
  display: inline-block;
  padding: 0.14em 0.75em;
  border-radius: 10px;
  font-size: 0.98em;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.status-open { background: #00970018; color: #009700; }
.status-in_progress { background: #b39b0014; color: #b39b00; }
.status-validation { background: #0088b318; color: #0088b3; }
.status-closed { background: #b3000016; color: #b30000; }
.status-close_requested { background: #ff800019; color: #ff8000; }

/* Uploads-Boxen */
.uploads {
  background: #21222b;
  padding: 0.75em 1.2em;
  border-radius: 7px;
  margin: 0.8em 0 1.2em 0;
  font-size: 0.98em;
}

/* Antwort-Formular */
.reply-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.5em;
  font-size: 1em;
  background: #181820;
  color: #fff;
  border: 1px solid #23242d;
  border-radius: 6px;
  margin-bottom: 1em;
  resize: vertical;
}
.reply-form input[type="file"] {
  margin: 0.5em 0 1em 0;
}
.reply-form button {
  background: #45c1f5;
  border: none;
  color: #fff;
  padding: 0.65em 2em;
  border-radius: 6px;
  font-size: 1.05em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.reply-form button:hover {
  background: #0097db;
}

a {
  color: #45c1f5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
