.seal-profile-types-module .seal-profile-types-dropdown {
  display: block;
}

.seal-profile-types-module.is-embedded {
  margin-bottom: 0.5rem !important;
  border: 1px solid #e6e9ed;
  border-radius: 4px;
}

.seal-profile-types-module.is-embedded .card-header {
  padding: 0.7rem 0.9rem;
}

.seal-profile-types-module.is-embedded .card-body {
  padding: 0.8rem !important;
}

.seal-profile-types-module .seal-profile-types-dropdown.is-open {
  display: block;
}

.seal-profile-types-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.seal-profile-types-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #495057;
  margin: 0 0 0.5rem 0;
}

.seal-profile-types-group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.seal-profile-group-tab {
  border: 1px solid #d9dee5;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: #4f5965;
  cursor: pointer;
}

.seal-profile-group-tab.is-selected {
  border-color: #c24641;
  background: rgba(194, 70, 65, 0.08);
  color: #c24641;
}

.seal-profile-types-group-panel {
  display: none;
}

.seal-profile-types-group-panel.is-open {
  display: block;
}

.seal-profile-types-card {
  border: 1px solid #e3e6ea;
  border-radius: 4px;
  background: #fff;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-card {
  border-radius: 4px;
  box-shadow: none;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-card.is-selected {
  box-shadow: none;
}

.seal-profile-types-card:hover {
  border-color: #b7bcc4;
  background: #fafbfc;
}

.seal-profile-types-card.is-selected {
  border-color: #c24641;
  background: rgba(194, 70, 65, 0.08);
}

.seal-profile-types-card.is-hidden-by-loadmore {
  display: none !important;
}

.seal-profile-types-card.is-entering-by-loadmore {
  animation: sealProfileCardFadeIn 0.28s ease both;
}

.seal-profile-types-load-more-wrap {
  margin-top: 0.6rem;
  text-align: center;
}

.seal-profile-types-load-more-wrap.is-hidden {
  display: none !important;
}

@keyframes sealProfileCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seal-profile-types-card.scheme-red .seal-profile-types-thumb {
  background: #c24641;
}
.seal-profile-types-card.scheme-red .seal-profile-types-thumb img {
  filter: brightness(0) invert(1);
}

.seal-profile-types-card.scheme-white .seal-profile-types-thumb {
  background: #fff;
  border: 1px solid #d6d9dd;
}

.seal-profile-types-card.scheme-black .seal-profile-types-thumb {
  background: #111;
}
.seal-profile-types-card.scheme-black .seal-profile-types-thumb img {
  filter: brightness(0) invert(1);
}

.seal-profile-types-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0f2f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seal-profile-types-thumb img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.seal-profile-types-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: #495057;
  margin-top: 0.2rem;
  text-align: center;
}

.seal-profile-types-pricing-badge {
  margin-top: 0.18rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.25;
  color: #8f1d1a;
  background: rgba(194, 70, 65, 0.14);
  text-align: center;
}

/* Ukryj profile w konfiguratorze tylko gdy moduł typów jest obecny */
.seal-profile-types-mounted #seal-configurator #seal-profile-toggle,
.seal-profile-types-mounted #seal-configurator #seal-profile-dropdown {
  display: none !important;
}

@media (max-width: 767px) {
  .seal-profile-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

