#nc-featurematcher {
  margin: 6px 0 12px 0;
}

#nc-featurematcher .control-label {
	padding: 10px 0 6px;
    display: block;
}

#nc-featurematcher .nc-fm-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap; /* kafelki w jednej linii */
  margin-bottom: 15px;
}

/* kafelek */
#nc-featurematcher .nc-fm-tile {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  min-height: 44px;

  background-color: #ffffff;
  border: 1px solid #000000;

  color: #000000;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;

  white-space: nowrap;
  box-sizing: border-box;
}

/* hover tylko dla linków */
#nc-featurematcher a.nc-fm-tile:hover {
  background-color: #000000;
  color: #ffffff;
}

/* aktualny */
#nc-featurematcher .nc-fm-current {
  background-color: #000000;
  color: #ffffff;
  cursor: default;
}

/* loading */
#nc-featurematcher .nc-fm-loading {
  font-size: 13px;
  margin-bottom: 6px;
}

/* bezpieczeństwo: reset list */
#nc-featurematcher ul,
#nc-featurematcher li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== NC Materials ===== */
.nc-materials__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.nc-materials__tile {
  /*color: #000;
  text-decoration: none;
  white-space: nowrap;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 125px; /* dopasuj do rozmiaru medium_default */
}

.nc-materials__tile img {
	border-radius: 10px;
	border: 1px solid #fff;
	max-width: 125px;
	height: auto;
	display: block;
}

.nc-materials__tile img:hover, .nc-materials__tile--current img {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #5e5e5e;
}
	
.nc-materials__tile > div {
    text-align: center;
    padding-top: 4px;
}

.nc-materials__tile--current {
  cursor: default;
  position: relative;
}

.nc-materials__toggle {
  display: flex;
  align-items: center;
  width: 110px;
  text-align: center;
}

.nc-materials__toggleBtn {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.is-hidden {
  display: none !important;
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 11px;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: green;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.check-icon .material-icons { 
	line-height: 0.92;
}
