/* Styling cho nửa bên Phải (Câu hỏi & Bank) */
.iot-module-ielts-matching-headings { margin-bottom: 30px; font-size: 15px; color: #333; }
.iot-imh-bank-wrap { border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 20px; overflow: hidden; background: #fff; }
.iot-imh-bank-header { background: #f8fafc; padding: 10px 15px; font-weight: bold; border-bottom: 1px solid #cbd5e1; color: #1e293b; }
.iot-imh-bank { padding: 15px; min-height: 80px; display: flex; flex-direction: column; gap: 8px; }
.iot-imh-bank:empty::before { content: 'Tất cả Heading đã được kéo sang bài đọc...'; color: #94a3b8; font-style: italic; align-self: center; }
.iot-imh-item { background: #fff; border: 1px solid #94a3b8; padding: 8px 12px; border-radius: 6px; cursor: grab; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,0.05); user-select: none; transition: 0.2s; font-size: 14px;}
.iot-imh-item:active { cursor: grabbing; border-color: #2563EB; box-shadow: 0 4px 8px rgba(37,99,235,0.2); transform: scale(1.02); z-index: 10;}
.iot-imh-item.sortable-ghost { opacity: 0.3; background: #e2e8f0; }

/* Styling cho nửa bên Trái (Passage Drop Zone) */
.iot-imh-zone-wrapper { margin: 15px 0; padding: 8px; background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 6px; display: flex; align-items: center; min-height: 52px; transition: 0.3s;}
.iot-imh-zone-num { display: inline-flex; justify-content: center; align-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ccc; font-size: 12px; background: #fff; color: #333; margin-right: 12px; font-weight: normal; flex-shrink: 0; box-sizing: border-box; }
.iot-imh-zone { flex: 1; min-height: 40px; display: flex; align-items: center; }
.iot-imh-zone.sortable-drag { background: #dbeafe; }
.iot-imh-zone .iot-imh-item { width: 100%; margin: 0; border-color: #2563EB; background: #eff6ff; box-shadow: none; font-weight: 600;}

/* Trạng thái kết quả */
.iot-imh-zone-wrapper.iot-imh-correct { background: #dcfce7 !important; border-color: #16a34a !important; }
.iot-imh-zone-wrapper.iot-imh-correct .iot-imh-item { border-color: transparent; color: #155724; background: transparent; }

.iot-imh-zone-wrapper.iot-imh-wrong { background: #fee2e2 !important; border-color: #dc2626 !important; }
.iot-imh-zone-wrapper.iot-imh-wrong .iot-imh-item { border-color: transparent; color: #7f1d1d; background: transparent; text-decoration: line-through;}

.iot-imh-zone-wrapper.iot-imh-empty { background: #fef08a !important; border-color: #f59e0b !important; }

.iot-imh-correct-label { display: block; font-size: 13px; color: #b45309; background: #fffbeb; border: 1px dashed #fcd34d; padding: 6px 10px; border-radius: 4px; margin-top: 5px; font-weight: bold; margin-left: 45px;}