
h1,
h3,
h5 {
  font-family: "Courier New", Courier, monospace;
  font-size: 150%;
  text-align: center;
}

.subtitle {
  font-size: 1.0rem;
  color: #666;
  margin: 0 0 1.5rem;
  text-align: center;
}

.my1body {
  width: 700px;
  margin: auto;
  font-size: 100%;
  display: flex;
  flex-direction: column; /* Zwingt ALLE Hauptelemente untereinander */
  align-items: center;    /* Zentriert den Container horizontal */
  min-height: 100vh;      /* Nutzt die volle Höhe des Bildschirms */
}

.mybutton {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #ff0000;
  color: #ffffff;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #cccccc;
}

.rahmen {
  border: 2px solid grey;
  margin: 5px;
  padding: 10px;
  border-radius: 6px;
}

fieldset {
  background-color: #f6ddab;
  overflow: hidden;
  border-radius: 6px;
}

:root {
    --primary-color: #003399; /* EU Blau */
    --accent-color: #ffcc00;  /* EU Gelb */
    --text-color: #333;
    --bg-color: #f4f7f6;
}

.container {
    width: 100%;
    max-width: 700px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Styling für die Controls */
.controls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.search-box, .sort-box {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.sort-label {
    font-weight: 600;
    color: #475569;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Tabellen-Styling */
.table-container {
    overflow-x: auto; /* Macht die Tabelle mobil-freundlich */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

tr:hover {
    background-color: #f9f9f9;
}

/* Hilfsklassen */
.hidden {
    display: none !important;
}

.error {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 15px;
    border-radius: 4px;
    border-left: 5px solid #d32f2f;
}

/* Lade-Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    margin: 30px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
  border-radius: 4px;
  text-align: center;
  padding: 0px;
  background-color: rgb(167, 164, 0);
  color: white;
  font-size: 14px;
  width: 100%; 
 clear: both;
}

