/* Feliratok (label) */
.label {
  background: none !important;
  color: inherit;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Buborékok (body-part-bubble, position-bubble, symptom-bubble) */
.body-part-bubble {
  background-color: #a0d8f7; /* világoskék */
  color: #000;
  border-radius: 20px;
  padding: 5px 14px;
  margin-right: 6px;
  margin-bottom: 3px;
  display: inline-block;
  font-size: 0.98rem;
  font-weight: normal;
  white-space: nowrap;
}

.position-bubble {
  background-color: #b0e6a1; /* világoszöld */
  color: #000;
  border-radius: 20px;
  padding: 5px 14px;
  margin-right: 6px;
  margin-bottom: 3px;
  display: inline-block;
  font-size: 0.98rem;
  font-weight: normal;
  white-space: nowrap;
}

.symptom-bubble {
  background-color: #ffd59e; /* világosnarancs */
  color: #000;
  border-radius: 20px;
  padding: 5px 14px;
  margin-right: 6px;
  margin-bottom: 3px;
  display: inline-block;
  font-size: 0.98rem;
  font-weight: normal;
  white-space: nowrap;
}

/* Kártya és blokkok vizuális tagolása */
.injury-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 290px;
  text-align: left;
}

/* Blokkok középre igazítása */
.block {
  text-align: center; /* Minden blokk középre igazítva */
  margin-bottom: 1.1rem;
}

.block:last-child {
  margin-bottom: 0 !important;
}

.block-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

.injury-name {
  margin: 0 0 0.9rem 0;
  font-size: 1.23rem;
  font-weight: bold;
  text-align: center;
}

/* Mobilnézet */
@media (max-width: 800px) {
  .injury-card {
    padding: 1rem;
    min-width: 0;
  }

  .block-image img {
    max-width: 96vw;
  }

  .label, .body-part-bubble, .position-bubble, .symptom-bubble {
    font-size: 0.93rem;
    padding: 4px 10px;
  }
}

/* Sötét mód */
@media (prefers-color-scheme: dark) {
  .injury-card {
    background: #222;
    color: #eee;
    border-color: #444;
  }

  .body-part-bubble,
  .position-bubble,
  .symptom-bubble {
    color: #000 !important;
  }

  .label {
    color: #fff;
  }
}

/* Lábléc középre igazítása */
#footer-text {
  text-align: center;
}

/* Tilos régi osztályok */
.body-part, .position, .symptoms {
  display: none;
}
