/**
 * OToken Proxy 管理面板样式
 */

/* 页面内容切换 */
.page-content {
    display: none;
    padding: 15px;
}
.page-content.active {
    display: block;
}

/* 卡片样式 */
.layui-card {
    margin-bottom: 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.layui-card-header {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    color: #333;
}
.layui-card-header .card-title {
    font-size: 15px;
}
.layui-card-header .card-title i {
    margin-right: 6px;
    color: #1E9FFF;
}

/* elper 页 */
.help-steps {
    padding-left: 20px;
    line-height: 2.2;
}
.help-steps li {
    margin-bottom: 8px;
}
.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
}

/* 状态点 */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}
.status-dot.online { background: #5FB878; }
.status-dot.offline { background: #FF5722; }

/* 模型编辑器 */
#model-editor {
    background: #fafafa;
}
.model-row:hover {
    background: #f0f7ff;
    border-radius: 4px;
    padding: 3px;
}

/* Badge 扩展 */
.layui-badge {
    height: 20px;
    line-height: 20px;
}

/* 按钮组 */
.layui-btn-group .layui-btn+.layui-btn {
    margin-left: 4px;
}

/* 表格优化 */
.layui-table-view {
    border: none;
}

/* Code inline */
code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: #e83e8c;
}

/* Layui 侧边栏图标 */
.layui-nav-tree .layui-nav-item a i {
    margin-right: 8px;
}

/* fieldset 间距 */
.layui-elem-field {
    margin-bottom: 20px;
}

/* 输入组（输入框+按钮） */
.layui-input-group {
    display: flex;
    align-items: stretch;
}
.layui-input-group .layui-input {
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.layui-input-group .layui-btn {
    white-space: nowrap;
    border-radius: 0 4px 4px 0;
}

/* 提示信息 */
.layui-form-mid.layui-word-aux {
    float: none;
    margin-left: 0;
    padding-left: 0;
    display: block;
    color: #999;
    font-size: 12px;
}
