/* 会员状态和开通按钮样式 */
.ai-work-summary-member-status {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* 使用信息样式 */
.ai-work-summary-usage-info {
    flex: 1;
    min-width: 200px;
}

.ai-work-summary-usage-level {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.usage-level-label {
    font-weight: 500;
    margin-right: 5px;
}

.usage-level-value {
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 8px;
    color: #fff;
    background-color: #6c757d;
}

.usage-level-value.游客 {
    background-color: #6c757d;
}

.usage-level-value.免费用户 {
    background-color: #6c757d;
}

.usage-level-value.普通会员 {
    background-color: #007bff;
}

.usage-level-value.vip会员 {
    background-color: #ffc107;
    color: #212529;
}

.usage-days-left {
    font-size: 12px;
    margin-left: 5px;
    font-weight: normal;
    opacity: 0.8;
}

.ai-work-summary-usage-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.usage-limit-item {
    display: flex;
    align-items: center;
}

.usage-limit-label {
    margin-right: 5px;
    font-size: 14px;
    color: #495057;
}

.usage-limit-value {
    font-weight: 600;
    font-size: 14px;
    color: #28a745;
}

.usage-limit-value.limit-reached {
    color: #dc3545;
}

/* 限制信息和开通按钮样式 */
.ai-work-summary-limit-message,
.ai-work-summary-upgrade-message,
.ai-work-summary-login-message {
    text-align: right;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ai-work-summary-limit-message p,
.ai-work-summary-upgrade-message p,
.ai-work-summary-login-message p {
    margin: 0 0 10px;
    font-weight: 500;
    color: #495057;
}

.ai-member-action-btn,
.ai-member-login-btn {
    display: inline-block;
    font-weight: 500;
    color: #fff;
    background-color: #f86422;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    border: none;
    transition: all 0.15s ease-in-out;
}

.ai-member-action-btn:hover,
.ai-member-login-btn:hover {
    background-color: #e94e00;
    text-decoration: none;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-work-summary-member-status {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ai-work-summary-limit-message,
    .ai-work-summary-upgrade-message,
    .ai-work-summary-login-message {
        margin-top: 15px;
        text-align: center;
        align-items: center;
    }
    
    .ai-work-summary-usage-info {
        width: 100%;
    }
}
