/* 企业补贴政策模块样式 */

/* 模块容器 */
.subsidy-policy-container {
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    max-width: 1600px;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
}

/* 提示文字 */
.subsidy-policy-hint {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* 便签容器 */
.notes-container {
    position: relative;
    height: 500px; /* 固定高度 */
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 便签样式 */
.note {
    position: absolute;
    width: 200px;
    min-height: 100px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    cursor: move;
    z-index: 1;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.note:hover, .note.ui-draggable-dragging {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100 !important;
}

/* 便签标题 */
.note-title {
    font-weight: bold;
    font-size: 18px; /* 增大字体 */
    margin-bottom: 12px; /* 增加间距 */
    color: #222; /* 加深颜色 */
    word-break: break-all;
    line-height: 1.4; /* 增加行间距 */
}

/* 便签描述 */
.note-desc {
    font-size: 16px; /* 增大字体 */
    color: #333; /* 加深颜色 */
    word-break: break-all;
    line-height: 1.5; /* 增加行间距 */
}

/* 便签颜色变量 - 增加更多颜色选项 */
.note-color-1 { background: #fff9c4; } /* 浅黄色 */
.note-color-2 { background: #ffccbc; } /* 浅橙色 */
.note-color-3 { background: #c8e6c9; } /* 浅绿色 */
.note-color-4 { background: #bbdefb; } /* 浅蓝色 */
.note-color-5 { background: #e1bee7; } /* 浅紫色 */
.note-color-6 { background: #f8bbd0; } /* 浅粉色 */
.note-color-7 { background: #ffcdd2; } /* 红色 */
.note-color-8 { background: #f48fb1; } /* 深粉色 */
.note-color-9 { background: #b2dfdb; } /* 淡绿色 */
.note-color-10 { background: #ffecb3; } /* 黄色 */

/* 响应式布局 */
@media (max-width: 768px) {
    .notes-container {
        height: 400px;
    }
    
    .note {
        width: 220px; /* 增加手机端便签宽度 */
        min-height: 80px;
        padding: 10px;
        touch-action: none; /* 允许触摸事件 */
    }
    
    .note-title {
        font-size: 16px; /* 手机端稍微小一点但仍然清晰 */
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .note-desc {
        font-size: 14px;
        line-height: 1.4;
    }
}