
/* 发送表单区域 */
.send-form {
    background-color: white;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 20px;
    max-width: 2000px; /* 限制最大宽度，避免过宽 */
    min-width: 400px; /* 增加最小宽度 */
    /* margin-left: auto; 左右自动居中朱改 */
    margin-left: 0px;
    margin-right: auto; /* 左右自动居中 */
}

/* 信息表单区域 */
.info-form {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px; /* 限制最大宽度，避免过宽 */
    min-width: 400px; /* 增加最小宽度 */
    margin-left: auto; /* 左右自动居中 */
    margin-right: auto; /* 左右自动居中 */
    display: none;
}

.status-form { 
    background-color: white;
    padding: 1 px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1160px; /* 限制最大宽度，避免过宽 */
    min-width: 400px; /* 增加最小宽度 */
    /* margin-left: auto; 左右自动居中朱改 */
    margin-left: 0px;
    margin-right: auto; /* 左右自动居中 */
}

/* 页面布局 */
.container-zhu {
    display: flex;
    height: 145vh;
    background-color: #f9f9f9;
    max-width: 1160px; /* 限制最大宽度，避免过宽 */
    min-width: 400px; /* 增加最小宽度 */
    /* margin-left: auto; 左右自动居中朱改 */
    margin-left: 0px;
    margin-right: auto; /* 左右自动居中 */
}

/* 缩略图区域样式（左侧） */

.thumbnail-container {
    width: 150px; /* 固定宽度 */
    min-width: 150px; /* 设置最小宽度，防止被压缩 */
    max-width: 200px; /* 可设置最大宽度，防止过度拉伸 */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto; /* 允许垂直滚动 */
    background-color: #f1f1f1;
    padding: 10px;
    border-right: 2px solid #ccc;
    box-sizing: border-box; /* 保证宽度计算包含内边距和边框 */
    flex-shrink: 0; /* 防止容器在缩放时缩小 */
}
        
.thumbnail-item {
    display: inline-block;
    text-align: center;
    margin: 10px;
    position: relative;
}

.file-name {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px; /* 文件名和图片之间的间距 */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
/* 缩略图样式 */
.thumbnail {
    width: 100px;
    height: auto;
    margin: 10px 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease, transform 0.2s ease;
}

/* 缩略图选中状态 */
.thumbnail.active {
    border: 2px solid #007BFF;
    transform: scale(1.1);
}

/* 缩略图悬停效果 */
.thumbnail:hover {
    transform: scale(1.1);
}

.text-input {
    width: 150px; /* 让输入框占满父容器的宽度 */
    height: 30px;
    max-width: 400px; /* 最大宽度，避免太宽 */
    border: 1px solid #ccc; /* 边框颜色 */
    border-radius: 5px; /* 圆角 */
    font-size: 16px; /* 字体大小 */
    font-family: Arial, sans-serif; /* 字体样式 */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* 内阴影，增加深度感 */
    transition: border-color 0.3s ease-in-out; /* 边框颜色变化过渡效果 */
}

.hyperlink-text-input {
    width: 25px; /* 让输入框占满父容器的宽度 */
    height: 20px;
    max-width: 400px; /* 最大宽度，避免太宽 */
    border: 1px solid #ccc; /* 边框颜色 */
    border-radius: 5px; /* 圆角 */
    font-size: 12px; /* 字体大小 */
    font-family: Arial, sans-serif; /* 字体样式 */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* 内阴影，增加深度感 */
    transition: border-color 0.3s ease-in-out; /* 边框颜色变化过渡效果 */
}



.main-content {
    flex: 1;
    display: flex;
    flex-direction: row; /* 水平排列 */
	width: 5000px; /*朱改*/
}
.left-container{
    flex: 1;
    display: flex;
    flex-direction: column; /* 竖直排列 */
}
.right-container{
    flex: 1;
    display: flex;
    flex-direction: column; /* 竖直排列 */
    margin-left: 0px;
}

/* 图像画布和文本画布均分宽度 */
/* 大图展示区域（右侧） */
.image-container, .test-container {
    flex: 1; /* 右侧占据剩余空间 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    padding-bottom: 200px;
    padding-right: 200px;
    min-width: 800px;
}


/* Canvas用于绘制检测框 */
.canvas-overlay  {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto; /* 确保可以接收鼠标事件 */
    z-index: 10; /* 确保它在大图之上 */
}

/* 可拖动的检测框 */
.draggable-box {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: blue;
    border-radius: 50%;
    border: 1px solid white;
    pointer-events: all; /* 允许鼠标事件 */
    z-index: 20;
}

.draw-controls {
    width: 650px;
    height: 90px;
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    gap: 10px ; /* 设置按钮之间的间距 */
    justify-content: flex-start; /* 按钮左对齐 */
    padding: 10px; /* 容器内边距 */
    margin-bottom: 10px;
}

.btn {
    /*width: 100px;*/
    /* height: 30px; */ /* 设置按钮高度 */
    gap: 10px ;
    /* padding: 5px 10px; */
    cursor: pointer;
    margin: 0;
}

.mode-controls {
    width: 1100px; /* 设置宽度 */
    height: 30px;
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    gap: 10px ; /* 设置按钮之间的间距 */
    justify-content: flex-start; /* 按钮左对齐 */
    padding: 10px; /* 容器内边距 */
    margin-bottom: 10px;
}

.other-controls {
    width: 757px; /* 设置宽度 */
    height: 150px;
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    gap: 5px ; /* 设置按钮之间的间距 */
    justify-content: flex-start; /* 按钮左对齐 */
    padding: 10px; /* 容器内边距 */
    margin-bottom: 50px;
}

.another-controls {
    width: 1100px; /* 设置宽度 */
    height: 60px;
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    gap: 10px ; /* 设置按钮之间的间距 */
    justify-content: flex-start; /* 按钮左对齐 */
    padding: 10px; /* 容器内边距 */
    margin-bottom: 10px;
}

.info-controls {
    width: 1000px; /* 设置宽度 */
    height: 80px;
    display: flex;
    flex-wrap: wrap; /* 允许按钮换行 */
    gap: 10px ; /* 设置按钮之间的间距 */
    justify-content: flex-start; /* 按钮左对齐 */
    padding: 10px; /* 容器内边距 */
    margin-bottom: 0px;
    margin-top: 30px;
}

.mode-btn {
    width: 100px;
    height: 30px; /* 设置按钮高度 */
    gap: 10px ;
    padding: 5px 10px;
    cursor: pointer;
    margin: 0;
}

.custom-select {
    width: 100px; /* 设置宽度 */
    height: 32px; /* 设置高度 */
    font-size: 12px; /* 调整字体大小 */
    padding: 5px; /* 内边距 */
    border-radius: 5px; /* 圆角 */
    border: 1px solid #ccc; /* 边框样式 */
    cursor: pointer; /* 鼠标悬停时的指针样式 */
    margin: 0;
}

.bottom-layer-image {
    z-index: -1; /* This places the image at the bottom layer */
}

.title-container {
    flex: 1; /* 右侧占据剩余空间 */
    display: flex;
    flex-direction: column; /* 让内容从上到下排列 */
    align-items: flex-start; /* 让内容靠左对齐 */
    background-color: #fff;
    position: relative;
    padding-bottom: 200px;
    padding-right: 200px;
    /* margin-top: 20px;
    overflow-y: auto;
    height: 30%; */
}

.title-container ul {
    list-style-type: none;
    padding: 0;
}

.title-container li {
    margin: 5px 0;
    cursor: pointer;
}

.title-container li:hover {
    color: #007bff;
}

.h1-style {
    font-family: 'SimSun', 'Songti SC', serif; /* 中华书局字体 */
    font-size: 32px; /* 二号字 */
    /* line-height: 1.5; */
    color: purple;
}

.h2-style {
    font-family: 'SimSun', 'Songti SC', serif; /* 中华书局字体 */
    font-size: 28px; /* 小二号字 */
    color: #9370DB; /* 浅紫色 */
}

.h3-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 24px; /* 三号 */
    color: green;
}

.h4-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 22px; /* 小三号 */
    color: lightgreen;
}

.h5-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 20px; /* 四号 */
    color: blue;
}

.h6-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 18px; /* 小四号 */
    color: lightblue;
}

.h7-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 16px; /* 五号 */
    color: black;
}

.h8-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 14px; /* 小五号 */
    color: gray;
}

.shoutiduan-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 24px; /* 三号 */
    color: darkgoldenrod;
}

.xu-ba-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 28px; /* 小二号 */
    color: #9370DB; /* 浅紫色 */
}

.shou-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 16px; /* 五号 */
    color: red;
}

.mowei-paiji-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 18px; /* 小四号 */
    border: 1px solid black;
}

.mogaizi-style {
    font-family: 'SimSun', 'Songti SC', serif;
    font-size: 18px; /* 小四号 */
    background-color: black;
    color: white;
    padding: 2px;
}

.sub1-style {
    font-size: 14px; /* 小五号 */
    color: pink;
}

.sub2-style {
    font-size: 12px; /* 小六号 */
    color: blue;
}
