﻿/* Reset body margin and padding */
body {
    margin: 0;
    padding: 0;
}

/* General styles for text area */
.sourcetxt {
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 1%;
    line-height: 140%;
    font-family: "微软雅黑", sans-serif;
    text-rendering: auto;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    background-color: white;
    resize: auto;
    cursor: text;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    margin: 0;
    font-size: 16px;
}

/* Styles for toolwordmsg */
.toolwordmsg {
    background: #eee;
    color: #777;
    border: 1px solid #ccc;
    border-bottom-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

    .toolwordmsg .left {
        width: 280px;
        text-indent: 1em;
        font-size: 12px;
    }

    .toolwordmsg .right {
        width: 180px;
        font-size: 12px;
    }

/* Styles for formbox and buttons */
.formbox {
   
    line-height: 55px;
    text-indent: 0;
   
}
    .formbox p {
        line-height: 45px;
        text-indent: 0;
        padding: 10px 0px;
    }

    .formbox input {
        border: 1px solid #ccc;
        padding: 3px 10px;
        font-size: 12px;
    }
    .formbox .btn {
        outline: none;
        display: inline-block;
        border: 1px solid #dadfec;
        color: #fff;
        background: #009688;
        text-align: center;
        border-radius: 3px;
        cursor: pointer;
        user-select: none;
        white-space: nowrap;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 14px;
    }
        .formbox .btn:hover {
            opacity: .8;
            color: #fff;
        }
    

/* Hidden waitbox */
.waitbox {
    display: none;
}

/* Result box styles */
#result {
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 3px;
    outline: none;
    overflow: auto;
    font: 16px/140% "微软雅黑", sans-serif;
}

/* Additional styles */
.toolinfo {
    color: #777;
    clear: both;
    margin-top: 15px;
}

ul.daxielist {
    clear: both;
    width: 100%;
    padding-top: 10px;
}

    ul.daxielist li {
        float: left;
        width: 8.9%;
        overflow: hidden;
        padding-left: 7px;
        line-height: 45px;
        height: 90px;
        font-family: "Microsoft YaHei", SimSun, Arial;
        font-size: 32px;
        list-style: none;
        border-bottom: solid 1px #ccc;
    }

        ul.daxielist li span {
            font-size: 14px;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: green;
        }

.resultforbox {
    float: left;
    width: 94%;
    padding: 10px 18px;
    margin: 7px 0;
    font-size: 14px;
    color: #333;
    border-radius: 5px;
    border: 1px solid #EBDBD3;
    background: #FDF5E6;
}

.bl {
    border-left: 1px solid #e5e5e5;
}

.mlr {
    margin-left: 10px;
    margin-right: 10px;
}

.art-main div {
    margin-bottom: 0px;
    text-indent: 0;
}

.art-main p {
    margin: 0;
    padding: 0;
}

.white {
    color: #fff
}

    .white:hover {
        color: #fff
    }

.blue {
    color: #0269ac
}

    .blue:hover {
        color: #0269ac
    }

.red {
    color: red
}

    .red:hover {
        color: #d00
    }

.green {
    color: green
}

.gray {
    color: #727272
}

.black {
    color: #000
}

.bblue {
    background: #f4fcff
}

.byellow {
    background-color: #ffffb5;
}



.art-tooltip table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1rem;
    overflow: auto;
    width: 100%
}

.art-tooltip th {
}

.art-tooltip td, .art-tooltip th {
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 6px 13px
}

.art-tooltip tr {
}

    .art-tooltip p.tip, .art-tooltip tr:nth-child(2n) {
        /*background-color: #f8f8f8 和行变色冲突*/
    }

.art-tooltip td, .art-tooltip th {
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 6px 13px
}

/* 更新后的CSS样式 */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

    table th, table td {
        padding: 12px 15px;
        text-align: center;
        border-right: 1px solid #ddd; /* 右侧实线分隔 */
    }

    table th {
        background-color: #f5f5f5;
        color: #333;
        font-weight: bold;
        position: sticky;
        top: 0;
        z-index: 2;
        border-bottom: 2px solid #ddd; /* 底部实线 */
    }

    table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    table tr:hover {
        background-color: #e9ecef;
    }

    table thead th,
    table tbody td {
        white-space: nowrap;
    }

    /* 调整单元格宽度 */
    table td:nth-child(2) {
        min-width: 200px;
    }

/* 调整表格宽度 */
table {
    max-width: 520px;
    overflow-x: auto;
}
