/* style.css – gemeinsame Gestaltung fuer trick.hmaurer */
body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    margin: 0;
    padding: 20px;
}
.box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.box h2 {
    margin-top: 0;
}

/* Menue */
.menu a {
    display: block;
    padding: 10px;
    margin: 6px 0;
    background: #0078d4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.menu a:hover {
    background: #005a9e;
}
.menu h3 {
    margin: 18px 0 4px 0;
    font-size: 1em;
    color: #555;
}

/* Formulare */
.eingabe-tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
}
.eingabe-tabelle td {
    padding: 6px;
}
input, textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1em;
    padding: 4px;
}
button {
    width: 100%;
    height: 70px;
    margin-top: 10px;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
button.button-loeschen {
    background-color: #c62828;
}
button.button-loeschen:hover {
    background-color: #a31515;
}

/* Anzeige */
.anzeige-tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
    margin: 10px 0;
}
.anzeige-tabelle th, .anzeige-tabelle td {
    border: 1px solid #999;
    padding: 4px 6px;
}
.anzeige-tabelle th {
    background: #e4e4e4;
}
.right-align {
    text-align: right;
}
.center-cell {
    text-align: center;
}
.ok {
    color: #1a7f37;
    font-weight: bold;
}
.fehler {
    color: #c00;
    font-weight: bold;
}

/* Grafik */
.grafik {
    position: relative;
    height: 300px;
    margin-bottom: 10px;
}
.zeitraum a {
    display: inline-block;
    padding: 4px 10px;
    margin: 2px;
    border: 1px solid #0078d4;
    border-radius: 4px;
    color: #0078d4;
    text-decoration: none;
}
.zeitraum a.aktiv, .zeitraum a:hover {
    background: #0078d4;
    color: white;
}
.kennzahlen td {
    font-size: 1.2em;
    font-weight: bold;
}
