/* API Section Styles */
.api-section {
    margin: 4rem 0;
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.api-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.api-header .section-title {
    margin: 0;
    font-size: 1.5rem;
    text-align: left;
}

.api-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-indicator {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.results-container {
    min-height: 200px;
    max-height: 500px;
    overflow-y: auto;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* API Result Item */
.tender-item {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.tender-item:hover {
    transform: translateX(5px);
}

.tender-item.insurance-match {
    border-left-color: var(--accent-color);
    background: #f0f9ff;
}

.tender-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tender-item .meta {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tender-item .tag {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.tender-item.insurance-match .tag {
    background: var(--accent-color);
    color: white;
}