.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    padding: 1.2em;
    border-radius: .6em;
    position: relative;
}

.tool-content .mobile-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: var(--font-simple);
}

.tool-content .mobile-item label {
    display: block;
}

.tool-content .mobile-item label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 5px;
    margin: 0 4px;
    color: #f84d4d;
    border-radius: 4px;
    background-color: rgba(248, 77, 77, 0.1);
    border: solid 1px rgba(248, 77, 77, 0.4);
    font-size: 13px;
    font-family: var(--font-family);
}

/* 单位文字 */
.tool-content .timestamp-unit {
    font-family: var(--font-simple);
}

.tool-content .operate-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*按钮样式*/
.btn {
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    font-family: var(--font-simple);
}

.btn .ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    animation: ripple-effect 0.6s ease-out forwards;
}

.btn-blue{
    color: #409EFF;
    background-color: #ecf5ff;
    border-color: #b3d8ff;
}

.btn-blue svg{
    fill: #409EFF;
}

.btn-grey{
    color: #555;
    background-color: #f4f4f5;
    border-color: #d3d4d6;
}

.btn-grey svg{
    fill: #555;
}

.btn-orange{
    color: #E6A23C;
    background: #fdf6ec;
    border-color: #f5dab1;
}

.btn-orange svg{
    fill: #E6A23C;
}


.btn-green{
    color: #67C23A;
    background: #f0f9eb;
    border-color: #c2e7b0;
}

/* 关键动画：扩散 + 淡出 */
@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.4;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/*文本框样式*/
.input-text {
    border: solid 1px #ddd;
    background-color: var(--main-bg);
    min-width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    font-family: var(--font-simple);
    outline: none;
    font-size: 14px;
}

.input-text:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), /* 主题色内影 */ 0 0 0 2px rgba(90, 77, 248, 0.1); /* 外发光点缀（可选） */
}

/*富文本样式*/
.textarea-text {
    border: solid 1px #ddd;
    background-color: var(--main-bg);
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    min-height: 430px;
    line-height: 30px;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: var(--font-simple);
    outline: none;
    font-size: 14px;
    resize: none;
}

.textarea-text:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), /* 主题色内影 */ 0 0 0 2px rgba(90, 77, 248, 0.1); /* 外发光点缀（可选） */
}

/*辅助信息*/
.table-container {
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-simple);
    font-size: 14px;
}

.table-container th,
.table-container td {
    padding: 12px 10px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.table-container thead th {
    font-weight: 600;
}

.table-container tbody tr:nth-child(odd) {
    background-color: #fbfbff;
}

.table-container tbody tr:hover {
    background-color: var(--main-bg);
}

.table-container .code-line {
    border: solid 1px var(--border-color);
    background-color: #ebeef2;
    padding: .55em 1em;
}

.table-container .code-line code {
    font-family: var(--font-simple);
}

@media (max-width: 768px) {
    .tool-content{
        padding: .8em !important;
    }

    .operate-buttons .btn{
        line-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
    }

    .tool-content .mobile-item label span{
        height: 16px !important;
        padding: 0 4px !important;
        margin: 0 2px !important;
        font-size: 12px !important;
    }
}