/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h1 {
    color: #4a5568;
    font-size: 2rem;
    margin-bottom: 10px;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.scenario-select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scenario-select:hover {
    border-color: #667eea;
}

.reset-btn, .check-btn, .continue-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.reset-btn {
    background: #fd7e5c;
    color: white;
}

.reset-btn:hover {
    background: #ff6b47;
    transform: translateY(-2px);
}

.check-btn {
    background: #48bb78;
    color: white;
}

.check-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.continue-btn {
    background: #4299e1;
    color: white;
    margin-top: 15px;
}

.continue-btn:hover {
    background: #3182ce;
}

/* 提示开关样式（新位置） */
.hint-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hint-toggle:hover {
    border-color: #667eea;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hint-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}

.hint-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
}

.hint-toggle.active {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.hint-toggle.active .hint-label {
    color: white;
}

/* 提示列的显示/隐藏 */
.hint-column {
    transition: all 0.3s ease;
}

.hint-column.hidden,
#hintHeader.hidden {
    display: none;
}

.reset-btn {
    background: #fd7e5c;
    color: white;
}

.reset-btn:hover {
    background: #ff6b47;
    transform: translateY(-2px);
}

.check-btn {
    background: #48bb78;
    color: white;
}

.check-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.continue-btn {
    background: #4299e1;
    color: white;
    margin-top: 15px;
}

.continue-btn:hover {
    background: #3182ce;
}

/* 主内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 工作区域 - 左右布局 */
.work-area {
    display: flex;
    gap: 20px;
    min-height: 600px;
}

/* 左侧面板 - 元素分类信息 */
.left-panel {
    flex: 1;
    min-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 600px;
}

/* 右侧面板 - 集合拖拽区域 */
.right-panel {
    flex: 1;
    min-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 题目与要求区域样式 */
.question-requirement-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    overflow: hidden;
}

.question-row, .requirement-row {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.requirement-row {
    border-bottom: none;
}

.question-label, .requirement-label {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.question-content, .requirement-content {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .question-row, .requirement-row {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .question-label, .requirement-label {
        margin-bottom: 8px;
        margin-right: 0;
        font-size: 1rem;
    }
    
    .question-content, .requirement-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .question-row, .requirement-row {
        padding: 12px 15px;
    }
    
    .question-label, .requirement-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .question-content, .requirement-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 韦恩图容器 */
.venn-diagram-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    min-height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 韦恩图主容器 */
.venn-diagram {
    position: relative;
    width: 450px;
    height: 300px;
    margin: 0 auto;
}

/* 韦恩图椭圆形集合 */
.venn-circle {
    position: absolute;
    width: 280px;
    height: 200px;
    border: 4px solid;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 左侧椭圆（集合A） */
.venn-left {
    left: 0;
    top: 50px;
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    z-index: 1;
}

/* 右侧椭圆（集合B） */
.venn-right {
    right: 0;
    top: 50px;
    background: rgba(78, 205, 196, 0.1);
    border-color: #4ecdc4;
    z-index: 1;
}

/* 悬停效果 */
.venn-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.venn-left:hover {
    background: rgba(255, 107, 107, 0.2);
}

.venn-right:hover {
    background: rgba(78, 205, 196, 0.2);
}

/* 标签样式 */
.circle-label {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.left-label {
    top: -15px;
    left: 50px;
    color: #c53030;
}

.right-label {
    top: -15px;
    right: 50px;
    color: #2c7a7b;
}

/* 集合内容区域 */
.circle-content {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    border-radius: 50%;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 transparent;
}

.left-content {
    left: 40px;
    top: 40px;
}

.right-content {
    right: 40px;
    top: 40px;
}

/* 交集区域 */
.venn-intersection {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 140px;
    z-index: 2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.venn-intersection:hover {
    background: transparent;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: none;
}

/* 交集标签 */
.intersection-label {
    position: absolute;
    top: -25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #553c9a;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    line-height: 1.2;
    max-width: 140px;
    overflow-wrap: break-word;
}

/* 交集内容区域 */
.intersection-content {
    width: 100%;
    height: 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
    margin-top: 10px;
}

/* 拖拽悬停状态 */
.venn-left.drag-over {
    background: rgba(255, 107, 107, 0.3);
    border-color: #e53e3e;
    transform: scale(1.08);
}

.venn-right.drag-over {
    background: rgba(78, 205, 196, 0.3);
    border-color: #319795;
    transform: scale(1.08);
}

.venn-intersection.drag-over {
    background: rgba(159, 122, 234, 0.2);
    border: 2px dashed #805ad5;
    transform: translate(-50%, -50%) scale(1.15);
}

/* 元素池样式 */
.elements-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.elements-container h3 {
    color: #4a5568;
    margin-bottom: 15px;
    text-align: center;
}

/* 分类信息表格容器 */
.classification-table-container {
    margin-bottom: 20px;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

/* 分类信息标题区域 */
.classification-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
    gap: 8px;
}

.classification-header h4 {
    color: #2d3748;
    font-size: 1rem;
    margin: 0;
    width: 100%;
}

/* 分类信息表格样式 */
.classification-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.classification-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.classification-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

/* 表格中的拖拽元素 */
.table-drag-element {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 6px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-drag-element:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    cursor: grab;
}

.table-drag-element:active {
    cursor: grabbing !important;
    transform: scale(1.1);
}

.table-drag-element.dragging {
    opacity: 0.8;
    transform: scale(1.1);
    z-index: 1000;
    cursor: grabbing !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 已放置的表格元素样式 */
.table-drag-element[style*="opacity: 0.3"] {
    background: #a0aec0;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.table-drag-element[style*="opacity: 0.3"]:hover {
    transform: none;
    box-shadow: none;
}

.classification-table tr:nth-child(even) {
    background: #f8f9fa;
}

.classification-table tr:hover {
    background: #e6f3ff;
    transition: background 0.3s ease;
}

/* 表格中的标记样式 */
.classification-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.classification-mark.belongs {
    background: #48bb78;
}

.classification-mark.not-belongs {
    background: #e2e8f0;
    color: #a0aec0;
}

/* 应放置位置的样式 */
.placement-hint {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.placement-hint.set-a {
    background: rgba(255, 107, 107, 0.2);
    color: #c53030;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.placement-hint.set-b {
    background: rgba(78, 205, 196, 0.2);
    color: #2c7a7b;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.placement-hint.intersection {
    background: rgba(159, 122, 234, 0.2);
    color: #553c9a;
    border: 1px solid rgba(159, 122, 234, 0.3);
}

.placement-hint.none {
    background: rgba(160, 174, 192, 0.2);
    color: #4a5568;
    border: 1px solid rgba(160, 174, 192, 0.3);
}

.elements-pool {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    min-height: 100px;
    padding: 15px;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    background: rgba(247, 250, 252, 0.8);
}

/* 拖拽元素样式 */
.drag-element {
    background: linear-gradient(135deg, #fff, #f7fafc);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 5px;
    z-index: 1;
}

.drag-element:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.drag-element:active {
    cursor: grabbing !important;
    transform: rotate(5deg) scale(1.1);
}

.drag-element.dragging {
    opacity: 0.8;
    transform: rotate(5deg) scale(1.1);
    z-index: 1000;
    cursor: grabbing !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.drag-element.placed {
    cursor: default;
    opacity: 0.9;
}

/* 放置在集合中的元素样式 */
.placed-element {
    background: linear-gradient(135deg, #fff, #f7fafc);
    border: 2px solid #4299e1;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2d3748;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    display: inline-block;
    text-align: center;
    min-width: 40px;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.placed-element:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 153, 225, 0.3);
}

/* SVG在放置元素中的样式 */
.placed-element svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
}

/* 图片在放置元素中的样式 */
.placed-element img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
    border-radius: 2px;
}

/* 图片元素样式 */
.drag-element.image-element {
    padding: 5px;
    min-width: 80px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drag-element.image-element img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 5px;
}

.drag-element.image-element span {
    font-size: 0.8rem;
    text-align: center;
}

/* SVG元素样式 */
.drag-element.svg-element {
    padding: 8px;
    min-width: 80px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drag-element.svg-element svg {
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.drag-element.svg-element span {
    font-size: 0.8rem;
    text-align: center;
    color: #2d3748;
    font-weight: 500;
}

.drag-element.svg-element:hover svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* 放置区域高亮 */
.set-circle.drag-over {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    transform: scale(1.08);
}

.intersection-circle.drag-over {
    background: rgba(159, 122, 234, 0.3);
    border-color: #667eea;
    transform: scale(1.15);
}

/* 结果显示区域 */
.result-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.result-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: popup 0.5s ease-out;
}

@keyframes popup {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes feedbackPop {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.result-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2d3748;
}

.result-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 帮助面板 */
.help-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.help-panel h3 {
    color: #4a5568;
    margin-bottom: 15px;
    text-align: center;
}

.help-panel ul {
    list-style: none;
    space: 10px;
}

.help-panel li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* 移动设备上改为垂直布局 */
    .work-area {
        flex-direction: column;
        gap: 15px;
    }
    
    .left-panel {
        min-width: auto;
        max-height: 400px;
        order: 1;
    }
    
    .right-panel {
        min-width: auto;
        order: 2;
    }
    
    /* 韦恩图移动端适配 */
    .venn-diagram-container {
        padding: 20px;
        min-height: 400px;
    }
    
    .venn-diagram {
        width: 350px;
        height: 250px;
    }
    
    .venn-circle {
        width: 220px;
        height: 160px;
    }
    
    .venn-left {
        left: 0;
        top: 45px;
    }
    
    .venn-right {
        right: 0;
        top: 45px;
    }
    
    .circle-content {
        width: 100px;
        height: 100px;
    }
    
    .left-content {
        left: 30px;
        top: 30px;
    }
    
    .right-content {
        right: 30px;
        top: 30px;
    }
    
    .venn-intersection {
        width: 100px;
        height: 120px;
    }
    
    .intersection-content {
        height: 60px;
    }
    
    .circle-label {
        font-size: 1rem;
    }
    
    .intersection-label {
        font-size: 0.7rem;
        max-width: 120px;
    }
    
    .hint-toggle {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .hint-label {
        font-size: 0.85rem;
    }
    
    .sets-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        min-height: 500px;
    }
    
    .set-circle {
        width: 180px;
        height: 180px;
        padding: 12px;
    }
    
    .set-content {
        height: 120px;
    }
    
    .intersection-area {
        position: static;
        transform: none;
        margin: 20px 0;
    }
    
    .intersection-circle {
        width: 140px;
        height: 140px;
    }
    
    .intersection-circle .set-content {
        height: 80px;
    }
    
    .intersection-circle h4 {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .elements-pool {
        justify-content: center;
    }
    
    .drag-element {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    /* 移动设备上的表格响应式 */
    .classification-table {
        font-size: 0.8rem;
    }
    
    .classification-table th,
    .classification-table td {
        padding: 8px 4px;
    }
    
    .classification-table-container {
        overflow-x: auto;
    }
    
    .table-drag-element {
        font-size: 0.8rem;
        padding: 3px 6px;
        min-width: 50px;
    }
    
    .classification-header {
        gap: 6px;
    }
    
    .classification-header h4 {
        font-size: 0.95rem;
    }
    
    .hint-toggle {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .hint-checkbox {
        width: 14px;
        height: 14px;
    }
    
    .hint-label {
        font-size: 0.85rem;
    }
    
    .placement-hint {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .venn-diagram-container {
        padding: 15px;
        min-height: 350px;
    }
    
    .venn-diagram {
        width: 280px;
        height: 200px;
    }
    
    .venn-circle {
        width: 180px;
        height: 130px;
    }
    
    .venn-left {
        top: 35px;
    }
    
    .venn-right {
        top: 35px;
    }
    
    .circle-content {
        width: 80px;
        height: 80px;
    }
    
    .left-content {
        left: 25px;
        top: 25px;
    }
    
    .right-content {
        right: 25px;
        top: 25px;
    }
    
    .venn-intersection {
        width: 80px;
        height: 100px;
    }
    
    .intersection-content {
        height: 50px;
    }
    
    .circle-label {
        font-size: 0.9rem;
        padding: 3px 8px;
    }
    
    .intersection-label {
        font-size: 0.6rem;
        max-width: 100px;
        padding: 3px 6px;
    }
    
    .placed-element {
        font-size: 0.7rem;
        padding: 2px 4px;
        min-width: 30px;
    }
    
    .result-content {
        padding: 30px 20px;
    }
}