/* Zahnzusatz Kinder Apple Tables */

.fc-kids-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.fc-kids-table {
  display: grid;
  min-width: 760px;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.fc-kids-table.cols-5 {
  grid-template-columns: minmax(210px, 1.08fr) repeat(4, minmax(132px, 0.82fr));
}

.fc-kids-table-cell {
  min-width: 0;
  padding: 1.05rem;
  border-right: 1px solid rgba(0, 0, 0, 0.055);
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.fc-kids-table-cell:nth-child(5n) {
  border-right: 0;
}

.fc-kids-table-cell:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.fc-kids-table-head {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-align: center;
}

.fc-kids-table-head:first-child {
  justify-content: flex-start;
  color: #86868b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fc-kids-table-label {
  display: flex;
  min-height: 90px;
  flex-direction: column;
  justify-content: center;
  color: #1d1d1f;
}

.fc-kids-table-label strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.fc-kids-table-label span {
  display: block;
  margin-top: 0.42rem;
  max-width: 26ch;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #86868b;
}

.fc-kids-table-value {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1d1d1f;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 720;
  line-height: 1.25;
}

.fc-kids-table-value.is-blue {
  color: #0071e3;
}

.fc-kids-table-value.is-save {
  color: #16833a;
}

.fc-kids-table-value.is-muted {
  color: #6e6e73;
}

.fc-kids-table-note {
  margin-top: 1rem;
  color: #86868b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.fc-kids-table-card {
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .fc-kids-table-card:hover {
    transform: translateY(-4px) scale(1.004);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 640px) {
  .fc-kids-table {
    min-width: 680px;
    border-radius: 1.55rem;
  }

  .fc-kids-table.cols-5 {
    grid-template-columns: minmax(168px, 1fr) repeat(4, minmax(118px, 0.82fr));
  }

  .fc-kids-table-cell {
    padding: 0.85rem;
  }

  .fc-kids-table-head {
    min-height: 58px;
  }

  .fc-kids-table-label,
  .fc-kids-table-value {
    min-height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-kids-table-card {
    transition: none !important;
  }

  .fc-kids-table-card:hover {
    transform: none !important;
  }
}
