/* 智能采集系统样式 */

.cost-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.stat-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
}

.stat-value.burst {
    color: #ef4444;
}

.cost-estimate {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.cost-estimate h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.estimate-row:last-child {
    border-bottom: none;
}

.estimate-row .primary {
    color: var(--primary);
    font-size: 18px;
}

.package-suggestion {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.package-suggestion h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--ink);
}

.package-suggestion ul {
    margin: 12px 0;
    padding-left: 20px;
}

.package-suggestion li {
    margin: 8px 0;
}

.collection-details {
    width: 100%;
    border-collapse: collapse;
}

.collection-details th,
.collection-details td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.collection-details th {
    font-weight: 600;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.collection-details tbody tr:hover {
    background: var(--panel);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge.success {
    background: #d1fae5;
    color: #065f46;
}

.badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.badge.error {
    background: #fee2e2;
    color: #991b1b;
}

.collection-config-detail {
    padding: 20px;
}

.collection-config-detail h3 {
    margin: 20px 0 12px;
    font-size: 16px;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.config-item {
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.config-item label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.config-item div {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.collection-logs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.collection-logs th,
.collection-logs td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.collection-logs th {
    font-weight: 600;
    color: var(--muted);
}

.creator-collection-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
