/* style.css */

/* --- Global Reset & Grundlayout --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e2f; /* Dunkel-violetter / bläulicher Hintergrund */
  color: #eee;
  height: 100%;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* --- Header mit Logo --- */
header {
  display: flex;
  align-items: center;
  background-color: #27293d;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header img {
  height: 50px;
  margin-right: 20px;
}

header h1 {
  font-size: 1.8rem;
  color: #fff;
}

/* --- Navbar / einfache Navigationsleiste --- */
.navbar {
  margin-bottom: 20px;
}

.navbar a {
  display: inline-block;
  color: #fff;
  background-color: #34354e;
  text-decoration: none;
  padding: 10px 16px;
  margin-right: 5px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar a:hover {
  background-color: #4a4b66;
}

/* --- Card-Design für Boxen und Formulare --- */
.card {
  background-color: #2c2d40;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  padding: 20px;
  margin-bottom: 20px;
}

.card h2,
.card h3 {
  margin-bottom: 15px;
}

/* --- Buttons (allgemein) --- */
.btn {
  display: inline-block;
  font-weight: 600;
  color: #fff;
  background-color: #3f4162;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
  background-color: #57597a;
}

.btn:active {
  transform: scale(0.98);
}

/* Varianten: Primär / Danger */
.btn-primary {
  background-color: #536dfe;
}
.btn-primary:hover {
  background-color: #4a60e6;
}

.btn-danger {
  background-color: #e53935;
}
.btn-danger:hover {
  background-color: #cc2f2f;
}

/* --- Formular-Steuerelemente --- */
form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px;
  background-color: #393a4f;
  border: none;
  border-radius: 6px;
  color: #eee;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid #536dfe;
}

button[type="submit"],
input[type="submit"] {
  margin-top: 20px;
}

/* --- Tabellen --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #2c2d40;
  border-radius: 8px;
  overflow: hidden;
}

table th,
table td {
  padding: 12px;
  border-bottom: 1px solid #3b3b55;
  text-align: left;
}

table th {
  background-color: #34354e;
}

table tr:last-child td {
  border-bottom: none;
}

/* --- Links allgemein --- */
a {
  color: #77aaff; 
  text-decoration: none;
}

a:hover {
  color: #99ccff;
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 20px;
  background-color: #27293d;
  margin-top: 20px;
  color: #999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
}
