.cacs-card {
    border-radius: 16px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cacs-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cacs-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(12, 156, 156, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.cacs-card-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cacs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cacs-list li {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    background: #f9fafb;
}

.cacs-list strong {
    display: block;
    color: var(--text-primary);
}

.cacs-list .suplente {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cacs-doc-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.doc-card {
    text-decoration: none;
    color: inherit;
}

.doc-card-body {
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.doc-card-body:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.doc-icon.bg-primary-soft {
    background: rgba(34, 139, 34, 0.12);
}

.search-wrapper {
    min-width: 280px;
}

@media (max-width: 768px) {
    .search-wrapper {
        width: 100%;
    }
}

