/* E10_U03_1 In den Bergen, am Meer … – 3 polja (bei, in, am), brez zvoka. Stavki v 3–4 vrsticah. */

.exercise-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  box-sizing: border-box;
}

.drops-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.drops-row .column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 14rem;
  min-width: 14rem;
}

.field-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.drops-row .drop_element {
  width: 100%;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.5rem;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.9);
  border: 0.2rem solid #F9B002;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

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

.drops-row .drop_element.correct {
  border-color: #258174;
}

.drops-row .drop_element.incorrect {
  border-color: #e00;
}

.drop_element .drag_element {
  width: 100%;
  max-width: 13rem;
  min-height: 3.5rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: #fff;
  border: 0.2rem solid #00699F;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.3;
  padding: 0.4rem 0.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.drag-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
}

.drag_element {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: grab;
  font-size: 0.95rem;
  user-select: none;
  border-radius: 0.5rem;
  border: 0.2rem solid #00699F;
  background: #fff;
  padding: 0.4rem 0.5rem;
  width: 13rem;
  max-width: 13rem;
  min-height: 3.5rem;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.3;
}

.drag_element.dragging {
  opacity: 0.7;
  cursor: grabbing;
  z-index: 1000;
}

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

.drag_element.incorrect {
  border-color: #e00;
}

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

@media (max-width: 48rem) {
  .drops-row {
    gap: 1rem;
  }

  .drops-row .column {
    width: 12rem;
    min-width: 12rem;
  }

  .drops-row .drop_element {
    min-height: 15rem;
  }

  .drag_element {
    width: 12rem;
    max-width: 12rem;
    min-height: 3.25rem;
    font-size: 0.9rem;
  }

  .drop_element .drag_element {
    max-width: 11.5rem;
    min-height: 3.25rem;
    font-size: 0.9rem;
  }
}
