/* Benefits Table - Kompakte Darstellung ohne Icons */

.insurance-benefits-detail {
  max-width: 680px;
  margin: 1rem auto 0.8rem;
  padding: 0 16px;
}

.tariff-title {
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #1a5f3f;
}

/* Single Unified Table Container */
.benefits-category-container {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Individual Category (no visual separation) */
.benefit-category {
  background: white;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.benefit-category:not(:last-child) {
  border-bottom: 2px solid #22aea1;
}

/* Kompakter Category Header OHNE Icon */
.category-header {
  background: white;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #22aea1;
}

.category-icon {
  display: none; /* Icons entfernt */
}

.category-title {
  color: #22aea1;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Items - Table Rows */
.category-items {
  padding: 0;
  background: white;
}

.benefit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s ease;
  min-height: 36px;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item:hover {
  background: rgba(34, 174, 161, 0.02);
}

.benefit-item.excluded {
  background: rgba(248, 248, 248, 0.4);
  opacity: 0.6;
}

.benefit-item.excluded:hover {
  background: rgba(245, 245, 245, 0.6);
}

/* Benefit Name Column */
.benefit-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.benefit-check {
  color: #22aea1;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.benefit-close {
  color: #ef4444;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.benefit-name span {
  font-size: 0.85rem;
  color: #333;
  font-weight: 400;
  line-height: 1.4;
}

.benefit-item.excluded .benefit-name span {
  color: #888;
}

/* Benefit Coverage Column */
.benefit-coverage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
  min-width: 100px;
  text-align: right;
}

.coverage-percentage {
  font-size: 0.9rem;
  font-weight: 700;
  color: #22aea1;
  line-height: 1.2;
}

.coverage-limit {
  font-size: 0.7rem;
  color: #666;
  font-weight: 400;
}

.coverage-limit.unlimited {
  color: #22aea1;
  font-weight: 600;
  font-size: 0.72rem;
}

.coverage-excluded {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .insurance-benefits-detail {
    margin: 0.875rem auto;
    padding: 0 12px;
  }

  .tariff-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }

  .category-header {
    padding: 0.45rem 0.875rem;
  }

  .category-title {
    font-size: 0.8rem;
  }

  .benefit-item {
    padding: 0.4rem 0.875rem;
    min-height: 34px;
  }

  .benefit-name span {
    font-size: 0.8rem;
  }

  .benefit-coverage {
    min-width: 85px;
  }

  .coverage-percentage {
    font-size: 0.85rem;
  }

  .benefit-check,
  .benefit-close {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .benefit-item {
    gap: 0.3rem;
    padding: 0.5rem 0.65rem;
  }

  .benefit-coverage {
    align-items: flex-end;
    min-width: 80px;
  }

  .benefit-name {
    flex: 1;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .benefit-item {
    transition: none;
  }
}

/* Print styles */
@media print {
  .benefits-category-container {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .category-header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
