@charset "UTF-8";

/* Special question type helpers shared by runner and admin previews. */
.matching-question .matching-select {
    width: 60px;
}

.matching-left-item,
.matching-right-item {
    transition: background-color 0.2s ease;
}

.matching-left-item:hover,
.matching-right-item:hover {
    background-color: var(--color-bg-hover);
}

.ordering-list {
    min-height: 200px;
}

.ordering-item {
    transition: all 0.2s ease;
}

.ordering-item.dragging {
    opacity: 0.5;
}

.fill-blank-input {
    border-bottom: 2px solid var(--color-primary);
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 2px 5px;
}

.fill-blank-input:focus {
    border-bottom-color: var(--color-primary-dark);
    box-shadow: none;
}

.essay-textarea {
    resize: vertical;
    min-height: 300px;
}

.word-counter {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .matching-question .row {
        flex-direction: column;
    }
}
