/* 排序题样式 */
.sequence-puzzle {
    display: none;
}

.sequence-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sequence-image-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sequence-image {
    max-width: 300px;
    max-height: 300px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#sequence-question {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    width: 100%;
}

.sequence-items-section {
    flex: 1;
    min-width: 300px;
}

.sequence-items-section h3,
.sequence-pools-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

#sequence-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sequence-pools-section {
    flex: 1;
    min-width: 300px;
}

.sequence-pool {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    justify-content: center;
}

.sequence-slot {
    flex: 1;
    min-height: 120px;
    min-width: 100px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.3s ease;
}

.sequence-slot.drag-over {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.sequence-slot .sequence-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sequence-slot .sequence-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.sequence-slot .sequence-item .name {
    font-size: 12px;
    margin-top: 5px;
}

.sequence-buttons {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

#submit-sequence {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submit-sequence:hover {
    background-color: #0069d9;
}

#submit-sequence:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}