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

.content-container {
    width: 68rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem; /* Add space for the check button */
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    
    width: 68rem;
    height:41rem;
    align-items: start;
}

/* Table Layout */
.table-column {
    width: 100%;
}

.items-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1rem;
}

.items-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0;
    width: 15rem;
}

.items-table img {
    width: 15rem;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

/* Drop Elements */
.drop_element {
    height: 6.75rem;
    border: 0.125rem solid #F9B002;
    border-radius: 1.25rem;
    transition: background-color 0.3s ease;
    background-color: white;
    width: 15rem;
    box-sizing: border-box;

}


/* Drag Elements */
.drag_element {
    display: flex;
    align-items: center;
    cursor: grab;
    font-size: 1.2rem;
    user-select: none;
    position: relative;
    z-index: 2;
    border: 0.125rem solid #00699F;
    border-radius: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0.75rem 1rem;
    background-color: white;
    min-height: 5.5rem;
    width: 15rem;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.4;
}

.drag_element.dragging {
    opacity: 0.8;
    cursor: grabbing;
    transform: scale(1.02);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}


/* Answers Container */
.answers-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    position: sticky;
    top: 2rem;
    align-items: center;
}

/* Touch Device Adjustments */
@media (hover: none) {
    .drag_element {
        touch-action: none;
        transition: transform 0.2s ease;
    }

    .drag_element.dragging {
        transform: scale(1.02);
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    }

    .drop_element.dragover {
        background-color: rgba(249, 176, 2, 0.1);
    }
}
.drop_element .drag_element{
    width:14.5rem;
    border: 0;
    background: none;
    text-align: left;
}

.drop_element.correct {
    border-color: #4CAF50;
}

.drop_element.incorrect {
    border-color: #f44336;
}