body{font-family:system-ui;background:#f4f6f8;padding:20px}
.card{background:#fff;padding:15px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.1);margin-bottom:15px}
.btn{background:#c40000;color:#fff;padding:6px 12px;border-radius:6px;text-decoration:none}
.btn_active{background:#c40000;color:#fff;padding:6px 12px;border-radius:6px;text-decoration:dashed underline overline}
table{width:100%;border-collapse:collapse}
td,th{padding:8px;border-bottom:1px solid #ccc;text-align: left;vertical-align:middle}
table th {background-color: #f0f0f0;font-weight: 600}
.einsatzbereit{background:#e7f7e7}
.bedingt{background:#fff8d6}
.nicht{background:#fde2e2}
.ticket-details td {
    background: #f9f9f9;
    border-left: 4px solid #c40000;
}
select, input[type=date] {
    padding: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

select:focus, input[type=date]:focus {
    border-color: #c40000;
    outline: none;
}
.page {
  max-width: 520px;
  margin: auto;
}

.subtitle {
  color: #555;
  margin-bottom: 10px;
}

.form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.form input[type=text],
.form textarea,
.form input[type=file] {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.status-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.status-select label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.status-select input {
  transform: scale(1.3);
}

.ok { color: #2e7d32; font-weight: 600; }
.warn { color: #f9a825; font-weight: 600; }
.stop { color: #c62828; font-weight: 600; }

.btn-full {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  font-size: 18px;
}
textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}
.massnahmen {
  list-style: none;
  padding: 0;
}

.massnahmen li {
  background: #f7f7f7;
  border-left: 4px solid #c40000;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 4px;
}

/* ==========================
   Responsive Tabellen
   ========================== */

@media (max-width: 1000px) {

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  table tr {
    background: #fff;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    padding: 8px;
  }

  table td {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
  }

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

  table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    margin-right: 10px;
  }
}

