/* 游戏云列表页面样式（复用 rcs-list.css 基础样式，仅补充专属样式） */

/* 表格内小字辅助信息（主机名、套餐标识、机型） */
.rgs-sub-text {
    display: inline-block;
    font-size: 11px;
    color: #95a5a6;
    margin-top: 2px;
}

/* 备注文本 */
.rgs-tag-text {
    margin-right: 6px;
}

/* 修改备注按钮 */
.rgs-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;
}

.rgs-edit-tag:hover {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
}

/* 操作列按钮 */
.rgs-action-cell {
    white-space: nowrap;
}

.rgs-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;
}

.rgs-op-btn:last-child {
    margin-right: 0;
}

/* 详情按钮 */
.rgs-op-detail {
    color: #fff;
    background: #667eea;
    border-color: #667eea;
}

.rgs-op-detail:hover {
    background: #5a6fd6;
    border-color: #5a6fd6;
}

/* 分配按钮（管理员） */
.rgs-op-assign {
    color: #fff;
    background: #28a745;
    border-color: #28a745;
}

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

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

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

/* 试用标记 */
.rgs-try-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    font-size: 11px;
    color: #e67e22;
    background: #fdf2e9;
    border: 1px solid #fad7a5;
    border-radius: 10px;
}

/* 加载状态 */
.rgs-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);
}

.rgs-loading p {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 16px;
}

.rgs-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: rgs-spin 0.8s linear infinite;
}

@keyframes rgs-spin {
    to {
        transform: rotate(360deg);
    }
}

/* 导航栏激活状态 */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 4px;
}

/* 统计栏类型文字配色 */
.rgs-type-vps-text { color: #2563eb; }
.rgs-type-panel-text { color: #7c3aed; }
.rgs-type-mc-text { color: #059669; }
