/* ================= ADMIN LOGIN (MITTIG) ================= */
.admin-login-page {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
}

.admin-login-box {
  width: 30vw;                   /* Breite dynamisch */
  max-width: 35em;               /* aber nie zu groß */
  background: #fff;
  padding: 3em 2.5em;
  border-radius: 1em;
  box-shadow: 0 0.6em 2em rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 10vw;
}

.admin-login-title {
  font-size: 2em;
  font-weight: 600;
  color: #222;
  margin-bottom: 1.5em;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.admin-login-form label {
  font-size: 1em;
  font-weight: 600;
  color: #333;
  text-align: left;
}

.admin-login-form input {
  padding: 0.8em 1em;
  border: 0.1em solid #b63a3a;
  border-radius: 0.6em;
  font-size: 1em;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.admin-login-form button {
  margin-top: 1em;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 0.6em;
  padding: 0.9em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
}

.login-error {
  color: #e53935;
  font-size: 0.9em;
  margin-top: 0.8em;
  min-height: 1.5em;
}

/* Responsiv für kleine Bildschirme */
@media (max-width: 60em) {
  .admin-login-box {
    width: 80vw;
    padding: 2.5em 2em;
  }
}

/* ================= ADMIN DASHBOARD ================= */
.admin-dashboard {
  max-width: 90vw;
  margin: 6em auto;
  background: #fff;
  padding: 3em;
  border-radius: 1em;
  box-shadow: 0 0.5em 1.5em rgba(0,0,0,0.15);
}

.admin-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2em;
}

.logout-btn {
  background-color: #555;
  color: #fff;
  text-decoration: none;
  padding: 0.7em 1.5em;
  border-radius: 0.6em;
  font-weight: 600;
}

.logout-btn:hover {
  background-color: #777;
}

.bug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}

.bug-table th, .bug-table td {
  border-bottom: 0.1em solid #ccc;
  padding: 1em;
  text-align: left;
  vertical-align: top;
}

.bug-table th {
  background-color: #f3f3f3;
  font-weight: 700;
}

.actions {
  white-space: nowrap;
}

.action-btn {
  display: inline-block;
  margin-right: 0.6em;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9em;
}

.action-btn.done {
  background-color: #4CAF50;
}

.action-btn.delete {
  background-color: #E53935;
}

.action-btn:hover {
  opacity: 0.85;
}

.no-bugs {
  text-align: center;
  font-size: 1.2em;
  color: #444;
  margin-top: 3em;
}

.admin-dashboard {
  max-width: 90vw;
  margin: 8em auto;
  background: #fff;
  padding: 3em;
  border-radius: 1em;
  box-shadow: 0 0.6em 2em rgba(0,0,0,0.15);
}

.admin-title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 1.5em;
}

.admin-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2em;
}

#logout-btn {
  background: #555;
  color: #fff;
  border: none;
  border-radius: 0.6em;
  padding: 0.8em 1.5em;
  cursor: pointer;
  font-weight: 600;
}

#logout-btn:hover {
  background: #777;
}

.bug-table {
  width: 100%;
  border-collapse: collapse;
}

.bug-table th, .bug-table td {
  border-bottom: 0.1em solid #ccc;
  padding: 1em;
  text-align: left;
  vertical-align: top;
}

.bug-table th {
  background-color: #f3f3f3;
  font-weight: 700;
}

button.done-btn,
button.delete-btn {
  border: none;
  border-radius: 0.5em;
  padding: 0.5em 1em;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.5em;
}

button.done-btn { background: #4CAF50; }
button.delete-btn { background: #E53935; }
button:hover { opacity: 0.8; }

