/* =============================================================
   Checkpoint – Global Stylesheet (aufgeräumt & dedupliziert)
   Ziel: gleiche Funktionalität, weniger Überschreibungen, klare Struktur
   ============================================================= */


/* =============================================================
   1) BASE / RESET
   ============================================================= */
:root {
  /* Für cp-main-title Effekt */
  --hue: 200;
  --shadow-color: rgba(0, 0, 0, 0.35);
  --highlight-color: rgba(255, 255, 255, 0.6);
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
  background: #f6f7fa;
}

::selection {
  background: #07b5c8;
  color: #ffffff;
}
::-moz-selection {
  background: #07b5c8;
  color: #ffffff;
}


/* =============================================================
   2) LAYOUT: HEADER / SIDEBAR / MAIN
   ============================================================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #00b2c6 0%, #25c6da 100%);
  color: #fff;
  padding: 0.5rem 2rem;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-area img {
  height: 42px;
  width: auto;
}

.account-area {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.sidebar {
  width: 220px;
  background: #23272f;
  color: #fff;
  position: fixed;
  top: 60px;
  left: 0;
  height: calc(100vh - 60px);
  box-shadow: 2px 0 8px rgba(0,0,0,0.06);
  z-index: 2;
  padding-top: 2rem;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin-bottom: 1em;
}

.sidebar nav ul li a {
  display: flex;
  align-items: center;
  gap: 1em;
  color: inherit;
  text-decoration: none;
  padding: 0.7em 0.7em;
  border-left: 4px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.sidebar nav ul li.active a,
.sidebar nav ul li a:hover {
  background: #07b5c8;
  border-left: 4px solid #fff;
  color: #fff;
}

.sidebar nav ul li span.material-icons {
  font-size: 22px;
}

main {
  margin-left: 220px;
  padding: 2rem;
  min-height: calc(100vh - 60px);
  box-sizing: border-box;
}

.logout-link {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  margin-left: 1rem;
}


/* =============================================================
   3) ICONS (Material Icons) – einheitlich (zusammengeführt)
   ============================================================= */
.material-icons {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;

  /* neutralisieren (manche Browser/Styles geben Buttons hier komische Defaults) */
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;

  /* Default-Größe (kann lokal überschrieben werden) */
  font-size: 1.3em;
}

.icon-action-btn--tests .material-icons {
  font-size: 22px;
}


/* =============================================================
   4) TABLES (Admin/Staff)
   ============================================================= */
.table-container {
  width: 100%;
  overflow-x: auto;
  background: #f6f7fa;
  padding-top: 1em;
}

.admin-table {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 1rem;
  margin: 0 auto;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 0.7em 1.2em;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #151A2D;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid #e6e6e6;
}

/* Abrundungen für Kopf und Fuß der Tabelle */
.admin-table th:first-child { border-top-left-radius: 16px; }
.admin-table th:last-child  { border-top-right-radius: 16px; }
.admin-table tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.admin-table tr:last-child td:last-child  { border-bottom-right-radius: 16px; }

.admin-table td {
  border-bottom: 1px solid #e6e6e6;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.admin-table tr:last-child td { border-bottom: none; }

.admin-table tbody tr:hover {
  background: #f0f1f3;
  transition: background 0.18s;
  cursor: pointer;
}

/* Spalten zentrieren */
.admin-table th:nth-child(4),
.admin-table td:nth-child(4),
.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
  text-align: center;
}

/* Table-Form Layout */
.admin-table form {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}

.admin-table .cell-flex {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

/* Inputs/Selects in Tabellen:
   - Aktuell war es so: text/select/textarea/filter/input-payment = 2.2em,
     number inputs = 2.3em (weil number in der späteren Regel nicht enthalten war).
   - Das erhalten wir bewusst. */
.admin-table select,
.admin-table input[type="text"],
.admin-table textarea,
.admin-table .filter-input,
.admin-table .input-payment {
  height: 2.2em;
  min-width: 120px;
  font-size: 1em;
  line-height: 1.15em;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d6e9f3;
  vertical-align: middle;
  box-sizing: border-box;
  margin: 0;
  appearance: none;
}

.admin-table input[type="number"] {
  height: 2.3em;
  min-width: 120px;
  font-size: 1em;
  line-height: 1.2em;
  padding: 0.3em 0.9em;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d6e9f3;
  vertical-align: middle;
  box-sizing: border-box;
  margin: 0;
  appearance: none;
}

.admin-table textarea {
  min-height: 2.2em;
  resize: vertical;
}

/* Fokus-Styles (Table & Buttons) */
.admin-table select:focus,
.admin-table input:focus,
.admin-table textarea:focus,
.icon-action-btn:focus,
.refresh-btn:focus {
  outline: none;
  border: 1.5px solid #01b1c1;
}

/* Table Buttons kompakt halten (hohe Spezifität absichtlich!) */
.admin-table .icon-action-btn,
.admin-table button,
.admin-table .refresh-btn {
  height: 2.2em;
  min-width: 2.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 2px;
  vertical-align: middle;
  box-sizing: border-box;
  font-size: 1em;
}

.admin-table label.icon-action-btn {
  margin: 0;
  padding: 0;
}

@media (max-width: 800px) {
  .admin-info-container { padding: 8px !important; }
}


/* =============================================================
   5) PAGINATION
   ============================================================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 1.5em 0;
  padding: 0;
}

.pagination li {
  list-style: none;
  margin: 0 1px;
}

.pagination a,
.pagination .current {
  display: inline-block;
  padding: 0.12em 0.62em;
  border-radius: 6px;
  background: #fff;
  color: #23272f;
  text-decoration: none;
  border: 1px solid #d2e6ec;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  font-size: 1em;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  line-height: 1.2;
}

.pagination a:hover,
.pagination a:focus-visible {
  background: #07b5c8;
  color: #fff;
  border-color: #07b5c8;
}

.pagination .current {
  background: #07b5c8 !important;
  color: #fff !important;
  border-color: #07b5c8 !important;
  font-weight: 700;
  pointer-events: none;
  text-decoration: none !important;
}

.pagination .disabled {
  opacity: 0.47;
  cursor: not-allowed;
  background: #fafbfc;
  color: #b0b7be;
  border: 1px dashed #d2e6ec;
  border-radius: 6px;
  box-shadow: none;
  display: inline-block;
  padding: 0.12em 0.62em;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  margin: 0 1px;
}


/* =============================================================
   6) BADGES / ICON BADGES / COPY
   ============================================================= */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.1em 0.5em;
  font-size: 1.5em;
  background: #ededed;
  color: #5e5e5e;
  border: none;
  cursor: pointer;
  margin-right: 0.3em;
  transition: background 0.2s, color 0.2s;
}

.icon-badge--success { background: #ffffff; color: #dc3545; }
.icon-badge--lock    { background: #13c5d1; color: #fff; }
.icon-badge--tests   { background: #ffaa1d; color: #fff; }
.icon-badge--save    { background: #838e9e; color: #fff; }
.icon-badge--delete  { background: #e3342f; color: #fff; }

.icon-badge:hover,
.icon-badge:active {
  filter: brightness(0.95);
}

.masked-password {
  letter-spacing: 0.2em;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15em;
}

.copy-btn {
  background: none;
  border: none;
  color: #01b1c1;
  cursor: pointer;
  margin-left: 0.4em;
  font-size: 1.2em;
  vertical-align: middle;
  padding: 0.15em 0.2em;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.copy-icon {
  color: #bdbdbd;
  transition: color 0.2s;
}
.copy-icon.copied-icon { color: #00bcd4; }
.copy-icon:hover       { color: #00bcd4; }
.copy-icon:active      { color: #6d6d6d; }

/* (dein bisheriges Verhalten) */
.copy-btn:hover,
.copy-icon.copied-icon {
  color: #bdbdbd;
  transition: color 0.2s;
}


/* =============================================================
   7) HEADLINES / FILTERS / INPUTS (global)
   ============================================================= */
.headline {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 0.8em;
}

.headline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 1.2em;
}

.dashboard-filters {
  margin-bottom: 0.5em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.filter-form {
  display: flex;
  gap: 0.8em;
  align-items: center;
}

.filter-input,
.filter-select {
  background: #fff;
  border: 1px solid #d6e9f3;
  border-radius: 6px;
  padding: 0.45em 0.9em;
  font-size: 1em;
  outline: none;
  transition: border 0.2s;
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
}

.filter-input:focus,
.filter-select:focus {
  border: 1.5px solid #01b1c1;
}

.clear-filter-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 1.4em;
  padding: 0.2em;
  margin-left: 0.1em;
  cursor: pointer;
  transition: color 0.2s;
}
.clear-filter-btn:hover { color: #25c6da; }

.input-payment {
  padding: 0.3em 0.7em;
  font-size: 1em;
  border: 1px solid #d6e9f3;
  border-radius: 6px;
  margin-right: 0.3em;
  background: #f8fbfd;
  transition: border 0.2s;
}
.input-payment:focus {
  border: 1.5px solid #01b1c1;
  outline: none;
}


/* =============================================================
   8) BUTTONS: Refresh / Overview
   ============================================================= */
.refresh-btn,
.refresh-btn:visited,
.refresh-btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.25em 0.55em;
  cursor: pointer;
  font-size: 1.1em;
  height: 2.3em;
  min-width: 2.3em;
  text-decoration: none;
  line-height: 1;
  margin-left: 0.15em;
  box-sizing: border-box;
}

.refresh-btn:hover,
.refresh-btn:focus {
  background: #13b0c1;
  outline: none;
}

.refresh-btn .material-icons {
  font-size: 1.5em;
  line-height: 1;
}

.overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  /* Größe beibehalten */
  padding: 6px 12px;
  font-size: 12px;

  /* Look wie moderne Buttons */
  background: linear-gradient(135deg, #07B5C8 0%, #0599a8 55%, #058a99 100%);
  color: #ffffff;

  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;

  box-shadow: 0 2px 8px rgba(7, 181, 200, 0.25), 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* dezenter Glanz-Effekt (klein, damit nicht “zu viel”) */
.overview-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.45s ease;
  pointer-events: none;
}

.overview-btn:hover {
  background: linear-gradient(135deg, #0ac5d9 0%, #07B5C8 55%, #0599a8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 181, 200, 0.35), 0 2px 4px rgba(0, 0, 0, 0.10);
  text-decoration: none;
  color: #ffffff;
}

.overview-btn:hover::before {
  left: 100%;
}

.overview-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(7, 181, 200, 0.22), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.overview-btn.disabled,
.overview-btn:disabled {
  background: linear-gradient(135deg, #b0bec5 0%, #90a4ae 100%);
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
  transform: none;
}

.overview-btn.disabled::before,
.overview-btn:disabled::before {
  display: none;
}

/* =============================================================
   9) ACTION BUTTONS: icon-action-btn (modern)
   Hinweis:
   - Global modern (Padding/Gradient/Glow)
   - In Tabellen wird es absichtlich kompakt überschrieben (siehe Section 4)
   ============================================================= */
.icon-action-btn {
  all: unset;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5em;

  padding: 0.65em 1.4em;
  min-height: 2.5em;

  background: linear-gradient(135deg, #07B5C8 0%, #0599a8 50%, #058a99 100%);
  color: #ffffff;

  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;

  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;

  box-shadow:
    0 3px 10px rgba(7, 181, 200, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.08);

  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

/* Glanz-Effekt */
.icon-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.45s ease;
  pointer-events: none;
}

.icon-action-btn:hover {
  background: linear-gradient(135deg, #0ac5d9 0%, #07B5C8 50%, #0599a8 100%);
  box-shadow:
    0 5px 15px rgba(7, 181, 200, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}
.icon-action-btn:hover::before { left: 100%; }

.icon-action-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 6px rgba(7, 181, 200, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.icon-action-btn:disabled,
.icon-action-btn.disabled,
.icon-action-btn--disabled {
  background: linear-gradient(135deg, #b0bec5 0%, #90a4ae 100%) !important;
  box-shadow: none;
  cursor: not-allowed !important;
  transform: none;
  opacity: 0.7;
}
.icon-action-btn:disabled::before,
.icon-action-btn.disabled::before { display: none; }

/* Icon-Animation */
.icon-action-btn .material-icons {
  font-size: 1.15em;
  transition: transform 0.22s ease;
}
.icon-action-btn:hover .material-icons { transform: scale(1.1); }

/* Varianten */
.icon-action-btn--save {
  background: linear-gradient(135deg, #43a047 0%, #388e3c 50%, #2e7d32 100%);
  box-shadow: 0 3px 10px rgba(67, 160, 71, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.icon-action-btn--save:hover {
  background: linear-gradient(135deg, #4caf50 0%, #43a047 50%, #388e3c 100%);
  box-shadow: 0 5px 15px rgba(67, 160, 71, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-action-btn--danger {
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 50%, #c62828 100%);
  box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.icon-action-btn--danger:hover {
  background: linear-gradient(135deg, #ef5350 0%, #e53935 50%, #d32f2f 100%);
  box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-action-btn--warning {
  background: linear-gradient(135deg, #fb8c00 0%, #f57c00 50%, #ef6c00 100%);
  box-shadow: 0 3px 10px rgba(251, 140, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.icon-action-btn--warning:hover {
  background: linear-gradient(135deg, #ffa726 0%, #fb8c00 50%, #f57c00 100%);
  box-shadow: 0 5px 15px rgba(251, 140, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-action-btn--delete {
  background: linear-gradient(135deg, #e61744 0%, #e53935 50%, #c62828 100%);
  box-shadow: 0 3px 10px rgba(230, 23, 68, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.icon-action-btn--delete:hover {
  background: linear-gradient(135deg, #ff2b5a 0%, #e61744 50%, #d32f2f 100%);
  box-shadow: 0 5px 15px rgba(230, 23, 68, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-action-btn--secondary {
  background: linear-gradient(135deg, #607d8b 0%, #546e7a 50%, #455a64 100%);
  box-shadow: 0 3px 10px rgba(96, 125, 139, 0.3), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.icon-action-btn--secondary:hover {
  background: linear-gradient(135deg, #78909c 0%, #607d8b 50%, #546e7a 100%);
  box-shadow: 0 5px 15px rgba(96, 125, 139, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icon-action-btn--outline {
  background: transparent;
  border: 2px solid #07B5C8;
  color: #07B5C8;
  box-shadow: none;
}
.icon-action-btn--outline::before {
  background: linear-gradient(90deg, transparent, rgba(7,181,200,0.1), transparent);
}
.icon-action-btn--outline:hover {
  background: rgba(7, 181, 200, 0.08);
  border-color: #0ac5d9;
  color: #0599a8;
  box-shadow: 0 3px 10px rgba(7, 181, 200, 0.15);
}

.icon-action-btn--sm {
  padding: 0.45em 1em;
  min-height: 2em;
  font-size: 0.85rem;
  border-radius: 6px;
}
.icon-action-btn--sm .material-icons { font-size: 1em; }

.icon-action-btn--lg {
  padding: 0.85em 2em;
  min-height: 3em;
  font-size: 1.1rem;
  border-radius: 10px;
}

.icon-action-btn--pill {
  border-radius: 50px;
  padding: 0.7em 1.8em;
}

.icon-action-btn--icon-only {
  padding: 0.6em;
  min-height: unset;
  width: 2.5em;
  height: 2.5em;
  border-radius: 8px;
}
.icon-action-btn--icon-only .material-icons { font-size: 1.3em; }

.icon-action-btn--block {
  width: 100%;
  display: flex !important;
}

/* Loading-State */
.icon-action-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.icon-action-btn.loading .material-icons {
  animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
  .icon-action-btn {
    padding: 0.6em 1.2em;
    font-size: 0.9rem;
  }
  .icon-action-btn--lg {
    padding: 0.75em 1.6em;
    font-size: 1rem;
  }
}


/* =============================================================
   10) STATUS NAVIGATION / STATUS STYLES
   ============================================================= */
.status-nav-container {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.status-arrow {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 1;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-arrow:hover:not(.disabled) {
  background-color: #e3f2fd;
  transform: scale(1.1);
}

.status-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #ccc;
}

.status-arrow.saving {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.status-arrow.saving::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.status-text {
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 180px;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

.status-text--success {
  color: #199cb5;
  font-weight: normal;
}

/* Status-Change Animation */
.status-text.changing {
  animation: statusChange 0.3s ease;
}

@keyframes statusChange {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(76, 175, 80, 0.3); }
  100% { transform: scale(1); }
}

/* Status-spezifische Farben */
.status-noch_nicht_erschienen     { background-color: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.status-fuellt_fragebogen_aus     { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.status-bereit_fuer_beratung      { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.status-in_beratung               { background-color: #e2e3e5; color: #383d41; border: 1px solid #d6d8db; }
.status-beratung_beendet          { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* =============================================================
   11) TOASTS
   ============================================================= */
.save-toast {
  position: fixed;
  top: 20px;
  right: 180px;
  background: linear-gradient(135deg, #e61744, #e61743);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.save-toast.toast-visible {
  opacity: 1;
  pointer-events: auto;
}

.save-toast::before {
  font-weight: bold;
  font-size: 16px;
}


/* =============================================================
   12) MINI DELETE / STATUS WITH DELETE
   ============================================================= */
.status-with-delete {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.mini-delete-btn {
  background: #dc3545;
  border: none;
  border-radius: 4px;
  padding: 2px 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.mini-delete-btn:hover {
  background: #c82333;
}

.mini-delete-btn .material-icons {
  color: white;
  font-size: 14px;
}


/* =============================================================
   13) LOGIN
   ============================================================= */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  width: 100%;
  max-width: 370px;
}

.cp-logo {
  display: block;
  margin: 0 auto 1.5rem auto;
  height: 60px;
}

.form-label {
  font-size: 1em;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
}

.form-control:focus {
  border-color: #0097b2;
  box-shadow: 0 0 0 2px #b8e0e6;
}

.no-data-message {
  text-align: center !important;
  color: #888;
  padding: 20px;
}


/* =============================================================
   14) ANIMATIONS (global gesammelt)
   ============================================================= */
@keyframes slideInOut {
  0%   { opacity: 0; transform: translateX(100%); }
  15%  { opacity: 1; transform: translateX(0); }
  85%  { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(100%); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.8; }
}


/* =============================================================
   15) CP-MAIN-TITLE — Liquid White Type
   ============================================================= */
.cp-main-title {
  position: relative;
  display: inline-block;
  font-family: 'Alfa Slab One', 'Roboto Condensed', sans-serif;
  font-size: 2.6em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  padding: 0.25em 0.6em;
  margin: 0.5em 0 0 0;
  line-height: 1.1;
  border-radius: 0.6em;
  overflow: hidden;
  transition: text-shadow 0.45s ease, transform 0.25s ease;

  text-shadow:
    0 3px 8px var(--shadow-color),
    0 -2px 1px var(--highlight-color);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (hover: hover) and (pointer: fine) {
  .cp-main-title:hover {
    transform: translateY(-1px);
    text-shadow:
      0 4px 10px rgba(0, 0, 0, 0.55),
      0 -2px 2px rgba(255, 255, 255, 0.45);
  }
}

@media (hover: none), (pointer: coarse) {
  .cp-main-title {
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.3),
      0 -2px 1px rgba(255, 255, 255, 0.5);
  }
}


/* =============================================================
   16) CP Secondary Button (Acrylic Red Glass)
   ============================================================= */
.cp-page-main .cp-btn--secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  color: #fff;
  width: auto;

  background: linear-gradient(
    180deg,
    rgba(229,57,53,0.98) 0%,
    rgba(198,40,40,0.94) 60%,
    rgba(198,40,40,0.88) 100%
  );

  border: 1.8px solid rgba(229,57,53,0.55);
  box-shadow:
    0 6px 20px rgba(229,57,53,0.35),
    inset 0 1px rgba(255,255,255,0.9),
    inset 0 -2px 6px rgba(198,40,40,0.5);

  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  transition: all 0.3s ease;
}

.cp-page-main .cp-btn--secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.25) 25%,
    rgba(255,255,255,0.1) 60%,
    transparent 100%
  );
  opacity: 0.35;
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.cp-page-main .cp-btn--secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at 80% 85%,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.12) 40%,
    transparent 90%
  );
  opacity: 0.25;
  mix-blend-mode: multiply;
  z-index: 1;
}

.cp-page-main .cp-btn--secondary span,
.cp-page-main .cp-btn--secondary i {
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .cp-page-main .cp-btn--secondary:hover,
  .cp-page-main .cp-btn--secondary:focus {
    transform: translateY(-2px);
    background: linear-gradient(
      180deg,
      rgba(229,57,53,1) 0%,
      rgba(198,40,40,0.96) 100%
    );
    border-color: rgba(229,57,53,0.65);
    box-shadow:
      0 8px 24px rgba(229,57,53,0.4),
      inset 0 1px rgba(255,255,255,0.95),
      inset 0 -3px 10px rgba(198,40,40,0.55);
  }

  .cp-page-main .cp-btn--secondary:hover::before {
    opacity: 0.55;
  }
}

@media (max-width: 767px) {
  .cp-page-main .cp-btn--secondary {
    backdrop-filter: blur(2px) saturate(1.05);
    -webkit-backdrop-filter: blur(2px) saturate(1.05);
    border: 1.6px solid rgba(229,57,53,0.5);
    box-shadow:
      0 4px 16px rgba(229,57,53,0.25),
      inset 0 1px rgba(255,255,255,0.8);
  }
}


/* =============================================================
   17) Sonder-Override: Abwesend-Button (Table)
   ============================================================= */
.admin-table .icon-action-btn.icon-action-btn--absent {
  background: #fff5f5 !important;
  border: 1px solid #ffcdd2 !important;
  color: #c62828 !important;
  transition: all 0.2s ease;
}

.admin-table .icon-action-btn.icon-action-btn--absent .material-icons {
  color: #c62828 !important;
  transition: all 0.2s ease;
}

.admin-table .icon-action-btn.icon-action-btn--absent:not([disabled]):hover {
  background: #e8f5e9 !important;
  border-color: #a5d6a7 !important;
}

.admin-table .icon-action-btn.icon-action-btn--absent:not([disabled]):hover .material-icons {
  color: #2e7d32 !important;
}
