/* E12_U10_1 – Hör-Profi. 2 stolpca: 1. audio gumb, 2. drop polje; 5 vrstic; drag elementi spodaj. Po E12_U09_2. */

.exercise-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  max-height: calc(100vh - 12rem);
  min-height: 0;
  padding-top: 0;
  padding-bottom: 1rem;
}

.content-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
  flex-wrap: nowrap;
}

.exercise-table {
  width: auto;
  flex-shrink: 0;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.exercise-table td {
  vertical-align: middle;
  padding: 0.25rem 0.5rem;
}

.audio-cell {
  width: 4rem;
  max-width: 4rem;
  text-align: center;
}

.audio-cell .audio-player {
  position: relative;
  left: auto !important;
  top: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drop-cell {
  width: auto;
  min-width: 0;
}

/* Enake dimenzije za vsa drop in drag polja */
.drop_element,
.drag_element {
  width: 28rem;
  min-width: 28rem;
  height: 2.5rem;
  min-height: 2.5rem;
  box-sizing: border-box;
}

.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;
}

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

.answers-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: auto;
  min-width: 28rem;
  max-width: 28rem;
  justify-content: flex-start;
  align-items: stretch;
  flex-shrink: 0;
}

.drag_element {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: grab;
  font-size: 1.15rem;
  font-family: "League Spartan", sans-serif;
  user-select: none;
  position: relative;
  z-index: 1;
  border-radius: 1.25rem;
  border: 0.2rem solid #00699F;
  background: #FFF;
  padding: 0.25rem 0.5rem;
}

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

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

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

.drop_element .drag_element {
  background: none;
  border: 0;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0 0.5rem;
  font-size: inherit;
}

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

@media (max-width: 48rem) {
  .content-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
  }

  .exercise-table {
    width: auto;
    flex-shrink: 0;
  }

  .drop_element,
  .drag_element {
    width: 22rem;
    min-width: 22rem;
  }

  .answers-container {
    max-width: none;
    min-width: 0;
    width: auto;
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
  }
}
