/* 插件分组导航 */
.plugin-groups-nav {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.plugin-groups-nav .nav-pills {
    gap: 10px;
}

.plugin-groups-nav .nav-link {
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.plugin-groups-nav .nav-link:hover {
    color: #3498db;
    background-color: rgba(52,152,219,0.1);
}

.plugin-groups-nav .nav-link.active {
    background-color: #3498db;
    color: white;
}

/* 插件卡片样式 */
.plugin-card {
    transition: all 0.3s ease;
    height: 100%;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.plugin-card .card-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.plugin-card .card-title i {
    margin-right: 8px;
    color: #3498db;
}

.plugin-card .credits-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 收藏按钮样式 */
.favorite-btn {
    padding: 0;
    background: none;
    border: none;
    color: #ccc;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ffc107;
}

/* 订阅按钮样式 */
.exchange-btn {
    padding: 4px 12px;
    font-size: 0.875rem;
}

/* 使用按钮样式 */
.use-btn {
    padding: 4px 12px;
    font-size: 0.875rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plugin-card {
    animation: fadeIn 0.3s ease;
}

/* 插件表单样式 */
textarea.form-control {
    font-family: monospace;
    resize: vertical;
}

/* 插件统计样式 */
.display-4 {
    font-weight: 300;
    color: #3498db;
}

dl.row dt {
    color: #7f8c8d;
}

/* 插件信息样式 */
.plugin-info .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.plugin-info .card-title i {
    margin-right: 0.5rem;
    color: #3498db;
}

/* 侧边栏页面统一灰色底（首页 / 我的应用 / 个人中心 / 模型设置 / 本地设置等） */
body.with-sidebar:has(.sidebar-gray-page) main,
body.with-sidebar:has(.my-apps-page) main,
body.with-sidebar:has(.profile-page) main {
    background-color: #dee2e6;
}

.with-sidebar .main-content:has(.sidebar-gray-page),
.with-sidebar .main-content:has(.my-apps-page),
.with-sidebar .main-content:has(.profile-page) {
    background-color: #dee2e6 !important;
}

.sidebar-gray-page,
.my-apps-page {
    background: transparent;
    min-height: auto;
}

.sidebar-gray-page .page-title,
.my-apps-page .page-title {
    color: #333;
}

.sidebar-gray-page .card,
.my-apps-page .card {
    background-color: #fff;
    border: 1px solid #e3e6ea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sidebar-gray-page .card:hover,
.my-apps-page .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
} 