body { font-family: sans-serif; max-width: 700px; margin: 32px auto; padding: 0 16px; }
h1 { margin-bottom: 8px; }
.buttons { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
button { margin: 2px; padding: 8px 12px; cursor: pointer; border-radius: 8px; border: 1px solid #ccc; background: #f5f5f5; }
button:hover { background: #eaeaea; }
table { width: 100%; border-collapse: collapse; }
td, th { border-bottom: 1px solid #ddd; padding: 8px; text-align: left; }
td.actions { text-align: right; }
#summary { margin-top:12px; background:#fff7cc; padding:12px; border-radius:10px; }
#timeModal { position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
    background: rgba(0,0,0,0.45); visibility:hidden; }
#timeModal.active { visibility: visible; }
#modalContent { background: #fff; padding: 18px; border-radius: 10px; width: 320px; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
label { display:block; margin-top:8px; font-size: 0.95em; }
input[type="datetime-local"], select { width:100%; padding:8px; margin-top:6px; box-sizing:border-box; }
.timeline-container { position: relative; height: 30px; background: #eee; border-radius: 5px; }
.timeline-bar { position: absolute; top: 0; height: 30px; width: 6px; border-radius: 3px; }
.timeline-bar.first { background: #00cc66; }
.timeline-bar.last { background: #cc3300; }
.timeline-bar.normal { background: #ffcc00; }
.timeline-bar.pipi { background-color: #ffcc00; } /* Gelb */
.timeline-bar.kaka { background-color: #8B4513; } /* Braun */
.timeline-labels { display:flex; justify-content:space-between; font-size:0.8em; margin-top:2px; }
.tabs { display:flex; border-bottom:2px solid #ccc; margin-top:20px; }
.tab-button { flex:1; padding:8px; cursor:pointer; text-align:center; border-radius:8px 8px 0 0; background:#f5f5f5; border:1px solid #ccc; border-bottom:none; }
.tab-button.active { background:#fff; font-weight:bold; }
.tab-content { display:none; padding:10px 0; }
.tab-content.active { display:block; }
#eventsTableWrapper { max-height: 200px; overflow-y: auto; border: 1px solid #ccc; border-radius: 8px; padding: 4px; background: #fff; }

.import-label {
  display: inline-block;
  padding: 8px 12px;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}
.import-label:hover {
  background: #eee;
}


button {
  appearance: none; /* entfernt Browser-Standard-Stil */
  -webkit-appearance: none;
}

