/* 整体布局 */
.tmxqy {
    display: flex;
    flex-direction: row;
    width: 100%;
}

/* 左侧栏 */
.tmxqy_cd {
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    text-overflow: ellipsis;
    max-width: 250px;
    padding: 5px;
}

/* 去除超链接下划线 */
.tmxqy_cd a {
    text-decoration: none;
    font-size: 14px;
    color: rgb(81, 81, 81);
}

.tmxqy_cd a:hover, .tmxqy_cd a:active {
    color: rgb(27, 128, 186);
    font-size: 16px;
}

/* 左侧菜单标题 */
.tmxqy_cd_title {
    font-size: 16px;
    margin: 20px 0;
    z-index: 1;
    height: 40px;
    color: #333f52;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #cbcbcb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tmxqy_cd_title p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.tmxqy_cd_title h3 {
    font-size: 16px;
    margin: 20px 0;
}

/* 左侧菜单内容区 */
.tmxqy_cd_content {
    margin: 20px 0;
    height: 70vh;
    overflow-y: auto;
}

/* 左侧菜单底部 */
.tmxqy_cd_dibu {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.tmxqy_cd_dibu button {
    color: #747070;
    cursor: pointer;
    border: none;
    padding: 5px 10px;
}
.tmxqy_cd_dibu button:hover {
    background-color: #084c74;
    color: #ffffff;
}

/* 中间内容区 */
.tmxqy_nr {
    flex-grow: 1;
    margin-left: 280px; /* 为左侧栏预留空间 */
    max-width: 1260px;
    padding: 20px;
}

/* 右边工具区 */
.tmxqy_gj {
    height: 60vh;
    overflow-y: auto;
    position: fixed;
    right: 0;   
    top: 20%;
    padding: 10px;
    width: 300px;
}

/* 其他样式 */
.tmxqy_nr .other-content {
    background-color: #ffffff;
    padding: 10px;
    margin: 10px 0;
}

.tmxqy_nr .other-content:hover {
    background-color: #eef4f0;
    box-shadow: 1px 2px 5px rgba(158, 158, 158, 0.2);
    transition: background-color 0.1s ease;
}

.tmxqy_nrh2 {
    font-size: 28px;
    text-align: center;
    margin: 20px 0;
}

.tmxqy_nrh3 {
    font-size: 18px;
    margin: 20px 0;
}

.tmxqy_nrzs {
    font-size: 14px;
    color: #747272;
}

.highlight {
    color: #055e81;
}

/* 当屏幕宽度小于 1760px 时，预留左侧栏 300px 的位置 */
@media screen and (max-width: 1760px) {
    .tmxqy_nr {
        margin-left: 300px;
        margin-right: 0px;
    }
}

/* 当屏幕宽度小于 1000px 时，隐藏左侧栏和右侧栏，并使中间内容区占满宽度 */
@media screen and (max-width: 1000px) {
    .tmxqy_cd, .tmxqy_gj {
        display: none;
    }

    .tmxqy_nr {
        width: 100%;
        margin-left: 0;
        padding: 10px;
    }
    .tmxqy_nr .other-content {
        box-shadow: none;
    }
}


/* 控制展开/收起按钮 */
.toggle-btn {
    background-color: #337ab7;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    position: fixed;
    right: 10px;
    top: 20%;
    transform: translateY(-50%);
}

.toggle-btn:hover {
    background-color: #286090;
}


/* 多行文本框和按钮的容器 */
.temp-text-container {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 10px;
}

/* 多行文本框样式 */
.temp-text-container textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    outline: none;
    font-family: '微软雅黑';
}

/* 按钮组 */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* 关闭、清除和复制按钮样式 */
.close-btn, .clear-btn, .tmcopy-btn {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    color: #fff;
}

.close-btn {
    background-color: #d9534f;
}

.close-btn:hover {
    background-color: #c9302c;
}

.clear-btn {
    background-color: #f0ad4e;
}

.clear-btn:hover {
    background-color: #ec971f;
}

.tmcopy-btn {
    background-color: #5bc0de;
}

.tmcopy-btn:hover {
    background-color: #31b0d5;
}



/* 每行的内容和删除按钮 */
.line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #ffffff;
    border-radius: 5px;
    cursor: move; /* 拖动指针 */
}

.line-item.dragging {
    opacity: 0.5; /* 拖动时透明度变化 */
}


.line-item button {
    background-color: #eb807c;
    color: #fff;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 3px;
}

.line-item button:hover {
    background-color: #c9302c;
}

