/**
 * 自媒体工具箱全局样式
 */

/* 工具箱全局布局 */
.toolkit-container {
    max-width: 1400px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
    padding: 0 20px;
    min-height: calc(100vh - 300px);
}

.toolkit-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.toolkit-content {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* 菜单样式 */
.toolkit-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toolkit-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.toolkit-menu li:last-child {
    border-bottom: none;
}

.toolkit-menu a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.toolkit-menu a:hover {
    background: #f9f9f9;
    color: #07C160;
}

.toolkit-menu a.active {
    background: linear-gradient(135deg, #e8f7ed 0%, #f0fff4 100%);
    color: #07C160;
    font-weight: 600;
    border-left: 4px solid #07C160;
}

.toolkit-menu-icon {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

/* 会员信息卡片 */
.toolkit-membership-info {
    padding: 20px;
    background: linear-gradient(135deg, #fffae6 0%, #fff9f0 100%);
    border-top: 1px solid #f5f5f5;
}

.membership-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.badge-icon {
    font-size: 18px;
    margin-right: 8px;
}

.membership-days-left {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.membership-days-left strong {
    color: #07C160;
    font-size: 18px;
}

.membership-end-date {
    text-align: center;
    color: #999;
    font-size: 12px;
}

.buy-btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #07C160 0%, #05a850 100%);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .toolkit-container {
        flex-direction: column;
    }
    
    .toolkit-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}
