/* E12_U02_1 Wort-Schatz-Profi – D&D: oblike po E07_U01_1 (enaka velikost drop/drag) */
.exercise-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 66rem;
  max-width: 66rem;
  margin: 0 auto;
  padding: 2rem;
  max-height: calc(100vh - 12rem);
  min-height: 0;
  position: relative;
  z-index: 1;
}

.content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.text-with-drops {
  width: 100%;
  min-width: 0;
  max-width: 52rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.text-with-drops .text-line {
  display: block;
  margin-bottom: 0.5rem;
}

.text-with-drops .text-line:last-child {
  margin-bottom: 0;
}

.text-with-drops .drop_element {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 12rem;
  min-width: 12rem;
  height: 2.5rem;
  min-height: 2.5rem;
  margin: 0 0.2rem;
  flex-shrink: 0;
}

/* Drop element – fiksna velikost po E07_U01_1 */
.drop_element {
  border-radius: 1.25rem;
  border: 0.2rem solid #F9B002;
  background-color: rgba(249, 176, 2, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.drop_element.dragover {
  background-color: rgba(249, 176, 2, 0.15);
}

/* Drag element – oblika po E07_U01_1 */
.drag_element {
  width: 12rem;
  min-width: 12rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: grab;
  font-size: 1.2rem;
  user-select: none;
  position: relative;
  z-index: 1;
  border-radius: 1.25rem;
  border: 0.2rem solid #00699F;
  background: #FFF;
  box-sizing: border-box;
  padding: 0.25rem 0.5rem;
}

.drag_element.dragging {
  opacity: 0.7;
  cursor: grabbing;
}

.answers-container {
  display: grid;
  grid-template-columns: repeat(3, 14rem);
  gap: 1rem;
  width: 100%;
  max-width: 44rem;
  min-height: 8rem;
  justify-content: center;
  align-items: start;
}

@media (hover: none) {
  .drag_element {
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

.drop_element.correct,
.drag_element.correct {
  border-color: #258174;
}

.drop_element.incorrect,
.drag_element.incorrect {
  border-color: #FF0000;
}

/* V dropzonu vlečni element zapolni drop (enaka oblika) – po E07_U01_1 */
.drop_element .drag_element {
  background: none;
  border: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 0 0.5rem;
  font-size: inherit;
}
