/* 卡片样式 */
.tool-card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}
/* 调用次数样式 */
.tool-call-count {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.tool-call-count i {
    margin-right: 5px;
    color: #1a73e8;
}

.call-count-badge {
    padding: 2px 8px;
    background-color: #f0f7ff;
    border-radius: 10px;
    border: 1px solid #d0e3ff;
}
.tool-link {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.tool-title {
    flex: 1;
}

.tool-name {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-description {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-status {
    display: flex;
    align-items: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-text {
    font-size: 12px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.status-text.active {
    color: #28a745;
}

.status-text.inactive {
    color: #dc3545;
}

.free-badge {
    font-size: 12px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white;
    background: #52c41a;
    border: 1px solid #389e0d;
    padding: 0 4px;
    border-radius: 4px;
}

.paid-badge {
    font-size: 12px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: white;
    background: #fa8c16;
    border: 1px solid #d46b08;
    padding: 0 4px;
    border-radius: 4px;
}

/* 动画效果 */
@keyframes status-pulse-normal {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(40, 167, 69, .7) }
    50% { opacity: .8; box-shadow: 0 0 0 6px rgba(40, 167, 69, 0) }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40, 167, 69, 0) }
}

@keyframes status-pulse-warning {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 53, 69, .7) }
    100% { opacity: .6; box-shadow: 0 0 0 8px rgba(220, 53, 69, 0) }
}
