.gateway-show {

    .card-container{
        width: calc(100% - 200px);
        margin-left: 40px;
    }

    .card-nav {
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        font-weight: bold;
    }

    .card-desc {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        font-weight: normal;
        color: #888888;
        margin-bottom: 15px
    }

    .card-attr {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        padding-bottom: 10px;
    }

    .card-text {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        padding-bottom: 10px;
        color: #888888;
    }

    .scrollable-area {
        overflow: auto;
        scrollbar-width: thin; /* 设置滚动条宽度为细型 */
        -ms-overflow-style: auto; /* 恢复IE/Edge的默认滚动条 */
        height: 40vh;
        padding: 20px;
        border: 1px solid #e1e3e8;
    }

    /* WebKit浏览器滚动条样式 */
    .scrollable-area::-webkit-scrollbar {
        width: 8px; /* 垂直滚动条宽度 */
        height: 8px; /* 水平滚动条高度 */
    }

    .scrollable-area::-webkit-scrollbar-track {
        background: #f1f3f6; /* 滚动条轨道背景色 */
        border-radius: 4px; /* 轨道圆角 */
    }

    .scrollable-area::-webkit-scrollbar-thumb {
        background: #c4c9d6; /* 滚动条滑块颜色 */
        border-radius: 4px; /* 滑块圆角 */
        transition: background 0.2s; /* 添加过渡动画 */
    }

    .scrollable-area::-webkit-scrollbar-thumb:hover {
        background: #a8b0c3; /* 悬停时颜色加深 */
    }

    /* IE/Edge滚动条颜色（有限支持） */
    .scrollable-area {
        scrollbar-color: #c4c9d6 #f1f3f6; /* 滑块颜色 轨道颜色 */
    }

    .gateway-icon {
        font-size: 40px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin-right: 10px
    }

    .gateway-message {
        width: calc(70% - 80px);
        font-size: 12px;
        line-height: 20px;
        color: #ffffff;
        padding: 10px;
        word-break: break-all; /* 强制任意位置断词 */
        hyphens: auto; /* 自动添加连字符（需浏览器支持） */
        overflow-x: hidden; /*  隐藏横向溢出内容 */
        margin-bottom: 20px;
    }

    .el-textarea__inner {
        border-radius: 0;
        resize: none; /* 禁用调整大小功能 */
        -webkit-resize: none; /* Safari/Chrome */
        -moz-resize: none; /* Firefox */
        -webkit-appearance: none; /* 移除浏览器默认样式 */
        -moz-appearance: none;
        appearance: none;
    }

    .el-textarea__inner:focus {
        border-color: #dcdfe6 !important;
    }

    .send-message {
        position: relative;
    }

    .clean-btn {
        position: absolute;
        bottom: 180px;
        right: 25px;
    }

    .send-btn {
        position: absolute;
        margin-bottom: 0;
        bottom: 15px;
        right: 25px;
    }

    .table-area {
        padding: 20px;
        border: 1px solid #e1e3e8;
    }

    .markdown-container {
        background: #222222;
        margin-bottom: 10px;
        margin-top: 8px;
        padding: 5px 20px;
        color: #dcdada
    }
}

.gateway-create {
    .nav-title-box {
        display: flex;
        align-items: center; /* 垂直居中 */
        justify-content: flex-start; /* 水平靠左 */
    }

    .create-form-item {
        width: 100%;
    }

    .el-button {
        border-radius: 0 !important;
    }

    .scrollable-area {
        padding: 20px;
        border: 1px solid #e1e3e8;
    }

    .card-attr {
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        padding-bottom: 10px;
    }
}