  body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #929061;
      margin: 0;
      padding: 0;
    }
    .seite {
      max-width: 1100px;
      margin: 20px auto;
      background: #f8e7bf;
      padding: 20px 25px 30px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }
    .kopfzeile {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 15px;
    }
    .kopfzeile h1 {
      margin: 0;
      font-size: 1.8rem;
    }
    .monat-nav span {
      font-weight: 600;
      margin: 0 10px;
    }
    .btn {
      display: inline-block;
      background: #009688;
      color: #fff;
      border: none;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 0.9rem;
      text-decoration: none;
      cursor: pointer;
    }
    .btn-klein {
  display: inline-block;
  background: #009688;
  color: #fff;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
  margin-top: 2px;
}
.btn-klein:hover {
  background: #00897b;
}
.btn-klein[disabled] {
  opacity: 0.5;
  cursor: default;
}  
    .btn:hover {
      background: #00897b;
    }
    .user-info {
      margin-bottom: 15px;
      font-size: 0.95rem;
    }
    .user-info strong {
      font-weight: 600;
    }
    .user-info a {
      margin-left: 10px;
      color: #00695c;
      text-decoration: none;
      font-weight: 600;
    }
    .user-info a:hover {
      text-decoration: underline;
    }

    /* Kalender-Tabelle */
    table.kalender {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      background: rgb(221, 218, 212);
    }
    table.kalender thead th {
      background: #e0c27c;
      padding: 6px 4px;
      text-align: center;
      border: 1px solid #d0af67;
      font-weight: 600;
    }
    table.kalender td {
      border: 1px solid #e2c78a;
      vertical-align: top;
      height: 100px;
      padding: 0px;
      font-size: 0.85rem;
    }
    /* Klickbarer Bereich innerhalb der Tageszelle */
.kalender-tag-link {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 4px;
  text-decoration: none;
  color: inherit;
}

/* Hover-Effekt für die ganze Zelle */
.kalender-tag-link:hover {
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

    
    .tag-kopf {
      font-weight: 600;
      margin-bottom: 2px;
    }
    .tag-kopf a {
      color: inherit;
      text-decoration: none;
    }
    .kalender-schicht {
      background: rgba(255,255,255,0.85);
      border-radius: 4px;
      padding: 2px 4px;
      margin-bottom: 2px;
      border: 1px solid #dcc48a;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .kalender-schicht-zeit {
      font-weight: 600;
    }
    .kalender-schicht-titel {
      font-size: 0.78rem;
    }

    /* Detailbereich */
    .details {
      margin-top: 25px;
      padding-top: 10px;
      border-top: 2px solid #e0c27c;
    }
    .details h2 {
      margin-top: 0;
      font-size: 1.3rem;
    }
    table.details-tabelle {
      width: 100%;
      border-collapse: collapse;
      margin-top: 8px;
      font-size: 0.9rem;
      background: #fffdf5;
    }
    table.details-tabelle th,
    table.details-tabelle td {
      border: 1px solid #e0d0a0;
      padding: 4px 6px;
    }
    table.details-tabelle th {
      background: #f0e0b5;
      text-align: left;
    }
    .details-notiz {
      font-size: 0.85rem;
      margin-top: 4px;
      color: #5d4a22;
    }
    .hinweis {
      font-size: 0.9rem;
      color: #5d4a22;
      margin-top: 10px;
    }
 .abschnitt {
  margin-top: 25px;
  padding-top: 10px;
  border-top: 1px solid #e0c27c;
}

.abschnitt h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

/* Tabelle "Meine Schichten" */
table.meine-schichten {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.9rem;
  background: #fffdf5;
}

table.meine-schichten th,
table.meine-schichten td {
  border: 1px solid #e0d0a0;
  padding: 4px 6px;
}

table.meine-schichten th {
  background: #f0e0b5;
  text-align: left;
}

.meine-schichten-summary {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #5d4a22;
}
.meine-schichten-export {
  margin-top: 8px;
}

.meine-schichten-export span {
  margin-right: 6px;
}

  /* ===============================
   Kalender-Export (ICS)
   =============================== */

.meine-schichten-export {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fffaf0;
  border: 1px solid #e2c78a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meine-schichten-export span {
  font-weight: 600;
  color: #5a4a2a;
  margin-right: 6px;
}

.meine-schichten-export .btn-klein {
  padding: 4px 8px;
  font-size: 0.85rem;
  border-radius: 4px;
  background: #f0d89a;
  border: 1px solid #d0af67;
  color: #3b2f1b;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.meine-schichten-export .btn-klein:hover {
  background: #e7c97d;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.meldung-ok {
  background: #e6f4ea;
  border: 1px solid #7bc28a;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.meldung-fehler {
  background: #fdecea;
  border: 1px solid #e28b82;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.form-passwort {
  max-width: 420px;
}

.form-passwort .form-zeile {
  margin-bottom: 10px;
}
