/* 物理服务器列表页面样式（复用 rcs-list.css 基础样式，仅补充专属样式） */

/* 表格内小字辅助信息（机器编号、机型标识） */
.rbm-sub-text {
    display: inline-block;
    font-size: 11px;
    color: #95a5a6;
    margin-top: 2px;
}

/* 备注文本 */
.rbm-tag-text {
    margin-right: 6px;
}

/* 修改备注标签按钮 */
.rbm-edit-tag {
    display: inline-block;
    padding: 1px 8px;
    font-size: 12px;
    color: #667eea;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.rbm-edit-tag:hover {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
}

/* 操作列按钮 */
.rbm-action-cell {
    white-space: nowrap;
}

.rbm-op-btn {
    display: inline-block;
    padding: 4px 12px;
    margin-right: 6px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    user-select: none;
}

.rbm-op-btn:last-child {
    margin-right: 0;
}

/* 详情按钮 */
.rbm-op-detail {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
}

.rbm-op-detail:hover {
    background: #5a6fd6;
    border-color: #5a6fd6;
}

/* 分配按钮（管理员） */
.rbm-op-assign {
    color: #fff;
    background: #28a745;
    border-color: #28a745;
}

.rbm-op-assign:hover {
    background: #218838;
    border-color: #218838;
}

/* 解绑按钮（管理员） */
.rbm-op-unbind {
    color: #fff;
    background: #6c757d;
    border-color: #6c757d;
}

.rbm-op-unbind:hover {
    background: #5a6268;
    border-color: #5a6268;
}

/* 加载状态 */
.rbm-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rbm-loading p {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 16px;
}

.rbm-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: rbm-spin 0.8s linear infinite;
}

@keyframes rbm-spin {
    to {
        transform: rotate(360deg);
    }
}



/* 导航栏激活状态 */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 4px;
}
