/* Exercise Container */
.exercise-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68rem;
    margin: 0 auto;
}

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

/* Left Column Layout */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Audio Container */
.audio-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 1rem;
}

/* Dialogue Container */
.dialogue-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.dialogue-line {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.dialogue-line .bullet {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.dialogue-line .text {
    flex-grow: 1;
    line-height: 1.4;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

/* Audio Button */
.audio-button {
    width: 4rem;
    height: 4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
}

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

.audio-button img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

.audio-button .pause-icon {
    opacity: 0;
}

.audio-button.playing .play-icon {
    opacity: 0;
}

.audio-button.playing .pause-icon {
    opacity: 1;
}

/* Drag Elements */
.drag_element {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: grab;
    font-size: 1.2rem;
    user-select: none;
    position: relative;
    z-index: 2;
    padding: 0.75rem 1rem;
    background-color: white;
    border: 2px solid #00699F;
    border-radius: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.drag_element:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.drag_element .text {
    flex-grow: 1;
    text-align: left;
    line-height: 1.4;
}

.drag_element .bullet {
    flex-shrink: 0;
}

.drag_element.dragging {
    opacity: 0.5;
    cursor: grabbing;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

/* Image Container */
.image-container {
    width: 100%;
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-top: 5rem;
}

/* Mobile Touch Drag Styles */
@media (hover: none) {
    .drag_element {
        touch-action: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Audio Player (globally positioned) */
.audio-player {
    position: absolute;
    bottom: 5rem;
    left: 2rem;
} 