/* Exercise Container */
.exercise-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68rem;
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.content-container {
    width: 68rem;
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 1rem;
}

/* Audio Container */
.audio-container {
    width: 5rem;
    grid-column: 1;
    position: sticky;
    top: 1rem;
}

.audio-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 4rem;
    height: 4rem;
    transform: scale(.95);
    transition: transform 0.2s ease;
}

.audio-button:hover {
    transform: scale(1.0);
}

.audio-button img {
    width: 100%;
    height: 100%;
}

/* Exercise Content */
.exercise-content {
    width:60rem;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Table Styles */
.items-table {
    width: 100%;
    max-width: 45rem;
    border-collapse: separate;
    border-spacing: 0.5rem;
    margin-bottom: 1rem;
}

.items-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0.25rem;
    font-size: 1.2rem;
    color: #00699F;
    width: 7rem;
}

/* Common styles for drag and drop elements */
.drag_element {
    width: 7rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    border-radius: 0.5rem;
    margin: 0 auto;
    padding: 0.25rem;
    cursor: grab;
    user-select: none;
    background-color: white;
    border: 2px solid #00699F;
    overflow: hidden;
}

.drag_element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.drag_element.correct {
    border-color: #258174;
    background-color: rgba(37, 129, 116, 0.1);
}

.drag_element.incorrect {
    border-color: #FF0000;
    background-color: rgba(255, 0, 0, 0.1);
}

/* Drop Element Specific */
.drop_element {
    width: 7rem;
    height: 7rem;
    transition: all 0.3s ease;
    border: 2px solid #F9B002;
    background-color: white;
    margin: 0 auto;
}


/* Answers Container */
.answers-container {
    display: grid;
    grid-template-columns: repeat(4, 7rem);
    gap: 0.5rem;
    width: 40rem;
    justify-content: center;
    align-items: start;
}

/* Mobile Touch Drag Styles */
@media (hover: none) {
    .drag_element {
        touch-action: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
} 
.drop_element .drag_element{
    border: 0px;
    background-color: transparent;
  }
  .drop_element.correct {
    border-color: #258174;
  }
  
  .drop_element.incorrect {
    border-color: #FF0000;
  }
  